mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-03-30 11:04:25 +00:00
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>
This commit is contained in:
parent
8ac97b74bc
commit
8356dda2a5
1 changed files with 1 additions and 1 deletions
|
@ -244,7 +244,7 @@ struct pci_ats {
|
||||||
int stu; /* Smallest Translation Unit */
|
int stu; /* Smallest Translation Unit */
|
||||||
int qdep; /* Invalidate Queue Depth */
|
int qdep; /* Invalidate Queue Depth */
|
||||||
int ref_cnt; /* Physical Function reference count */
|
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
|
#ifdef CONFIG_PCI_IOV
|
||||||
|
|
Loading…
Add table
Reference in a new issue