]> git.baikalelectronics.ru Git - kernel.git/commit
tape: beyond ARRAY_SIZE of viocd_diskinfo
authorroel kluin <roel.kluin@gmail.com>
Tue, 19 May 2009 14:58:56 +0000 (14:58 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 2 Jun 2009 00:32:34 +0000 (10:32 +1000)
commitd30160f262ccae59061f131699fc69cc3aa449ad
treeb7a465a5812910a6fa61c9bc95f595d0a0a81711
parent36ed911464f4666056d75d16fd91abe5ca66d981
tape: beyond ARRAY_SIZE of viocd_diskinfo

Do not go beyond ARRAY_SIZE of tape_device and viotape_unitinfo

Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Acked-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
drivers/char/viotape.c