summaryrefslogtreecommitdiff
path: root/drivers/staging/sxg/sxg.c
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2009-08-07 17:50:51 +1000
committerStephen Rothwell <sfr@canb.auug.org.au>2009-08-07 17:50:51 +1000
commiteec1ba76a0f043bdea21db10df4287bb5a4d25a8 (patch)
tree269e10ce578105322820dd426e30cf9eea7513c6 /drivers/staging/sxg/sxg.c
parent9fdbbf93bb3bb2b62335e780bb94871fc39dc5d8 (diff)
parentbb104a76ac0e6c103c36623616c7dee8cd9d165c (diff)
Merge branch 'quilt/staging'
Conflicts: drivers/staging/epl/VirtualEthernetLinux.c
Diffstat (limited to 'drivers/staging/sxg/sxg.c')
-rw-r--r--drivers/staging/sxg/sxg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/sxg/sxg.c b/drivers/staging/sxg/sxg.c
index 3a0dac962e4d..395e876c7dc9 100644
--- a/drivers/staging/sxg/sxg.c
+++ b/drivers/staging/sxg/sxg.c
@@ -3500,7 +3500,7 @@ static void sxg_mcast_init_crc32(void)
static int p[] = { 0, 1, 2, 4, 5, 7, 8, 10, 11, 12, 16, 22, 23, 26 };
- for (i = 0; i < sizeof(p) / sizeof(int); i++) {
+ for (i = 0; i < ARRAY_SIZE(p); i++) {
e |= 1L << (31 - p[i]);
}