mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-16 14:51:51 -04:00
net: cdc-ncm: cleanup device descriptor
Flags are boolean values, hence they should be typed as bool, not as u8. Signed-off-by: Oliver Neukum <oneukum@suse.com> Link: https://patch.msgid.link/20260210122208.29244-1-oneukum@suse.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
bb24a1c09d
commit
282b8eec8a
@@ -118,8 +118,8 @@ struct cdc_ncm_ctx {
|
||||
|
||||
u32 timer_interval;
|
||||
u32 max_ndp_size;
|
||||
u8 is_ndp16;
|
||||
u8 filtering_supported;
|
||||
bool is_ndp16;
|
||||
bool filtering_supported;
|
||||
union {
|
||||
struct usb_cdc_ncm_ndp16 *delayed_ndp16;
|
||||
struct usb_cdc_ncm_ndp32 *delayed_ndp32;
|
||||
|
||||
Reference in New Issue
Block a user