Skip to contentSkip to conversation

drivers/ide/legacy/hd.c: Array size

PATCH Bartlomiej Zolnierkiewicz 1 participant 1 message Jun 8, 2007 Kernel janitors

lore
Share & tools
lore
#0 lore raw
Quoted 7 lines · Andi Drebes

This patch replaces an array size calculation in drivers/ide/legacy/hd.c that was done using sizeof with the ARRAY_SIZE macro.

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

applied
_______________________________________________
Kernel-janitors mailing list
[email protected]
https://lists.linux-foundation.org/mailman/listinfo/kernel-janitors