]> git.baikalelectronics.ru Git - kernel.git/commit
This patch fixes in st.c the bug in the signed/unsigned int comparison
authorJames Bottomley <jejb@mulgrave.(none)>
Thu, 1 Sep 2005 00:27:22 +0000 (20:27 -0400)
committerJames Bottomley <jejb@mulgrave.(none)>
Mon, 5 Sep 2005 00:45:59 +0000 (19:45 -0500)
commitb0f3c1cc76780b7c7436e55cb2dfd4cdec16fc7b
tree4f003966a42737e4ba347589ff15f460072597c5
parent4344cbf7778672fc34b5d450e825e67902fd48c8
This patch fixes in st.c the bug in the signed/unsigned int comparison
reported by Doug Gilbert and fixed by him in sg.c (see [PATCH] sg direct
io/mmap oops). Doug fixed the comparison in sg.c. This fix for st.c does not
touch the comparison but makes both arguments signed to remove the
problem. The new code is adapted from linux/fs/bio.c.

Signed-off-by: Kai Makisara <kai.makisara@kolumbus.fi>
Rejections fixed up and

Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/st.c