Searched hist:"3814 ed27548a1eb9c935c56321e26b383ed8f1d7" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/net/can/usb/ |
H A D | gs_usb.c | diff 3814ed27548a1eb9c935c56321e26b383ed8f1d7 Sun Sep 18 15:42:59 CDT 2022 Marc Kleine-Budde <mkl@pengutronix.de> can: gs_usb: convert from usb_control_msg() to usb_control_msg_{send,recv}()
Convert the driver to use usb_control_msg_{send,recv}() instead of usb_control_msg(). These functions allow the data to be placed on the stack. This makes the driver a lot easier as we don't have to deal with dynamically allocated memory.
Link: https://lore.kernel.org/all/20220921193902.575416-3-mkl@pengutronix.de Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
|