aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorKimberly Brown <[email protected]>2018-10-25 20:04:55 -0400
committerGreg Kroah-Hartman <[email protected]>2018-11-05 14:16:32 +0100
commitcd27f56fce4fedc975663ecebb8166444a80b75c (patch)
treeb7334499377d7ce9a1081caedcda02168922a10f /tools/perf/scripts/python/export-to-sqlite.py
parent651022382c7f8da46cb4872a545ee1da6d097d2a (diff)
staging: gasket: use sizeof(*p) for memory allocation
Use sizeof(*p) instead of sizeof(struct P) for memory allocation. This change complies with the Linux kernel coding style. It improves readability and decreases the opportunity for bugs if the pointer variable type is changed. Issue found by checkpatch. Signed-off-by: Kimberly Brown <[email protected]> Acked-by: Todd Poynor <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions