summaryrefslogtreecommitdiff
path: root/include/dt-bindings
diff options
context:
space:
mode:
authorClaudiu Beznea <claudiu.beznea@microchip.com>2023-05-30 12:39:12 +0300
committerStephen Boyd <sboyd@kernel.org>2023-06-17 07:52:50 +0300
commitbd46cd0b802d9c9576ca78007aa084ae3e74907b (patch)
tree4a36a211c8cafd51303b9fca2a7dcc5ac76ed003 /include/dt-bindings
parentb73ed981da6d25c921aaefa7ca3df85bbd85b7fc (diff)
downloadlinux-bd46cd0b802d9c9576ca78007aa084ae3e74907b.tar.xz
clk: ti: clkctrl: check return value of kasprintf()
kasprintf() returns a pointer to dynamically allocated memory. Pointer could be NULL in case allocation fails. Check pointer validity. Identified with coccinelle (kmerr.cocci script). Fixes: 852049594b9a ("clk: ti: clkctrl: convert subclocks to use proper names also") Fixes: 6c3090520554 ("clk: ti: clkctrl: Fix hidden dependency to node name") Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com> Link: https://lore.kernel.org/r/20230530093913.1656095-8-claudiu.beznea@microchip.com Reviewed-by: Tony Lindgren <tony@atomide.com> Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'include/dt-bindings')
0 files changed, 0 insertions, 0 deletions