Search Linux Wireless

Re: [PATCH -next] rtw88: 8821c: make symbol 'rtw8821c_rtw_pwr_track_tbl' static

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

 



Wei Yongjun <weiyongjun1@xxxxxxxxxx> wrote:

> The sparse tool complains as follows:
> 
> drivers/net/wireless/realtek/rtw88/rtw8821c.c:1374:32: warning:
>  symbol 'rtw8821c_rtw_pwr_track_tbl' was not declared. Should it be static?
> 
> This variable is not used outside of rtw8821c.c, so this commit
> marks it static.
> 
> Fixes: 3a4312828ce1 ("rtw88: 8821c: add power tracking")
> Reported-by: Hulk Robot <hulkci@xxxxxxxxxx>
> Signed-off-by: Wei Yongjun <weiyongjun1@xxxxxxxxxx>

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

9de6959f8584 rtw88: 8821c: make symbol 'rtw8821c_rtw_pwr_track_tbl' static

-- 
https://patchwork.kernel.org/patch/11675705/

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