Skip to contentSkip to conversation

drivers/eisa/eisa-bus.c: Array size calculation

PATCH Marc Zyngier 1 participant 1 message Jun 4, 2007 Kernel janitors

lore
Share & tools
lore

Marc Zyngier

author Acked-by
#0 lore raw
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Andi" = Andi Drebes <[email protected]> writes:

Andi> This patch replaces an array size calculation in drivers/eisa/eisa-bus.c Andi> that was done using sizeof with the ARRAY_SIZE macro. I also removed Andi> the preprocessor definition "EISA_INFOS" that represented the number of Andi> entries in eisa_table because it was only referenced once.

Andi> Tested by compilation on an i386 box using "allyesconfig". Andi> Diffed against Linus' git-tree.

Andi> Signed-off-by: Andi Drebes <[email protected]>

	M.
Signature · 5 lines
And if you don't know where you're going, any road will take you there...
_______________________________________________
Kernel-janitors mailing list
[email protected]
https://lists.linux-foundation.org/mailman/listinfo/kernel-janitors