Skip to content
Snippets Groups Projects
  1. Jan 17, 2010
  2. Jan 15, 2010
    • Wolfgang Denk's avatar
      malloc: return NULL if not initialized yet · 27405448
      Wolfgang Denk authored
      
      When malloc() was called before it was properly initialized
      (as would happen if when used before relocation to RAM) it returned
      random, non-NULL values, which called all kinds of difficult to debug
      subsequent errors.
      
      Make sure to return NULL when initialization was not done yet.
      
      Signed-off-by: default avatarWolfgang Denk <wd@denx.de>
      27405448
    • Wolfgang Denk's avatar
      JFFS2: drop support for LZARI compression mode · f0983371
      Wolfgang Denk authored
      
      Support for LZARI compression mode was added based on a MTD CVS
      snapshot of March 13, 2005. However, fs/jffs2/compr_lzari.c contains
      contradictory licensing terms: the original copyright clause says "All
      rights reserved. Permission granted for non-commercial use.", but
      later reference to the file 'LICENCE' in the jffs2 directory was added
      which says GPL v2 or later.
      
      As no boards ever used LZARI compression, and this file is also not
      present in recent MTD code, we resolve this conflict by removing the
      conflicting file and references to it.
      
      Also copy the referenced but missing file 'LICENCE' from the current
      MTD source tree.
      
      Signed-off-by: default avatarWolfgang Denk <wd@denx.de>
      f0983371
  3. Jan 12, 2010
Loading