]> git.karo-electronics.de Git - karo-tx-linux.git/commit
panasonic-laptop: fix X[ ARRAY_SIZE(X) ]
authorRoel Kluin <roel.kluin@gmail.com>
Sat, 17 Jan 2009 14:51:27 +0000 (15:51 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 12 Feb 2009 17:50:33 +0000 (09:50 -0800)
commitec778e2c921546e55e914033b3fe112b33708381
tree59adcf1b137c4560b3c17f96c96830259f07f398
parentc30a0b087efa03642c639d4a485991d6b7454338
panasonic-laptop: fix X[ ARRAY_SIZE(X) ]

commit 2b190e76def5233c542f6025b4a133b1d4bd1a37 upstream.

Ensure pcc->keymap[ ARRAY_SIZE(pcc->keymap) ] does not occur.

Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/misc/panasonic-laptop.c