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

Johannes Stezenbach
2005-03-22T02:09:10Z

[-- Attachment #1: dvb-sparse-cleanup.patch --]
[-- Type: text/plain, Size: 1014 bytes --]

Remove some sparse warnings on one-bit bitfields.

Signed-off-by: Peter Hagervall <hager@cs.umu.se>
Signed-off-by: Johannes Stezenbach <js@linuxtv.org>

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;

--