summaryrefslogtreecommitdiffstats
path: root/drivers/pci
diff options
context:
space:
mode:
authorBill Pemberton <wfp5p@virginia.edu>2010-04-30 09:34:28 -0400
committerJiri Kosina <jkosina@suse.cz>2010-05-11 10:07:20 +0200
commit8356dda2a573775b651ed13625d3a9ec48e0116c (patch)
treeaf243b5ad703181f60b813aec4a89f9aa882a09d /drivers/pci
parent8ac97b74bca1fc8a63b28cc6121519d1cfa2af99 (diff)
downloadop-kernel-dev-8356dda2a573775b651ed13625d3a9ec48e0116c.zip
op-kernel-dev-8356dda2a573775b651ed13625d3a9ec48e0116c.tar.gz
PCI: make bitfield unsigned
Fix sparse warning: drivers/pci/pci.h:247:25: error: dubious one-bit signed bitfield Signed-off-by: Bill Pemberton <wfp5p@virginia.edu> CC: linux-pci@vger.kernel.org Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/pci')
-rw-r--r--drivers/pci/pci.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/pci.h b/drivers/pci/pci.h
index 4eb10f4..f8077b3 100644
--- a/drivers/pci/pci.h
+++ b/drivers/pci/pci.h
@@ -244,7 +244,7 @@ struct pci_ats {
int stu; /* Smallest Translation Unit */
int qdep; /* Invalidate Queue Depth */
int ref_cnt; /* Physical Function reference count */
- int is_enabled:1; /* Enable bit is set */
+ unsigned int is_enabled:1; /* Enable bit is set */
};
#ifdef CONFIG_PCI_IOV
OpenPOWER on IntegriCloud