From: Andi Drebes Date: Mon, 9 Jul 2007 21:17:57 +0000 (+0200) Subject: drivers/ide/legacy/hd.c: Array size calculation using sizeof replaced with ARRAY_SIZE X-Git-Tag: v2.6.23-rc1~1210 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ecea57309e826c8aed020e4dae92b368f2eda2a5;p=pandora-kernel.git drivers/ide/legacy/hd.c: Array size calculation using sizeof replaced with ARRAY_SIZE 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. Signed-off-by: Andi Drebes Signed-off-by: Bartlomiej Zolnierkiewicz --- Reading git-diff-tree failed