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: Felipe Cardoso Resende <felipecardoso.fcr@gmail.com>
Link: https://lore.kernel.org/r/20200117004214.GA1800@felipe-pc
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Felipe Cardoso Resende 2020-01-16 21:42:14 -03:00 • committed by Greg Kroah-Hartman
commit 27f391a5d6