commit | 70c05bfa4a3d36c0d8e7cef86b0f6c8a9cbb8881 | [log] [tgz] |
---|---|---|
author | Tom Parkin <tparkin@katalix.com> | Thu Jul 23 12:29:55 2020 +0100 |
committer | David S. Miller <davem@davemloft.net> | Thu Jul 23 11:54:40 2020 -0700 |
tree | b5b27ef6eeb2de26adbd523121c709b3547747be | |
parent | 0787840dad4ce7875f1e85eb8b72a54e9d87f9db [diff] |
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>