summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorTom Parkin <tparkin@katalix.com>2020-07-23 14:29:55 +0300
committerDavid S. Miller <davem@davemloft.net>2020-07-23 21:54:40 +0300
commit70c05bfa4a3d36c0d8e7cef86b0f6c8a9cbb8881 (patch)
treeb5b27ef6eeb2de26adbd523121c709b3547747be /tools/perf/scripts/python
parent0787840dad4ce7875f1e85eb8b72a54e9d87f9db (diff)
downloadlinux-70c05bfa4a3d36c0d8e7cef86b0f6c8a9cbb8881.tar.xz
l2tp: cleanup kzalloc calls
Passing "sizeof(struct blah)" in kzalloc calls is less readable, potentially prone to future bugs if the type of the pointer is changed, and triggers checkpatch warnings. Tweak the kzalloc calls in l2tp which use this form to avoid the warning. Signed-off-by: Tom Parkin <tparkin@katalix.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions