1. 17 Nov, 2006 2 commits
  2. 12 Nov, 2006 1 commit
  3. 29 Oct, 2006 1 commit
  4. 28 Oct, 2006 1 commit
  5. 23 Oct, 2006 2 commits
  6. 15 Oct, 2006 1 commit
  7. 14 Oct, 2006 1 commit
  8. 13 Oct, 2006 1 commit
  9. 12 Oct, 2006 1 commit
  10. 11 Oct, 2006 1 commit
    • Jeff Garzik's avatar
      [WATCHDOG] watchdog/iTCO_wdt: fix bug related to gcc uninit warning · 80060362
      Jeff Garzik authored
      gcc emits the following warning:
      
      drivers/char/watchdog/iTCO_wdt.c: In function ‘iTCO_wdt_ioctl’:
      drivers/char/watchdog/iTCO_wdt.c:429: warning: ‘time_left’ may be used uninitialized in this function
      
      This indicates a condition near enough to a bug, to want to fix.
      iTCO_wdt_get_timeleft() stores a value in 'time_left' iff
      iTCO_version==(1 or 2).  This driver only supports versions
      1 or 2, so this is ok.  However, since (a) the return value of
      iTCO_wdt_get_timeleft() is handled anyway, (b) it fixes the warning,
      and (c) it future-proofs the driver, we go ahead and add the obvious
      return value.
      Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
      Signed-off-by: default avatarWim Van Sebroeck <wim@iguana.be>
      Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
      80060362
  11. 08 Oct, 2006 2 commits
  12. 07 Oct, 2006 1 commit
  13. 04 Oct, 2006 25 commits