summaryrefslogtreecommitdiffstats
path: root/net/can
diff options
context:
space:
mode:
authorMarc Kleine-Budde <mkl@pengutronix.de>2019-07-24 14:34:42 +0200
committerMarc Kleine-Budde <mkl@pengutronix.de>2019-08-13 17:32:21 +0200
commit78f8a326f924b090d5a495049c91aa599796f2aa (patch)
tree7ce6c9245fbe4f188b2623a88df0d5daf804d5a1 /net/can
parentcan: gw: can_can_gw_rcv(): remove return at end of void function (diff)
downloadlinux-78f8a326f924b090d5a495049c91aa599796f2aa.tar.xz
linux-78f8a326f924b090d5a495049c91aa599796f2aa.zip
can: gw: cgw_dump_jobs(): avoid long lines
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>
Diffstat (limited to 'net/can')
-rw-r--r--net/can/gw.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/net/can/gw.c b/net/can/gw.c
index 9b2efbad1b7e..2d2be4afd560 100644
--- a/net/can/gw.c
+++ b/net/can/gw.c
@@ -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++;