]> git.baikalelectronics.ru Git - kernel.git/commit
[SCSI] eata_pio: off by one in eata_pio_detect()
authorDan Carpenter <dan.carpenter@oracle.com>
Fri, 23 Aug 2013 12:11:31 +0000 (15:11 +0300)
committerJames Bottomley <JBottomley@Parallels.com>
Tue, 3 Sep 2013 14:27:58 +0000 (07:27 -0700)
commitd7c478b2b82b217127e268919dee1017f2d7e462
treef5454cd17c8ad2189574b853a5337b9b8c7a9973
parenta750080f478e4cf3f1983aaf2ff4cc038f8a24a6
[SCSI] eata_pio: off by one in eata_pio_detect()

Smatch complains that the reg_IRQ[] array only has MAXIRQ (16) elements
so we are one space beyond the end of the array here.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/eata_pio.c