ARRAY_SIZE seems to create sparse warnings when used on global variables. The attached patch fixes this by using a ARRAY_SIZE macro that does not use __must_be_array(arr) for sparse. See: http://marc.info/?t=118103449100007&r=1&w=2 P.S: please CC me