diff options
author | Randy Dunlap <randy.dunlap@oracle.com> | 2010-03-02 17:52:33 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-05-20 16:21:31 -0400 |
commit | fa4dc36482a5236c92c589cdbc0a42ff5c945b6b (patch) | |
tree | a15b58a5295dd51bc23fa2d6d40d7fcd77fb4222 /drivers/usb/class | |
parent | 41f2c6e89cf4d412e4b20803f5feb2b9b1560476 (diff) |
USB: cdc-acm: make bitfields unsigned
Fix usb/class sparse warnings:
drivers/usb/class/cdc-acm.h:128:34: error: dubious one-bit signed bitfield
drivers/usb/class/cdc-acm.h:129:24: error: dubious one-bit signed bitfield
Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/class')
-rw-r--r-- | drivers/usb/class/cdc-acm.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/class/cdc-acm.h b/drivers/usb/class/cdc-acm.h index 4a8e87ec6ce9..5eeb570b9a61 100644 --- a/drivers/usb/class/cdc-acm.h +++ b/drivers/usb/class/cdc-acm.h | |||
@@ -124,8 +124,8 @@ struct acm { | |||
124 | unsigned char clocal; /* termios CLOCAL */ | 124 | unsigned char clocal; /* termios CLOCAL */ |
125 | unsigned int ctrl_caps; /* control capabilities from the class specific header */ | 125 | unsigned int ctrl_caps; /* control capabilities from the class specific header */ |
126 | unsigned int susp_count; /* number of suspended interfaces */ | 126 | unsigned int susp_count; /* number of suspended interfaces */ |
127 | int combined_interfaces:1; /* control and data collapsed */ | 127 | unsigned int combined_interfaces:1; /* control and data collapsed */ |
128 | int is_int_ep:1; /* interrupt endpoints contrary to spec used */ | 128 | unsigned int is_int_ep:1; /* interrupt endpoints contrary to spec used */ |
129 | u8 bInterval; | 129 | u8 bInterval; |
130 | struct acm_wb *delayed_wb; /* write queued for a device about to be woken */ | 130 | struct acm_wb *delayed_wb; /* write queued for a device about to be woken */ |
131 | }; | 131 | }; |