summaryrefslogtreecommitdiffstats
path: root/include/linux/ide.h
diff options
context:
space:
mode:
authorTom Parkin <tparkin@katalix.com>2020-07-23 12:29:55 +0100
committerDavid S. Miller <davem@davemloft.net>2020-07-23 11:54:40 -0700
commit70c05bfa4a3d36c0d8e7cef86b0f6c8a9cbb8881 (patch)
treeb5b27ef6eeb2de26adbd523121c709b3547747be /include/linux/ide.h
parent0787840dad4ce7875f1e85eb8b72a54e9d87f9db (diff)
downloadlinux-70c05bfa4a3d36c0d8e7cef86b0f6c8a9cbb8881.tar.gz
linux-70c05bfa4a3d36c0d8e7cef86b0f6c8a9cbb8881.tar.bz2
linux-70c05bfa4a3d36c0d8e7cef86b0f6c8a9cbb8881.zip
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 'include/linux/ide.h')
0 files changed, 0 insertions, 0 deletions