diff options
author | Bill Pemberton <wfp5p@virginia.edu> | 2010-04-30 17:34:28 +0400 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2010-05-11 12:07:20 +0400 |
commit | 8356dda2a573775b651ed13625d3a9ec48e0116c (patch) | |
tree | af243b5ad703181f60b813aec4a89f9aa882a09d /drivers | |
parent | 8ac97b74bca1fc8a63b28cc6121519d1cfa2af99 (diff) | |
download | linux-8356dda2a573775b651ed13625d3a9ec48e0116c.tar.xz |
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')
-rw-r--r-- | drivers/pci/pci.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/pci.h b/drivers/pci/pci.h index 4eb10f48d270..f8077b3c8c8c 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 |