1. 07 2月, 2013 25 次提交
  2. 04 12月, 2012 1 次提交
  3. 29 11月, 2012 3 次提交
  4. 27 11月, 2012 2 次提交
  5. 24 7月, 2012 1 次提交
  6. 30 5月, 2012 1 次提交
    • D
      drivers/leds/leds-lp5521.c: fix lp5521_read() error handling · 5bc9ad77
      Dan Carpenter 提交于
      Gcc 4.6.2 complains that:
      
        drivers/leds/leds-lp5521.c: In function `lp5521_load_program':
        drivers/leds/leds-lp5521.c:214:21: warning: `mode' may be used uninitialized in this function [-Wuninitialized]
        drivers/leds/leds-lp5521.c: In function `lp5521_probe':
        drivers/leds/leds-lp5521.c:788:5: warning: `buf' may be used uninitialized in this function [-Wuninitialized]
        drivers/leds/leds-lp5521.c:740:6: warning: `ret' may be used uninitialized in this function [-Wuninitialized]
      
      These are real problems if lp5521_read() returns an error.  When that
      happens we should handle it, instead of ignoring it or doing a bitwise
      OR with all the other error codes and continuing.
      Signed-off-by: NDan Carpenter <dan.carpenter@oracle.com>
      Cc: Milo <Milo.Kim@ti.com>
      Cc: Richard Purdie <rpurdie@rpsys.net>
      Cc: Bryan Wu <bryan.wu@canonical.com>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      5bc9ad77
  7. 24 3月, 2012 6 次提交
  8. 11 1月, 2012 1 次提交