commit | a956f4ca3ede0a77e307f504e4a98554047b44ff | [log] [tgz] |
---|---|---|
author | Dmitry Torokhov <dtor_core@ameritech.net> | Tue Sep 06 15:19:20 2005 -0700 |
committer | Linus Torvalds <torvalds@g5.osdl.org> | Wed Sep 07 16:57:58 2005 -0700 |
tree | 3a5c4c8256ed6e81f97aae6841f90f115de8cc26 | |
parent | 98b7777331d4344821e900040da5d1d3016d9e67 [diff] |
[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>