Search Linux Wireless

Re: [PATCH] wifi: rtlwifi: set initial values for unexpected cases of USB endpoint priority

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

 



Ping-Ke Shih <pkshih@xxxxxxxxxxx> wrote:

> Map USB endpoints to hardware and AC queues according to number of USB
> endpoints. However, original only give a warning for unexpected cases but
> initial values are not given. Then, smatch warns:
> 
> drivers/net/wireless/realtek/rtlwifi/rtl8192cu/hw.c:642
>   _rtl92cu_init_chipn_two_out_ep_priority() error: uninitialized symbol 'valuelow'.
> drivers/net/wireless/realtek/rtlwifi/rtl8192cu/hw.c:644
>   _rtl92cu_init_chipn_two_out_ep_priority() error: uninitialized symbol 'valuehi'.
> drivers/net/wireless/realtek/rtlwifi/rtl8192cu/hw.c:649
>   _rtl92cu_init_chipn_two_out_ep_priority() error: uninitialized symbol 'valuehi'.
> drivers/net/wireless/realtek/rtlwifi/rtl8192cu/hw.c:650
>   _rtl92cu_init_chipn_two_out_ep_priority() error: uninitialized symbol 'valuelow'.
> 
> The regular selection is high and low queues, so move default (unexpected)
> case along with that.
> 
> Compile tested only.
> 
> Signed-off-by: Ping-Ke Shih <pkshih@xxxxxxxxxxx>

Patch applied to wireless-next.git, thanks.

9208e85c6272 wifi: rtlwifi: set initial values for unexpected cases of USB endpoint priority

-- 
https://patchwork.kernel.org/project/linux-wireless/patch/20240216033949.34765-1-pkshih@xxxxxxxxxxx/

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