projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0815c89
)
can: gw: cgw_dump_jobs(): avoid long lines
author
Marc Kleine-Budde
<mkl@pengutronix.de>
Wed, 24 Jul 2019 12:34:42 +0000
(14:34 +0200)
committer
Marc 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
patch
|
blob
|
history
diff --git
a/net/can/gw.c
b/net/can/gw.c
index 9b2efbad1b7ec66ac71dfd4329580d1add916577..2d2be4afd56066176737cb8c16fec58de65e3870 100644
(file)
--- 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++;