Commit 87a27f7d authored by Markus Lidel's avatar Markus Lidel Committed by Linus Torvalds

[PATCH] i2o: quieten sparse 1-bit-bitfield warnings in i2o.h

- Single-bit bitfields should be unsigned. Quell sparse warnings for
   these. (from Randy Dunlap)
Signed-off-by: default avatarRandy Dunlap <rddunlap@osdl.org>
Signed-off-by: default avatarMarkus Lidel <Markus.Lidel@shadowconnect.com>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent ec2f9be1
...@@ -147,10 +147,10 @@ struct i2o_controller { ...@@ -147,10 +147,10 @@ struct i2o_controller {
struct pci_dev *pdev; /* PCI device */ struct pci_dev *pdev; /* PCI device */
int short_req:1; /* use small block sizes */ unsigned int short_req:1; /* use small block sizes */
int no_quiesce:1; /* dont quiesce before reset */ unsigned int no_quiesce:1; /* dont quiesce before reset */
int raptor:1; /* split bar */ unsigned int raptor:1; /* split bar */
int promise:1; /* Promise controller */ unsigned int promise:1; /* Promise controller */
#ifdef CONFIG_MTRR #ifdef CONFIG_MTRR
int mtrr_reg0; int mtrr_reg0;
...@@ -180,9 +180,9 @@ struct i2o_controller { ...@@ -180,9 +180,9 @@ struct i2o_controller {
struct i2o_dma in_queue; /* inbound message queue Host->IOP */ struct i2o_dma in_queue; /* inbound message queue Host->IOP */
struct i2o_dma out_queue; /* outbound message queue IOP->Host */ struct i2o_dma out_queue; /* outbound message queue IOP->Host */
int battery:1; /* Has a battery backup */ unsigned int battery:1; /* Has a battery backup */
int io_alloc:1; /* An I/O resource was allocated */ unsigned int io_alloc:1; /* An I/O resource was allocated */
int mem_alloc:1; /* A memory resource was allocated */ unsigned int mem_alloc:1; /* A memory resource was allocated */
struct resource io_resource; /* I/O resource allocated to the IOP */ struct resource io_resource; /* I/O resource allocated to the IOP */
struct resource mem_resource; /* Mem resource allocated to the IOP */ struct resource mem_resource; /* Mem resource allocated to the IOP */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment