1. 09 Aug, 2004 1 commit
    • Jens Axboe's avatar
      [PATCH] adjust SG reserved size automatically · e548ad96
      Jens Axboe authored
      The block layer SG should have the identical behaviour as SCSI sg when
      it comes to SG_SET_RESERVED_SIZE - allow caller to specify a large
      amount, truncate to largest we support, and return that with
      SG_GET_RESERVED_SIZE.  Currently we fail with -EINVAL if the value is
      too large, I think the SCSI sg behaviour is more sane to use.  This
      one-liner fixes it up, please apply for 2.6.8.
      Signed-off-by: default avatarJens Axboe <axboe@suse.de>
      Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
      e548ad96
  2. 08 Aug, 2004 9 commits
    • Linus Torvalds's avatar
      Merge bk://bk.arm.linux.org.uk/linux-2.6-rmk · 4ab06c9a
      Linus Torvalds authored
      into ppc970.osdl.org:/home/torvalds/v2.6/linux
      4ab06c9a
    • Russell King's avatar
      [ARM] Fix wdt977 sparse warnings · 392bfb26
      Russell King authored
      drivers/char/watchdog/wdt977.c:291:9: warning: incorrect type in initializer (different address spaces)
      drivers/char/watchdog/wdt977.c:291:9:    expected char const [noderef] *register __p<asn:1>
      drivers/char/watchdog/wdt977.c:291:9:    got char const *buf
      ...
      392bfb26
    • 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
    • Linus Torvalds's avatar
      ppc64: add user annotations to rtc driver · c25c7712
      Linus Torvalds authored
      c25c7712
    • Linus Torvalds's avatar
      Remove ESPIPE logic from drivers, letting the VFS layer handle it instead. · dc5c7245
      Linus Torvalds authored
      This cleans up and simplifies drivers, and also allows us future
      simplification in the VFS layer, since it removes knowledge about
      internal VFS layer handling of "f_pos".
      dc5c7245
  3. 07 Aug, 2004 30 commits