Skip to content

l2tp: further checkpatch.pl cleanups

Tom Parkin netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6l2tp: cleanup comparisons to NULLnet/l2tp/l2tp_core.c net/l2tp/l2tp_debugfs.c net/l2tp/l2tp_ip.c +3 more+47 -480 replies
2/6l2tp: cleanup unnecessary braces in if statementsnet/l2tp/l2tp_core.c net/l2tp/l2tp_ppp.c+12 -170 replies
3/6l2tp: check socket address type in l2tp_dfs_seq_tunnel_shownet/l2tp/l2tp_debugfs.c+5 -30 replies
4/6l2tp: cleanup netlink send of tunnel address informationnet/l2tp/l2tp_netlink.c+70 -560 replies
5/6l2tp: cleanup netlink tunnel create address handlingnet/l2tp/l2tp_netlink.c+33 -240 replies
6/6l2tp: cleanup kzalloc callsnet/l2tp/l2tp_core.c+2 -20 replies

Reviews trailers per patch

None of the 6 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchJames Chapman
SeriesR-b
1/6
2/6
3/6
4/6
5/6
6/6

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH net-next 0/6] l2tp: further checkpatch.pl cleanups

l2tp hasn't been kept up to date with the static analysis checks offered by checkpatch.pl.

This patchset builds on the series "l2tp: cleanup checkpatch.pl warnings". It includes small refactoring changes which improve code quality and resolve a subset of the checkpatch warnings for the l2tp codebase.

Tom Parkin (6):
l2tp: cleanup comparisons to NULL
l2tp: cleanup unnecessary braces in if statements
l2tp: check socket address type in l2tp_dfs_seq_tunnel_show
l2tp: cleanup netlink send of tunnel address information
l2tp: cleanup netlink tunnel create address handling
l2tp: cleanup kzalloc calls

 net/l2tp/l2tp_core.c    |  30 +++---
 net/l2tp/l2tp_debugfs.c |  20 ++--
 net/l2tp/l2tp_ip.c      |   2 +-
 net/l2tp/l2tp_ip6.c     |   2 +-
 net/l2tp/l2tp_netlink.c | 206 ++++++++++++++++++++++------------------
 net/l2tp/l2tp_ppp.c     |  59 ++++++------
 6 files changed, 169 insertions(+), 150 deletions(-)
Signature · 1 line
2.17.1