1. 08 Aug, 2004 5 commits
    • Russell King's avatar
      [ARM] Fix nwflash sparse warnings · bd8270b2
      Russell King authored
      bd8270b2
    • Russell King's avatar
      [ARM] Fix nwbutton sparse warnings · 248b9d35
      Russell King authored
      drivers/char/nwbutton.c:177:24: warning: incorrect type in argument 1 (different address spaces)/home/rmk/bk/linux-2.6-rmk/drivers/char/nwbutton.c:177:24:    expected void [noderef] *to<asn:1>
      drivers/char/nwbutton.c:177:24:    got char *buffer
      drivers/char/nwbutton.c:177:24: warning: incorrect type in initializer (different address spaces)
      drivers/char/nwbutton.c:177:24:    expected void [noderef] *to<asn:1>
      drivers/char/nwbutton.c:177:24:    got char *buffer
      drivers/char/nwbutton.c:189:11: warning: incorrect type in initializer (incompatible argument 2 (different address spaces))
      drivers/char/nwbutton.c:189:11:    expected int [usertype] ( *read )( ... )
      drivers/char/nwbutton.c:189:11:    got int ( static [addressable] [toplevel] *<noident> )( ... )
      248b9d35
    • Russell King's avatar
      [ARM] Fix sparse warnings in ds1620.c · 0a54689e
      Russell King authored
      drivers/char/ds1620.c:230:19: warning: incorrect type in argument 1 (different address spaces)
      drivers/char/ds1620.c:230:19:    expected void [noderef] *to<asn:1>
      drivers/char/ds1620.c:230:19:    got char *buf
      drivers/char/ds1620.c:230:19: warning: incorrect type in initializer (different address spaces)
      drivers/char/ds1620.c:230:19:    expected void [noderef] *to<asn:1>
      drivers/char/ds1620.c:230:19:    got char *buf
      ...
      drivers/char/ds1620.c:383:52: warning: Using plain integer as NULL pointer
      0a54689e
    • Russell King's avatar
      [ARM] Eliminate io.c sparse warnings/ gcc 3.4 errors. · b727c73c
      Russell King authored
      arch/arm/kernel/io.c:15:5: warning: generating address of non-lvalue
      arch/arm/kernel/io.c:15:5: warning: loading unknown expression
      arch/arm/kernel/io.c:29:5: warning: generating address of non-lvalue
      arch/arm/kernel/io.c:29:5: warning: loading unknown expression
      b727c73c
    • Russell King's avatar
      [ARM] Fix sparse warnings in nwfpe. · 749fb94b
      Russell King authored
      This fixes sparse warnings in fpa11_cpdt (coprocessor data transfer)
      instruction emulation.  Note that pointers need to be cast to unsigned
      long not unsigned int, so convert user registers to be unsigned long
      type.
      749fb94b
  2. 07 Aug, 2004 35 commits