diff options
author | Michael Buesch <mb@bu3sch.de> | 2009-06-11 12:06:31 (GMT) |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-06-11 15:51:03 (GMT) |
commit | 73e0d48b8c28fb39a0bb6713c875e9919a9af546 (patch) | |
tree | b250b867130a9233a0daa6cbf2ba11b9a5e868a1 /drivers/ata/sata_promise.h | |
parent | 0b4068a1287b02018d1b3159e7be6f27f3e3e68c (diff) | |
download | linux-fsl-qoriq-73e0d48b8c28fb39a0bb6713c875e9919a9af546.tar.xz |
parport_pc: Fix subscription bugs
This patch fixes array subscription bugs in the parport_pc driver.
drivers/parport/parport_pc.c: In function ‘parport_irq_probe’:
drivers/parport/parport_pc.c:1589: warning: array subscript is above array bounds
drivers/parport/parport_pc.c: In function ‘parport_pc_probe_port’:
drivers/parport/parport_pc.c:1579: warning: array subscript is above array bounds
The patch also fixes a few other array bugs, which the compiler was
unable to find. Coding style violations are also fixed.
Signed-off-by: Michael Buesch <mb@bu3sch.de>
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/ata/sata_promise.h')
0 files changed, 0 insertions, 0 deletions