linux_old1/drivers/char/rio
Dan Carpenter 459ca8b4ed drivers/char/rio/rioctrl.c: off by one error in rioctrl.c
If DownLoad.ProductCode == MAX_PRODUCT, that would be a problem when we do
RIOBootTable[DownLoad.ProductCode] a couple lines down.

Found by smatch (http://repo.or.cz/w/smatch.git).

Signed-off-by: Dan Carpenter <error27@gmail.com>
Cc: Jiri Slaby <jirislaby@gmail.com>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2009-09-24 07:21:03 -07:00
..
Makefile [PATCH] rio driver rework continued #5 2006-03-24 07:33:29 -08:00
board.h [PATCH] rio: more header cleanup 2006-03-24 07:33:28 -08:00
cirrus.h drivers/char/rio/: remove VCS tags 2008-07-20 17:12:35 -07:00
cmdblk.h drivers/char/rio/: remove VCS tags 2008-07-20 17:12:35 -07:00
cmdpkt.h drivers/char/rio/: remove VCS tags 2008-07-20 17:12:35 -07:00
daemon.h drivers/char/rio/: remove VCS tags 2008-07-20 17:12:35 -07:00
errors.h drivers/char/rio/: remove VCS tags 2008-07-20 17:12:35 -07:00
func.h drivers/char/rio/: remove VCS tags 2008-07-20 17:12:35 -07:00
host.h long vs. unsigned long - low-hanging fruits in drivers 2007-10-14 12:41:51 -07:00
link.h [PATCH] Yet more rio cleaning (1 of 2) 2006-03-24 07:33:29 -08:00
linux_compat.h [PATCH] Yet more rio cleaning (1 of 2) 2006-03-24 07:33:29 -08:00
map.h drivers/char/rio/: remove VCS tags 2008-07-20 17:12:35 -07:00
param.h drivers/char/rio/: remove VCS tags 2008-07-20 17:12:35 -07:00
parmmap.h drivers/char/rio/: remove VCS tags 2008-07-20 17:12:35 -07:00
pci.h drivers/char/rio/: remove VCS tags 2008-07-20 17:12:35 -07:00
phb.h [PATCH] Yet more rio cleaning (1 of 2) 2006-03-24 07:33:29 -08:00
pkt.h [PATCH] rio: more header cleanup 2006-03-24 07:33:28 -08:00
port.h [PATCH] trivial annotations in rio 2006-05-27 02:26:14 -04:00
protsts.h drivers/char/rio/: remove VCS tags 2008-07-20 17:12:35 -07:00
rio.h [PATCH] trivial annotations in rio 2006-05-27 02:26:14 -04:00
rio_linux.c headers: smp_lock.h redux 2009-07-12 12:22:34 -07:00
rio_linux.h drivers/char: replace remaining __FUNCTION__ occurrences 2008-04-30 08:29:54 -07:00
rioboard.h drivers/char/rio/: remove VCS tags 2008-07-20 17:12:35 -07:00
rioboot.c drivers: Remove unnecessary inclusions of asm/semaphore.h 2008-04-18 22:16:32 -04:00
riocmd.c gs: use tty_port 2008-07-20 17:12:36 -07:00
rioctrl.c drivers/char/rio/rioctrl.c: off by one error in rioctrl.c 2009-09-24 07:21:03 -07:00
riodrvr.h drivers/char/rio/: remove VCS tags 2008-07-20 17:12:35 -07:00
rioinfo.h drivers/char/rio/: remove VCS tags 2008-07-20 17:12:35 -07:00
rioinit.c drivers/char/rio/: remove VCS tags 2008-07-20 17:12:35 -07:00
riointr.c gs: use tty_port 2008-07-20 17:12:36 -07:00
rioioctl.h [PATCH] Final rio polish 2006-05-15 11:20:57 -07:00
rioparam.c gs: use tty_port 2008-07-20 17:12:36 -07:00
rioroute.c drivers/char/rio/: remove VCS tags 2008-07-20 17:12:35 -07:00
riospace.h drivers/char/rio/: remove VCS tags 2008-07-20 17:12:35 -07:00
riotable.c drivers/char/rio/: remove VCS tags 2008-07-20 17:12:35 -07:00
riotty.c gs: use tty_port 2008-07-20 17:12:36 -07:00
route.h drivers/char/rio/: remove VCS tags 2008-07-20 17:12:35 -07:00
rup.h [PATCH] rio driver rework continued #1 2006-03-24 07:33:29 -08:00
unixrup.h drivers/char/rio/: remove VCS tags 2008-07-20 17:12:35 -07:00