drivers/eisa/eisa-bus.c: Array size calculation
Marc Zyngier
Acked-byQuoted 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]>
Acked-by Marc Zyngier <[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