diff options
Diffstat (limited to 'drivers/staging/sxg/sxg.c')
-rw-r--r-- | drivers/staging/sxg/sxg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/sxg/sxg.c b/drivers/staging/sxg/sxg.c index 3a0dac962e4..395e876c7dc 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]); } |