Search Linux Wireless

Re: ath5k: fix misplaced default label in sifs switch

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

 



Bob Copeland <me@xxxxxxxxxxxxxxx> wrote:
> In this switch statement, the default case does not always assign
> sifs.  In practice, ah->ah_bwmode cannot take values besides the
> other labels, so this is not an actual problem, but it looks odd
> and smatch complains thus:
> 
>     ath5k_hw_get_default_sifs() warn: missing break? reassigning 'sifs'
> 
> Silence the warning by moving default label up a line.
> 
> Signed-off-by: Bob Copeland <me@xxxxxxxxxxxxxxx>

Thanks, 1 patch applied to ath-next branch of ath.git:

deb85bb1dadf ath5k: fix misplaced default label in sifs switch

-- 
Sent by pwcli
https://patchwork.kernel.org/patch/9149925/

--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



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

  Powered by Linux