]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
[SCSI] esp_scsi: Make cur_residue and tot_residue signed.
authorDavid S. Miller <davem@davemloft.net>
Sat, 19 Apr 2008 14:16:38 +0000 (09:16 -0500)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Sun, 27 Apr 2008 15:03:16 +0000 (10:03 -0500)
commit582fb6c03a0e89d05e4efa8a3e4bd09d0942dadc
treef3258dad0ba51b4b7621a5c17bb8f1fb9b2437ce
parente19166d5df10be0ea404c4e346cf6be93bfb1d63
[SCSI] esp_scsi: Make cur_residue and tot_residue signed.

Many of the overflow checks test whether the value has
gone negative, and we want to retain such checks.

Reported by Julia Lawall.

Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
drivers/scsi/esp_scsi.h