Kalle Valo <kvalo@xxxxxxxxxx> wrote: > Sparse warns: > > drivers/net/wireless/mediatek/mt76/mt7915/debugfs.c:526:9: warning: dubious: x | !y > > Workaround it by using the '?' operator. Compile tested only. > > Signed-off-by: Kalle Valo <kvalo@xxxxxxxxxx> > Acked-by: Lorenzo Bianconi <lorenzo@xxxxxxxxxx> Patch applied to wireless-next.git, thanks. b68b2beadfd3 wifi: mt76: mt7915: workaround dubious x | !y warning -- https://patchwork.kernel.org/project/linux-wireless/patch/20240325155838.1558680-1-kvalo@xxxxxxxxxx/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches