diff options
author | Bill Pemberton <wfp5p@virginia.edu> | 2010-04-30 09:34:28 -0400 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2010-05-11 04:07:20 -0400 |
commit | 8356dda2a573775b651ed13625d3a9ec48e0116c (patch) | |
tree | af243b5ad703181f60b813aec4a89f9aa882a09d /drivers/pci/pci.h | |
parent | 8ac97b74bca1fc8a63b28cc6121519d1cfa2af99 (diff) |
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 4eb10f48d270..f8077b3c8c8c 100644 --- a/drivers/pci/pci.h +++ b/drivers/pci/pci.h | |||
@@ -244,7 +244,7 @@ struct pci_ats { | |||
244 | int stu; /* Smallest Translation Unit */ | 244 | int stu; /* Smallest Translation Unit */ |
245 | int qdep; /* Invalidate Queue Depth */ | 245 | int qdep; /* Invalidate Queue Depth */ |
246 | int ref_cnt; /* Physical Function reference count */ | 246 | int ref_cnt; /* Physical Function reference count */ |
247 | int is_enabled:1; /* Enable bit is set */ | 247 | unsigned int is_enabled:1; /* Enable bit is set */ |
248 | }; | 248 | }; |
249 | 249 | ||
250 | #ifdef CONFIG_PCI_IOV | 250 | #ifdef CONFIG_PCI_IOV |