summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndy Polyakov <appro@fy.chalmers.se>2004-09-07 17:49:59 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2004-09-07 17:49:59 -0700
commitc1b76a2b004bbba387a7c6d26b29434a905bc058 (patch)
tree2f921558278f3b972d228705d9caa1c73c97e149 /include
parent0cc0515ba0065510d98fae9f1e67d6a502599fd6 (diff)
[PATCH] cdrom signedness range fixes
Fix a few range checks which aren't working right because if (int < sizeof(...)) does the wrong thing if `int' is negative, due to `sizeof' returning unsigned. In addition to comparisons, the patch makes CDROMVOL* ioctl more robust. Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions