Kalle Valo <kvalo@xxxxxxxxxx> writes: > 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> > --- > v2: > > * use parenthesis Felix&Lorenzo, if this looks ok to you I would like to take this directly to wireless-next. I'm aiming that the next wireless-next pull request is sparse warning free :) -- https://patchwork.kernel.org/project/linux-wireless/list/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches