On Wed, 2018-02-28 at 15:26 +0100, Lorenzo Bianconi wrote:
> 
>       const int map_reads = DIV_ROUND_UP(MT_EFUSE_USAGE_MAP_SIZE, 16);
> -     u8 data[map_reads * 16];
> +     u8 data[round_up(MT_EFUSE_USAGE_MAP_SIZE, 16)];
> 
You could turn it upside down and make 

const int map_reads = ARRAY_SIZE(data);

johannes

Reply via email to