diff mbox

[01/11] PCI: make bitfields unsigned

Message ID 1272634478-4127-2-git-send-email-wfp5p@virginia.edu (mailing list archive)
State Accepted, archived
Headers show

Commit Message

Bill Pemberton April 30, 2010, 1:34 p.m. UTC
None
diff mbox

Patch

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