Displaying 10 results from an estimated 10 matches for "f_hid".
2020 Oct 17
0
[RFC] treewide: cleanup unreachable breaks
...: WARNING:UNNECESSARY_BREAK: break is not useful after a goto or return
drivers/tty/serial/imx.c:340: WARNING:UNNECESSARY_BREAK: break is not useful after a goto or return
drivers/tty/serial/imx.c:343: WARNING:UNNECESSARY_BREAK: break is not useful after a goto or return
drivers/usb/gadget/function/f_hid.c:516: WARNING:UNNECESSARY_BREAK: break is not useful after a goto or return
drivers/usb/gadget/function/f_hid.c:524: WARNING:UNNECESSARY_BREAK: break is not useful after a goto or return
drivers/usb/gadget/function/f_hid.c:530: WARNING:UNNECESSARY_BREAK: break is not useful after a goto or return...
2020 Oct 17
1
[Cocci] [RFC] treewide: cleanup unreachable breaks
...inctrl-rockchip.c: function rockchip_pinconf_set line 74
drivers/gpu/drm/amd/display/include/signal_types.h: function dc_is_dvi_signal line 6
security/keys/trusted-keys/trusted_tpm1.c: function datablob_parse line 63
arch/x86/math-emu/fpu_trig.c: function fyl2xp1 line 71
drivers/usb/gadget/function/f_hid.c: function hidg_setup line 26
drivers/usb/gadget/function/f_hid.c: function hidg_setup line 34
drivers/usb/gadget/function/f_hid.c: function hidg_setup line 40
drivers/usb/gadget/function/f_hid.c: function hidg_setup line 58
drivers/usb/gadget/function/f_hid.c: function hidg_setup line 76
drivers/...
2020 Oct 17
1
[Cocci] [RFC] treewide: cleanup unreachable breaks
...inctrl-rockchip.c: function rockchip_pinconf_set line 74
drivers/gpu/drm/amd/display/include/signal_types.h: function dc_is_dvi_signal line 6
security/keys/trusted-keys/trusted_tpm1.c: function datablob_parse line 63
arch/x86/math-emu/fpu_trig.c: function fyl2xp1 line 71
drivers/usb/gadget/function/f_hid.c: function hidg_setup line 26
drivers/usb/gadget/function/f_hid.c: function hidg_setup line 34
drivers/usb/gadget/function/f_hid.c: function hidg_setup line 40
drivers/usb/gadget/function/f_hid.c: function hidg_setup line 58
drivers/usb/gadget/function/f_hid.c: function hidg_setup line 76
drivers/...
2020 Oct 17
10
[RFC] treewide: cleanup unreachable breaks
...set);
return sport->ucr2;
- break;
case UCR3:
return sport->ucr3;
- break;
case UCR4:
return sport->ucr4;
- break;
case UFCR:
return sport->ufcr;
- break;
default:
return readl(sport->port.membase + offset);
}
}
diff --git a/drivers/usb/gadget/function/f_hid.c b/drivers/usb/gadget/function/f_hid.c
index 1125f4715830..5204769834d1 100644
--- a/drivers/usb/gadget/function/f_hid.c
+++ b/drivers/usb/gadget/function/f_hid.c
@@ -509,27 +509,23 @@ static int hidg_setup(struct usb_function *f,
VDBG(cdev, "get_report\n");
/* send an empty repo...
2020 Oct 17
10
[RFC] treewide: cleanup unreachable breaks
...set);
return sport->ucr2;
- break;
case UCR3:
return sport->ucr3;
- break;
case UCR4:
return sport->ucr4;
- break;
case UFCR:
return sport->ufcr;
- break;
default:
return readl(sport->port.membase + offset);
}
}
diff --git a/drivers/usb/gadget/function/f_hid.c b/drivers/usb/gadget/function/f_hid.c
index 1125f4715830..5204769834d1 100644
--- a/drivers/usb/gadget/function/f_hid.c
+++ b/drivers/usb/gadget/function/f_hid.c
@@ -509,27 +509,23 @@ static int hidg_setup(struct usb_function *f,
VDBG(cdev, "get_report\n");
/* send an empty repo...
2020 Mar 11
0
[PATCH -next 000/491] treewide: use fallthrough;
...sb/core/hub.c | 2 +-
drivers/usb/core/urb.c | 4 +-
drivers/usb/dwc3/core.c | 5 +-
drivers/usb/gadget/composite.c | 16 +--
drivers/usb/gadget/function/f_fs.c | 2 +-
drivers/usb/gadget/function/f_hid.c | 2 +-
drivers/usb/gadget/function/f_mass_storage.c | 2 -
drivers/usb/gadget/function/f_phonet.c | 4 +-
drivers/usb/gadget/function/f_printer.c | 7 +-
drivers/usb/gadget/function/f_rndis.c | 2 +-
drivers/usb/gadget/function/f_tcm.c | 2 +-...
2020 Mar 11
0
[PATCH -next 000/491] treewide: use fallthrough;
...sb/core/hub.c | 2 +-
drivers/usb/core/urb.c | 4 +-
drivers/usb/dwc3/core.c | 5 +-
drivers/usb/gadget/composite.c | 16 +--
drivers/usb/gadget/function/f_fs.c | 2 +-
drivers/usb/gadget/function/f_hid.c | 2 +-
drivers/usb/gadget/function/f_mass_storage.c | 2 -
drivers/usb/gadget/function/f_phonet.c | 4 +-
drivers/usb/gadget/function/f_printer.c | 7 +-
drivers/usb/gadget/function/f_rndis.c | 2 +-
drivers/usb/gadget/function/f_tcm.c | 2 +-...
2020 Mar 11
0
[PATCH -next 000/491] treewide: use fallthrough;
...sb/core/hub.c | 2 +-
drivers/usb/core/urb.c | 4 +-
drivers/usb/dwc3/core.c | 5 +-
drivers/usb/gadget/composite.c | 16 +--
drivers/usb/gadget/function/f_fs.c | 2 +-
drivers/usb/gadget/function/f_hid.c | 2 +-
drivers/usb/gadget/function/f_mass_storage.c | 2 -
drivers/usb/gadget/function/f_phonet.c | 4 +-
drivers/usb/gadget/function/f_printer.c | 7 +-
drivers/usb/gadget/function/f_rndis.c | 2 +-
drivers/usb/gadget/function/f_tcm.c | 2 +-...
2020 Mar 11
0
[PATCH -next 000/491] treewide: use fallthrough;
...sb/core/hub.c | 2 +-
drivers/usb/core/urb.c | 4 +-
drivers/usb/dwc3/core.c | 5 +-
drivers/usb/gadget/composite.c | 16 +--
drivers/usb/gadget/function/f_fs.c | 2 +-
drivers/usb/gadget/function/f_hid.c | 2 +-
drivers/usb/gadget/function/f_mass_storage.c | 2 -
drivers/usb/gadget/function/f_phonet.c | 4 +-
drivers/usb/gadget/function/f_printer.c | 7 +-
drivers/usb/gadget/function/f_rndis.c | 2 +-
drivers/usb/gadget/function/f_tcm.c | 2 +-...
2020 Mar 11
0
[PATCH -next 000/491] treewide: use fallthrough;
...sb/core/hub.c | 2 +-
drivers/usb/core/urb.c | 4 +-
drivers/usb/dwc3/core.c | 5 +-
drivers/usb/gadget/composite.c | 16 +--
drivers/usb/gadget/function/f_fs.c | 2 +-
drivers/usb/gadget/function/f_hid.c | 2 +-
drivers/usb/gadget/function/f_mass_storage.c | 2 -
drivers/usb/gadget/function/f_phonet.c | 4 +-
drivers/usb/gadget/function/f_printer.c | 7 +-
drivers/usb/gadget/function/f_rndis.c | 2 +-
drivers/usb/gadget/function/f_tcm.c | 2 +-...