From: Giulio Benetti Date: Tue, 12 Jun 2018 14:50:29 +0000 (+0200) Subject: staging: comedi: comedidev: make bool bit-field unsigned int bit-fields. X-Git-Tag: v4.19~371^2~830 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=fd02c95fab8bc8ba63299d370f6d5437c62641d1;p=platform%2Fkernel%2Flinux-rpi.git staging: comedi: comedidev: 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 Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/comedi/comedidev.h b/drivers/staging/comedi/comedidev.h index c54ac94..5775a93 100644 --- a/drivers/staging/comedi/comedidev.h +++ b/drivers/staging/comedi/comedidev.h @@ -542,8 +542,8 @@ struct comedi_device { const char *board_name; const void *board_ptr; - bool attached:1; - bool ioenabled:1; + unsigned int attached:1; + unsigned int ioenabled:1; spinlock_t spinlock; /* generic spin-lock for low-level driver */ struct mutex mutex; /* generic mutex for COMEDI core */ struct rw_semaphore attach_lock;