summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorHector Martin <marcan@marcan.st>2022-01-31 19:07:11 +0300
committerKalle Valo <kvalo@kernel.org>2022-02-01 15:27:07 +0300
commit9cf6d7f2c5549b47e0dbf09fd64557a4a69cbd28 (patch)
tree77295047657b0b2a795bc0726868b5cf25564384 /tools/perf/scripts/python/syscall-counts.py
parentb50255c83b914defd61a57fbc81d452334b63f4c (diff)
downloadlinux-9cf6d7f2c5549b47e0dbf09fd64557a4a69cbd28.tar.xz
brcmfmac: of: Use devm_kstrdup for board_type & check for errors
This was missing a NULL check, and we can collapse the strlen/alloc/copy into a devm_kstrdup(). Reviewed-by: Arend van Spriel <arend.vanspriel@broadcom.com> Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com> Signed-off-by: Hector Martin <marcan@marcan.st> Signed-off-by: Kalle Valo <kvalo@kernel.org> Link: https://lore.kernel.org/r/20220131160713.245637-8-marcan@marcan.st
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions