diff options
author | 2020-03-24 06:45:48 -0400 | |
---|---|---|
committer | 2020-03-24 12:36:55 +0100 | |
commit | 7cf9a79dbae127776a6ddd455494faec9f3af9fb (patch) | |
tree | 6a7145b804f98a61036e51c2ec60b453383b7df7 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | staging: comedi: ni_labpc_common: Reformat multiple line dereference (diff) | |
download | wireguard-linux-7cf9a79dbae127776a6ddd455494faec9f3af9fb.tar.xz wireguard-linux-7cf9a79dbae127776a6ddd455494faec9f3af9fb.zip |
Staging: speakup: Use sizeof(*var) in kmalloc().
Modifying struct allocation in kmalloc() to match the
coding standards.
Checkpatch.pl CHECK: Prefer kmalloc(sizeof(*ldisc_data)...)
over kmalloc(sizeof(struct spk_ldisc_data)...)
Signed-off-by: Sam Muhammed <jane.pnx9@gmail.com>
Reviewed-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
Link: https://lore.kernel.org/r/19494bdab5709693126e0c0ee14b179a3b601207.1585046066.git.jane.pnx9@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions