aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorHector Martin <[email protected]>2022-02-01 01:07:11 +0900
committerKalle Valo <[email protected]>2022-02-01 14:27:07 +0200
commit9cf6d7f2c5549b47e0dbf09fd64557a4a69cbd28 (patch)
tree77295047657b0b2a795bc0726868b5cf25564384 /tools/perf/scripts/python
parentb50255c83b914defd61a57fbc81d452334b63f4c (diff)
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 <[email protected]> Reviewed-by: Andy Shevchenko <[email protected]> Signed-off-by: Hector Martin <[email protected]> Signed-off-by: Kalle Valo <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions