Skip to content

Commit

Permalink
can: gw: cgw_dump_jobs(): avoid long lines
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
marckleinebudde committed Aug 13, 2019
1 parent 0815c89 commit 78f8a32
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions net/can/gw.c
Original file line number Diff line number Diff line change
Expand Up @@ -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++;
Expand Down

0 comments on commit 78f8a32

Please sign in to comment.