From 19cef998bdf832be7c335f91571799369808ee9d Mon Sep 17 00:00:00 2001 From: Shaun Ruffell Date: Thu, 13 Dec 2012 11:07:43 -0600 Subject: [PATCH] sysfs: Remove signed one-bit fields. Eliminates the following warning from sparse: drivers/dahdi/dahdi-sysfs-chan.c:50:29: error: dubious one-bit signed bitfield Signed-off-by: Shaun Ruffell --- drivers/dahdi/dahdi-sysfs-chan.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/dahdi/dahdi-sysfs-chan.c b/drivers/dahdi/dahdi-sysfs-chan.c index f63a795..d6184e8 100644 --- a/drivers/dahdi/dahdi-sysfs-chan.c +++ b/drivers/dahdi/dahdi-sysfs-chan.c @@ -47,9 +47,9 @@ static struct cdev dahdi_channels_cdev; /*!< Channels chardev's */ * succeeded. */ static struct { - int channel_driver:1; - int channels_bus:1; - int cdev:1; + u32 channel_driver:1; + u32 channels_bus:1; + u32 cdev:1; } should_cleanup; #define chan_attr(field, format_string) \