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 <sruffell@digium.com>
This commit is contained in:
parent
82cf3c7b13
commit
19cef998bd
@ -47,9 +47,9 @@ static struct cdev dahdi_channels_cdev; /*!< Channels chardev's */
|
|||||||
* succeeded.
|
* succeeded.
|
||||||
*/
|
*/
|
||||||
static struct {
|
static struct {
|
||||||
int channel_driver:1;
|
u32 channel_driver:1;
|
||||||
int channels_bus:1;
|
u32 channels_bus:1;
|
||||||
int cdev:1;
|
u32 cdev:1;
|
||||||
} should_cleanup;
|
} should_cleanup;
|
||||||
|
|
||||||
#define chan_attr(field, format_string) \
|
#define chan_attr(field, format_string) \
|
||||||
|
Loading…
Reference in New Issue
Block a user