Colin King <colin.king@xxxxxxxxxxxxx> wrote: > From: Colin Ian King <colin.king@xxxxxxxxxxxxx> > > Arrays pwr_info_offset and sprom_sizes can be make static const rather > than populating them on the stack. Shrinks object size by 236 bytes. > > Before: > text data bss dec hex filename > 11300 1320 64 12684 318c drivers/bcma/sprom.o > > After: > text data bss dec hex filename > 10904 1480 64 12448 30a0 drivers/bcma/sprom.o > > (gcc version 9.2.1, amd64) > > Signed-off-by: Colin Ian King <colin.king@xxxxxxxxxxxxx> Patch applied to wireless-drivers-next.git, thanks. c57391f41572 bcma: make arrays pwr_info_offset and sprom_sizes static const, shrinks object size -- https://patchwork.kernel.org/patch/11133647/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches