staging: comedi: comedi_fops: make bool bit-field unsigned int bit-fields.
Checkpatch complains on bool bitfields to be an int or u8/u16/u32 bitfield. Make bool bit-fields to be unsigned int bit-fields. Signed-off-by: Giulio Benetti <giulio.benetti@micronovasrl.com> Reviewed-by: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
ce397d215c
commit
b3c1622701
@@ -60,7 +60,7 @@ struct comedi_file {
|
||||
struct comedi_subdevice *read_subdev;
|
||||
struct comedi_subdevice *write_subdev;
|
||||
unsigned int last_detach_count;
|
||||
bool last_attached:1;
|
||||
unsigned int last_attached:1;
|
||||
};
|
||||
|
||||
#define COMEDI_NUM_MINORS 0x100
|
||||
|
||||
Reference in New Issue
Block a user