1. 23 Sep, 2008 2 commits
    • Ben Dooks's avatar
      [WATCHDOG] wdt285: fix sparse warnings · edf86c9b
      Ben Dooks authored
      The wdt285.c watchdog driver is producing a number of
      sparse errors due to missing __user attributes to calls
      to put_user and copy_to_user, as well as in the prototype
      of watchdog_write.
      
      wdt285.c:144:21: warning: incorrect type in argument 1 (different address spaces)
      wdt285.c:144:21:    expected void [noderef] <asn:1>*to
      wdt285.c:144:21:    got void *<noident>
      wdt285.c:150:9: warning: incorrect type in initializer (different address spaces)
      wdt285.c:150:9:    expected int const [noderef] <asn:1>*register __p
      wdt285.c:150:9:    got int *<noident>
      wdt285.c:159:9: warning: incorrect type in initializer (different address spaces)
      wdt285.c:159:9:    expected int const [noderef] <asn:1>*register __p
      wdt285.c:159:9:    got int *<noident>
      wdt285.c:174:9: warning: incorrect type in initializer (different address spaces)
      wdt285.c:174:9:    expected int const [noderef] <asn:1>*register __p
      wdt285.c:174:9:    got int *<noident>
      wdt285.c:183:12: warning: incorrect type in initializer (incompatible argument 2 (different address spaces))
      wdt285.c:183:12:    expected int ( *write )( ... )
      wdt285.c:183:12:    got int ( static [toplevel] *<noident> )( ... )
      Signed-off-by: default avatarBen Dooks <ben-linux@fluff.org>
      Signed-off-by: default avatarWim Van Sebroeck <wim@iguana.be>
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      edf86c9b
    • Akinobu Mita's avatar
      [WATCHDOG] ibmasr: remove unnecessary spin_unlock() · 7f605ac0
      Akinobu Mita authored
      __asr_toggle() is always called with asr_lock held.
      But there is unnecessary spin_unlock() call in __asr_toggle().
      Signed-off-by: default avatarAkinobu Mita <akinobu.mita@gmail.com>
      Signed-off-by: default avatarWim Van Sebroeck <wim@iguana.be>
      Acked-by: default avatarAndrey Panin <pazke@donpac.ru>
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      7f605ac0
  2. 22 Sep, 2008 3 commits
  3. 21 Sep, 2008 12 commits
  4. 20 Sep, 2008 10 commits
  5. 19 Sep, 2008 13 commits