d93c2efc93
This fixes coverity bug id #473. After the for loop i==16 if we didn't find a cdrom. So we should check for i==16 first before checking the array element. Signed-off-by: Eric Sesterhenn <snakebyte@gmx.de> Cc: Jens Axboe <axboe@suse.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org> |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
aztcd.c | ||
aztcd.h | ||
cdrom.c | ||
cdu31a.c | ||
cdu31a.h | ||
cm206.c | ||
cm206.h | ||
gscd.c | ||
gscd.h | ||
isp16.c | ||
isp16.h | ||
mcdx.c | ||
mcdx.h | ||
optcd.c | ||
optcd.h | ||
sbpcd.c | ||
sbpcd.h | ||
sjcd.c | ||
sjcd.h | ||
sonycd535.c | ||
sonycd535.h | ||
viocd.c |