]> err.no Git - linux-2.6/commit
[PATCH] uml: use ARRAY_SIZE
authorJeff Dike <jdike@addtoit.com>
Fri, 6 Jan 2006 08:18:51 +0000 (00:18 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 6 Jan 2006 16:33:45 +0000 (08:33 -0800)
commit0834cc77af6a8a650f803d4a7c3c0f134b366f87
treea23d3746dfed759b28c250a7b5365e035a0a6542
parentd50084a2991f3d9490d5c0f3af72e6fe1515a493
[PATCH] uml: use ARRAY_SIZE

This patch replaces instances of "sizeof(foo)/sizeof(foo[0])" with
ARRAY_SIZE(foo), which expands to the same thing.

Signed-off-by: Jeff Dike <jdike@addtoit.com>
Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/um/drivers/ssl.c
arch/um/drivers/stdio_console.c