genl_magic: Resolve logical-op warnings
authorMark Rustad <mark.d.rustad@intel.com>
Tue, 14 Oct 2014 13:28:38 +0000 (06:28 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 14 Oct 2014 21:03:53 +0000 (17:03 -0400)
commitdb404b13617fe0cdb415da55762203d456837912
tree7c9892aefa7351da678184d152e60d24357f587e
parente53da5fbfc02586fe4506ed583069b8205f3e38d
genl_magic: Resolve logical-op warnings

Resolve "logical 'and' applied to non-boolean constant" warnings"
that appear in W=2 builds by adding !! to a bit test.

Signed-off-by: Mark Rustad <mark.d.rustad@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/genl_magic_func.h