aboutsummaryrefslogtreecommitdiff
path: root/include/linux/timerqueue.h
diff options
context:
space:
mode:
authorAdrian Bunk <[email protected]>2007-11-14 16:59:02 -0800
committerLinus Torvalds <[email protected]>2007-11-14 18:45:38 -0800
commita9e60e5c3c4721dd216047e4c58c4eb89789f519 (patch)
tree889d05f1bcee8050500274f6ce695d038ee8c744 /include/linux/timerqueue.h
parent43054412db5e5b3eda1eff6c2245ff4257560340 (diff)
video/sis/: fix negative array index
This patch fixes the possible usage of a negative value as an array index spotted by the Coverity checker. sisfb_validate_mode() could return a negative error code and we must check for that prior to using its return value as an array index. Signed-off-by: Adrian Bunk <[email protected]> Cc: Thomas Winischhofer <[email protected]> Cc: "Antonino A. Daplas" <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions