[PATCH] PCI: fix sparse warning about pci_bus_flags
authorRoland Dreier <rdreier@cisco.com>
Thu, 30 Mar 2006 20:55:10 +0000 (12:55 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 14 Apr 2006 19:25:25 +0000 (12:25 -0700)
commite778272dd547d53dedf92240e8b3dbdee44b87b6
treec1111469138de441027d92e12c98cda4a3ac0292
parent5da594b1c523dffa19ebe7630e1ca285f439bd03
[PATCH] PCI: fix sparse warning about pci_bus_flags

Sparse warns about casting to a __bitwise type.  However, it's correct
to do when defining the enum for pci_bus_flags_t, so add a __force to
quiet the warnings.  This will fix getting

    include/linux/pci.h:100:26: warning: cast to restricted type

from sparse all over the build.

Signed-off-by: Roland Dreier <rolandd@cisco.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
include/linux/pci.h