aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi/cppc_acpi.c
diff options
context:
space:
mode:
authorMa Ke <[email protected]>2024-09-06 10:03:26 +0000
committerLinus Walleij <[email protected]>2024-10-01 12:03:34 +0000
commitb0f0e3f0552a566def55c844b0d44250c58e4df6 (patch)
treea52f13cb68481fa606ee2f1468675a07d335b6cb /drivers/acpi/cppc_acpi.c
parentpinctrl: apple: check devm_kasprintf() returned value (diff)
downloadkernel-b0f0e3f0552a566def55c844b0d44250c58e4df6.tar.gz
kernel-b0f0e3f0552a566def55c844b0d44250c58e4df6.zip
pinctrl: stm32: check devm_kasprintf() returned value
devm_kasprintf() can return a NULL pointer on failure but this returned value is not checked. Fix this lack and check the returned value. Found by code review. Cc: [email protected] Fixes: 32c170ff15b0 ("pinctrl: stm32: set default gpio line names using pin names") Signed-off-by: Ma Ke <[email protected]> Link: https://lore.kernel.org/[email protected] Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'drivers/acpi/cppc_acpi.c')
0 files changed, 0 insertions, 0 deletions