Re: [PATCH] net: dsa: drop some VLAs in switch.c
From: Salvatore Mesoraca
Date: Wed Mar 14 2018 - 08:48:49 EST
2018-03-14 12:24 GMT+01:00 David Laight <David.Laight@xxxxxxxxxx>:
> Isn't using DECLARE_BITMAP() completely OTT when the maximum size is less
> than the number of bits in a word?
It allocates ceiling(size/8) "unsigned long"s, so yes.