| cea79911 | 10-Jan-2020 |
Johan Hovold <[email protected]> |
Input: gtco - drop redundant variable reinit
Drop the second, redundant reinitialisation of the endpoint-descriptor pointer from probe.
Signed-off-by: Johan Hovold <[email protected]> Acked-by: Vlad
Input: gtco - drop redundant variable reinit
Drop the second, redundant reinitialisation of the endpoint-descriptor pointer from probe.
Signed-off-by: Johan Hovold <[email protected]> Acked-by: Vladis Dronov <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Dmitry Torokhov <[email protected]>
show more ...
|
| a8eeb74d | 10-Jan-2020 |
Johan Hovold <[email protected]> |
Input: gtco - fix endpoint sanity check
The driver was checking the number of endpoints of the first alternate setting instead of the current one, something which could lead to the driver binding to
Input: gtco - fix endpoint sanity check
The driver was checking the number of endpoints of the first alternate setting instead of the current one, something which could lead to the driver binding to an invalid interface.
This in turn could cause the driver to misbehave or trigger a WARN() in usb_submit_urb() that kernels with panic_on_warn set would choke on.
Fixes: 162f98dea487 ("Input: gtco - fix crash on detecting device without endpoints") Signed-off-by: Johan Hovold <[email protected]> Acked-by: Vladis Dronov <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Dmitry Torokhov <[email protected]>
show more ...
|
| 3111491f | 10-Jan-2020 |
Johan Hovold <[email protected]> |
Input: aiptek - fix endpoint sanity check
The driver was checking the number of endpoints of the first alternate setting instead of the current one, something which could lead to the driver binding
Input: aiptek - fix endpoint sanity check
The driver was checking the number of endpoints of the first alternate setting instead of the current one, something which could lead to the driver binding to an invalid interface.
This in turn could cause the driver to misbehave or trigger a WARN() in usb_submit_urb() that kernels with panic_on_warn set would choke on.
Fixes: 8e20cf2bce12 ("Input: aiptek - fix crash on detecting device without endpoints") Signed-off-by: Johan Hovold <[email protected]> Acked-by: Vladis Dronov <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Dmitry Torokhov <[email protected]>
show more ...
|