mirror of
https://github.com/torvalds/linux.git
synced 2026-05-28 09:04:39 +02:00
A find -iname \*.[ch] | xargs grep "> ARRAY_SIZE(" revealed several
incorrect usages of ARRAY_SIZE in the mpc drivers. The last element in the
array is always ARRAY_SIZE()-1, this patch modifies the bounds checks
accordingly.
Signed-off-by: Eric Sesterhenn <snakebyte@gmx.de>
Cc: Vitaly Bordug <vbordug@ru.mvista.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
|
||
|---|---|---|
| .. | ||
| 4xx_io | ||
| 8xx_io | ||
| 8260_io | ||
| amiga | ||
| boot | ||
| configs | ||
| kernel | ||
| lib | ||
| mm | ||
| platforms | ||
| syslib | ||
| xmon | ||
| Kconfig | ||
| Kconfig.debug | ||
| Makefile | ||