Skip to content
Snippets Groups Projects
  1. Jan 19, 2015
  2. Jan 15, 2015
  3. Jan 13, 2015
  4. Jan 11, 2015
    • Andreas Bießmann's avatar
      tools/kwbimage.c: fix parser error handling · f411b8f2
      Andreas Bießmann authored
      
      The two error checks for image_boot_mode_id and image_nand_ecc_mode_id where
      wrong and would never fail, fix that!
      
      This was detected by Apple's clang compiler:
      ---8<---
        HOSTCC  tools/kwbimage.o
      tools/kwbimage.c:553:20: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare]
                      if (el->bootfrom < 0) {
                          ~~~~~~~~~~~~ ^ ~
      tools/kwbimage.c:571:23: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare]
                      if (el->nandeccmode < 0) {
                          ~~~~~~~~~~~~~~~ ^ ~
      2 warnings generated.
      --->8---
      
      Signed-off-by: default avatarAndreas Bießmann <andreas.devel@googlemail.com>
      Acked-By: default avatarJeroen Hofstee <jeroen@myspectrum.nl>
      f411b8f2
  5. Jan 10, 2015
  6. Dec 29, 2014
  7. Dec 19, 2014
  8. Dec 14, 2014
  9. Dec 11, 2014
  10. Nov 27, 2014
  11. Nov 25, 2014
  12. Nov 21, 2014
  13. Nov 20, 2014
  14. Nov 10, 2014
Loading