]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] CCISS: use ARRAY_SIZE without intermediates
authorBjorn Helgaas <bjorn.helgaas@hp.com>
Sun, 25 Jun 2006 12:49:03 +0000 (05:49 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sun, 25 Jun 2006 17:01:21 +0000 (10:01 -0700)
commit55d98e74e7616f0a33a9e24950d63c8c3e30ed52
tree90557f32a4df3364cb6ff189f8e75c7d4338fc47
parent434fee9fa59c0c89c0c76e532cac92a21fe8a84e
[PATCH] CCISS: use ARRAY_SIZE without intermediates

It's easier to verify loop bounds if the array name is mentioned the for()
statement that steps through the array.

Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
Acked-by: Jeff Garzik <jeff@garzik.org>
Acked-by: Mike Miller <mike.miller@hp.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/block/cciss.c