can: gs_usb: rewrap error messages
This patch rewraps the arguments of netdev_err() to make full use of the standard line length of 80 characters. Link: https://lore.kernel.org/all/20220309124132.291861-6-mkl@pengutronix.de Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
This commit is contained in:
Родитель
4b8f03e33f
Коммит
d0cd2aa83f
|
@ -630,8 +630,7 @@ static int gs_can_open(struct net_device *netdev)
|
||||||
netif_device_detach(dev->netdev);
|
netif_device_detach(dev->netdev);
|
||||||
|
|
||||||
netdev_err(netdev,
|
netdev_err(netdev,
|
||||||
"usb_submit failed (err=%d)\n",
|
"usb_submit failed (err=%d)\n", rc);
|
||||||
rc);
|
|
||||||
|
|
||||||
usb_unanchor_urb(urb);
|
usb_unanchor_urb(urb);
|
||||||
usb_free_urb(urb);
|
usb_free_urb(urb);
|
||||||
|
@ -941,8 +940,7 @@ static int gs_usb_probe(struct usb_interface *intf,
|
||||||
kfree(hconf);
|
kfree(hconf);
|
||||||
|
|
||||||
if (rc < 0) {
|
if (rc < 0) {
|
||||||
dev_err(&intf->dev, "Couldn't send data format (err=%d)\n",
|
dev_err(&intf->dev, "Couldn't send data format (err=%d)\n", rc);
|
||||||
rc);
|
|
||||||
return rc;
|
return rc;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче