OSDN Git Service

can: gw: cgw_dump_jobs(): avoid long lines
authorMarc Kleine-Budde <mkl@pengutronix.de>
Wed, 24 Jul 2019 12:34:42 +0000 (14:34 +0200)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Tue, 13 Aug 2019 15:32:21 +0000 (17:32 +0200)
This patch rewraps the arguments of cgw_put_job() to avoid long lines,
which also fixes the indention.

Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
net/can/gw.c

index 9b2efba..2d2be4a 100644 (file)
@@ -609,8 +609,9 @@ static int cgw_dump_jobs(struct sk_buff *skb, struct netlink_callback *cb)
                if (idx < s_idx)
                        goto cont;
 
-               if (cgw_put_job(skb, gwj, RTM_NEWROUTE, NETLINK_CB(cb->skb).portid,
-                   cb->nlh->nlmsg_seq, NLM_F_MULTI) < 0)
+               if (cgw_put_job(skb, gwj, RTM_NEWROUTE,
+                               NETLINK_CB(cb->skb).portid,
+                               cb->nlh->nlmsg_seq, NLM_F_MULTI) < 0)
                        break;
 cont:
                idx++;