Search Linux Wireless

Re: [PATCH] mwifiex: make arrays static const, makes object smaller

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Colin King <colin.king@xxxxxxxxxxxxx> wrote:

> From: Colin Ian King <colin.king@xxxxxxxxxxxxx>
> 
> Don't populate the arrays wpa_oui and wps_oui on the stack but
> instead them static const. Makes the object code smaller by 63 bytes:
> 
> Before:
>    text   data  bss     dec    hex filename
>   29453   5451   64   34968   8898 .../wireless/marvell/mwifiex/sta_ioctl.o
> 
> After:
>    text	  data  bss     dec    hex filename
>   29356	  5611   64   35031   88d7 ../wireless/marvell/mwifiex/sta_ioctl.o
> 
> (gcc version 10.3.0)
> 
> Signed-off-by: Colin Ian King <colin.king@xxxxxxxxxxxxx>

Patch applied to wireless-drivers-next.git, thanks.

da2c9cedc0d0 mwifiex: make arrays static const, makes object smaller

-- 
https://patchwork.kernel.org/project/linux-wireless/patch/20210819121651.7566-1-colin.king@xxxxxxxxxxxxx/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches




[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Wireless Regulations]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux