1. 21 11月, 2008 3 次提交
  2. 07 8月, 2008 1 次提交
  3. 06 8月, 2008 1 次提交
    • W
      [WATCHDOG] Coding style - Indentation - part 2 · 0c06090c
      Wim Van Sebroeck 提交于
      This brings the watchdog drivers into line with coding style.
      This patch takes cares of the indentation as described in chapter 1.
      Main changes:
      * Re-structure the ioctl switch call for all drivers as follows:
      	switch (cmd) {
      	case WDIOC_GETSUPPORT:
      	case WDIOC_GETSTATUS:
      	case WDIOC_GETBOOTSTATUS:
      	case WDIOC_GETTEMP:
      	case WDIOC_SETOPTIONS:
      	case WDIOC_KEEPALIVE:
      	case WDIOC_SETTIMEOUT:
      	case WDIOC_GETTIMEOUT:
      	case WDIOC_GETTIMELEFT:
      	default:
      	}
      
      This to make the migration from the drivers to the uniform watchdog
      device driver easier in the future.
      Signed-off-by: NWim Van Sebroeck <wim@iguana.be>
      0c06090c
  4. 28 5月, 2008 1 次提交
  5. 25 5月, 2008 1 次提交
  6. 03 11月, 2007 3 次提交
  7. 27 10月, 2007 1 次提交
  8. 18 10月, 2007 1 次提交
  9. 27 7月, 2007 3 次提交
  10. 12 5月, 2007 1 次提交
  11. 13 2月, 2007 1 次提交
  12. 28 1月, 2007 1 次提交
  13. 13 11月, 2006 1 次提交
  14. 12 10月, 2006 1 次提交
    • J
      [WATCHDOG] watchdog/iTCO_wdt: fix bug related to gcc uninit warning · 80060362
      Jeff Garzik 提交于
      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: NJeff Garzik <jeff@garzik.org>
      Signed-off-by: NWim Van Sebroeck <wim@iguana.be>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      80060362
  15. 09 10月, 2006 2 次提交
  16. 04 10月, 2006 6 次提交