From: Michael Buesch Date: Thu, 11 Jun 2009 12:06:31 +0000 (+0100) Subject: parport_pc: Fix subscription bugs X-Git-Tag: v2.6.31-rc1~399^2~41 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=73e0d48b8c28fb39a0bb6713c875e9919a9af546;p=pandora-kernel.git 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 Signed-off-by: Alan Cox Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed