]> git.baikalelectronics.ru Git - kernel.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)
commit91b35ad91aeec4fe19f34eca02f3f154f7561e77
treef3258dad0ba51b4b7621a5c17bb8f1fb9b2437ce
parente42d25108bb54e132f48b15299bd2dc3981d6701
[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