Skip to content

Commit

Permalink
can: gs_usb: rewrap error messages
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Marc Kleine-Budde committed Mar 10, 2022
1 parent 4b8f03e commit d0cd2aa
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions drivers/net/can/usb/gs_usb.c
Original file line number Diff line number Diff line change
Expand Up @@ -630,8 +630,7 @@ static int gs_can_open(struct net_device *netdev)
netif_device_detach(dev->netdev);

netdev_err(netdev,
"usb_submit failed (err=%d)\n",
rc);
"usb_submit failed (err=%d)\n", rc);

usb_unanchor_urb(urb);
usb_free_urb(urb);
Expand Down Expand Up @@ -941,8 +940,7 @@ static int gs_usb_probe(struct usb_interface *intf,
kfree(hconf);

if (rc < 0) {
dev_err(&intf->dev, "Couldn't send data format (err=%d)\n",
rc);
dev_err(&intf->dev, "Couldn't send data format (err=%d)\n", rc);
return rc;
}

Expand Down

0 comments on commit d0cd2aa

Please sign in to comment.