Skip to content
Snippets Groups Projects
  1. Dec 13, 2012
  2. Dec 11, 2012
  3. Dec 06, 2012
  4. Nov 13, 2012
  5. Nov 04, 2012
    • Kim Phillips's avatar
      lib/vsprintf.c: sparse fixes · 0eb25768
      Kim Phillips authored
      
      vsprintf.c:31:12: warning: symbol 'hex_asc' was not declared. Should it be static?
      vsprintf.c:398:18: warning: Using plain integer as NULL pointer
      
      Signed-off-by: default avatarKim Phillips <kim.phillips@freescale.com>
      0eb25768
    • Kim Phillips's avatar
      lib/zlib: sparse fixes · ee820b5e
      Kim Phillips authored
      
      define Z_NULL to (void *)0 include/u-boot/zlib.h to get rid of most of
      the NULL pointer warnings.
      
      inflate.c:942:1: warning: non-ANSI definition of function 'inflateEnd'
      inflate.c:9:1: warning: non-ANSI definition of function 'inflateReset'
      inflate.c:12:17: warning: Using plain integer as NULL pointer
      inflate.c:12:42: warning: Using plain integer as NULL pointer
      inflate.c:15:17: warning: Using plain integer as NULL pointer
      inflate.c:21:19: warning: Using plain integer as NULL pointer
      inflate.c:35:1: warning: non-ANSI definition of function 'inflateInit2_'
      inflate.c:38:20: warning: Using plain integer as NULL pointer
      inflate.c:41:17: warning: Using plain integer as NULL pointer
      inflate.c:42:17: warning: Using plain integer as NULL pointer
      inflate.c:50:18: warning: Using plain integer as NULL pointer
      inflate.c:65:23: warning: Using plain integer as NULL pointer
      inflate.c:69:21: warning: Using plain integer as NULL pointer
      inflate.c:78:1: warning: non-ANSI definition of function 'inflateInit_'
      inflate.c:86:1: warning: non-ANSI definition of function 'fixedtables'
      inflate.c:108:26: warning: Using plain integer as NULL pointer
      inflate.c:109:1: warning: non-ANSI definition of function 'updatewindow'
      inflate.c:112:30: warning: Using plain integer as NULL pointer
      inflate.c:339:1: warning: non-ANSI definition of function 'inflate'
      inflate.c:349:17: warning: Using plain integer as NULL pointer
      inflate.c:349:42: warning: Using plain integer as NULL pointer
      inflate.c:350:27: warning: Using plain integer as NULL pointer
      inflate.c:369:42: warning: Using plain integer as NULL pointer
      inflate.c:376:32: warning: Using plain integer as NULL pointer
      inflate.c:401:54: warning: Using plain integer as NULL pointer
      inflate.c:419:32: warning: Using plain integer as NULL pointer
      inflate.c:426:32: warning: Using plain integer as NULL pointer
      inflate.c:433:32: warning: Using plain integer as NULL pointer
      inflate.c:444:36: warning: Using plain integer as NULL pointer
      inflate.c:449:37: warning: Using plain integer as NULL pointer
      inflate.c:450:38: warning: Using plain integer as NULL pointer
      inflate.c:457:40: warning: Using plain integer as NULL pointer
      inflate.c:458:47: warning: Using plain integer as NULL pointer
      inflate.c:480:40: warning: Using plain integer as NULL pointer
      inflate.c:481:50: warning: Using plain integer as NULL pointer
      inflate.c:491:37: warning: Using plain integer as NULL pointer
      inflate.c:492:37: warning: Using plain integer as NULL pointer
      inflate.c:501:40: warning: Using plain integer as NULL pointer
      inflate.c:502:53: warning: Using plain integer as NULL pointer
      inflate.c:512:37: warning: Using plain integer as NULL pointer
      inflate.c:513:40: warning: Using plain integer as NULL pointer
      inflate.c:525:32: warning: Using plain integer as NULL pointer
      inflate.c:529:52: warning: Using plain integer as NULL pointer
      inflate.c:543:54: warning: Using plain integer as NULL pointer
      inflate.c:932:17: warning: Using plain integer as NULL pointer
      inflate.c:932:42: warning: Using plain integer as NULL pointer
      inflate.c:935:26: warning: Using plain integer as NULL pointer
      inflate.c:940:19: warning: Using plain integer as NULL pointer
      adler32.c:58:5: warning: non-ANSI definition of function 'adler32'
      adler32.c:81:16: warning: Using plain integer as NULL pointer
      zutil.c:53:9: warning: non-ANSI definition of function 'zcalloc'
      zutil.c:64:9: warning: non-ANSI definition of function 'zcfree'
      inffast.c:70:1: warning: non-ANSI definition of function 'inflate_fast'
      inftrees.c:33:1: warning: non-ANSI definition of function 'inflate_table'
      
      Signed-off-by: default avatarKim Phillips <kim.phillips@freescale.com>
      ee820b5e
  6. Nov 02, 2012
  7. Oct 16, 2012
    • Gerald Van Baren's avatar
      libfdt: Add helper function to create a trivial, empty tree · c71b64f3
      Gerald Van Baren authored
      
      The libfdt read/write functions are now usable enough that it's become a
      moderately common pattern to use them to build and manipulate a device
      tree from scratch.  For example, we do so ourself in our rw_tree1 testcase,
      and qemu is starting to use this model when building device trees for some
      targets such as e500.
      
      However, the read/write functions require some sort of valid tree to begin
      with, so this necessitates either having a trivial canned dtb to begin with
      or, more commonly, creating an empty tree using the serial-write functions
      first.
      
      This patch adds a helper function which uses the serial-write functions to
      create a trivial, empty but complete and valid tree in a supplied buffer,
      ready for manipulation with the read/write functions.
      
      Signed-off-by: default avatarDavid Gibson <david@gibson.dropbear.id.au>
      
      From git://git.jdl.com/software/dtc.git
      
       patch hash be6026838 with
      adaptations to include/libfdt.h and lib/libfdt/Makefile for the U-Boot
      environment.
      
      Signed-off-by: default avatarGerald Van Baren <vanbaren@cideas.com>
      c71b64f3
  8. Oct 15, 2012
  9. Oct 01, 2012
  10. Sep 29, 2012
  11. Sep 21, 2012
  12. Sep 18, 2012
  13. Sep 07, 2012
  14. Aug 10, 2012
  15. Jul 07, 2012
Loading