Skip to content
Commit 27f391a5 authored by Felipe Cardoso Resende's avatar Felipe Cardoso Resende Committed by Greg Kroah-Hartman
Browse files

Staging: kpc2000: Remove warning: "dubious: x | !y" detected by sparse



Sparse complains about "dubious: x | !y".

This patch adds some macros to make it clear if a flag will be enabled or
not so Sparse stops complaining about dubious code construct.

Signed-off-by: default avatarFelipe Cardoso Resende <felipecardoso.fcr@gmail.com>
Link: https://lore.kernel.org/r/20200117004214.GA1800@felipe-pc


Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent c318f074
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment