]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] smsc-ircc2: drop DIM macro in favor of ARRAY_SIZE
authorDmitry Torokhov <dtor_core@ameritech.net>
Tue, 6 Sep 2005 22:19:20 +0000 (15:19 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 7 Sep 2005 23:57:58 +0000 (16:57 -0700)
commita956f4ca3ede0a77e307f504e4a98554047b44ff
tree3a5c4c8256ed6e81f97aae6841f90f115de8cc26
parent98b7777331d4344821e900040da5d1d3016d9e67
[PATCH] smsc-ircc2: drop DIM macro in favor of ARRAY_SIZE

IRDA: smsc-ircc2 - remove home-grown DIM macro, use ARRAY_SIZE intead.
      Also fix out-of-bound array access.

Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Cc: Jean Tourrilhes <jt@hpl.hp.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/net/irda/smsc-ircc2.c