diff options
author | 2024-08-28 17:24:27 +0800 | |
---|---|---|
committer | 2024-09-06 17:10:08 +0200 | |
commit | 395999829880a106bb95f0ce34e6e4c2b43c6a5d (patch) | |
tree | b3e4189be4248f6f3c1be3d043b588fa7d4a9f3c /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | mtd: concat: Use kmemdup_array instead of kmemdup for multiple allocation (diff) | |
download | wireguard-linux-395999829880a106bb95f0ce34e6e4c2b43c6a5d.tar.xz wireguard-linux-395999829880a106bb95f0ce34e6e4c2b43c6a5d.zip |
mtd: powernv: Add check devm_kasprintf() returned value
devm_kasprintf() can return a NULL pointer on failure but this
returned value is not checked.
Fixes: acfe63ec1c59 ("mtd: Convert to using %pOFn instead of device_node.name")
Signed-off-by: Charles Han <hanchunchao@inspur.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20240828092427.128177-1-hanchunchao@inspur.com
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions