diff options
author | Bill Pemberton <wfp5p@virginia.edu> | 2010-04-30 09:34:28 -0400 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2010-05-11 10:07:20 +0200 |
commit | 8356dda2a573775b651ed13625d3a9ec48e0116c (patch) | |
tree | af243b5ad703181f60b813aec4a89f9aa882a09d /drivers/pci/pci.h | |
parent | 8ac97b74bca1fc8a63b28cc6121519d1cfa2af99 (diff) | |
download | kernel_samsung_aries-8356dda2a573775b651ed13625d3a9ec48e0116c.zip kernel_samsung_aries-8356dda2a573775b651ed13625d3a9ec48e0116c.tar.gz kernel_samsung_aries-8356dda2a573775b651ed13625d3a9ec48e0116c.tar.bz2 |
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/pci.h')
-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 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 |