diff options
author | Ira W. Snyder <iws@ovro.caltech.edu> | 2009-12-08 16:12:30 -0500 |
---|---|---|
committer | Gregory Haskins <ghaskins@novell.com> | 2009-12-08 16:12:30 -0500 |
commit | d8544b0386b7d6a1f70fe3b7a9f71dfd4e2dafc0 (patch) | |
tree | 6caaebf01ee1654b308a2f927355721a948ac97d /drivers/vbus | |
parent | 4a238e3979020ce259cdd994c81ffdbd35ed2ac3 (diff) |
vbus: fix lots of sparse "dubious signed bitfield" warnings
The sparse utility gave tons of warnings about signed bitfields. A simple
inspection shows that they are all used as booleans, so convert them to the
correct type.
Signed-off-by: Ira W. Snyder <iws@ovro.caltech.edu>
Diffstat (limited to 'drivers/vbus')
-rw-r--r-- | drivers/vbus/pci-bridge.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/vbus/pci-bridge.c b/drivers/vbus/pci-bridge.c index 0f5f886b2faa..078b8f435ab9 100644 --- a/drivers/vbus/pci-bridge.c +++ b/drivers/vbus/pci-bridge.c @@ -43,7 +43,7 @@ struct vbus_pci { struct vbus_pci_regs *regs; struct vbus_pci_signals *signals; int irq; - int enabled:1; + bool enabled; struct { struct dentry *fs; int events; |