[DVB patch 44/48] sparse warnings on one-bit bitfields

From: Johannes Stezenbach
Date: Tue Mar 22 2005 - 01:11:09 EST


Remove some sparse warnings on one-bit bitfields.

Signed-off-by: Peter Hagervall <hager@xxxxxxxxx>
Signed-off-by: Johannes Stezenbach <js@xxxxxxxxxxx>

dvb_ca_en50221.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)

Index: linux-2.6.12-rc1-mm1/drivers/media/dvb/dvb-core/dvb_ca_en50221.c
===================================================================
--- linux-2.6.12-rc1-mm1.orig/drivers/media/dvb/dvb-core/dvb_ca_en50221.c 2005-03-22 00:28:04.000000000 +0100
+++ linux-2.6.12-rc1-mm1/drivers/media/dvb/dvb-core/dvb_ca_en50221.c 2005-03-22 00:28:26.000000000 +0100
@@ -148,13 +148,13 @@ struct dvb_ca_private {
wait_queue_head_t thread_queue;

/* Flag indicating when thread should exit */
- int exit:1;
+ unsigned int exit:1;

/* Flag indicating if the CA device is open */
- int open:1;
+ unsigned int open:1;

/* Flag indicating the thread should wake up now */
- int wakeup:1;
+ unsigned int wakeup:1;

/* Delay the main thread should use */
unsigned long delay;

--

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/