aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/kvm/x86/nested_exceptions_test.c
diff options
context:
space:
mode:
authorCharles Han <[email protected]>2025-02-12 10:05:32 +0000
committerLinus Walleij <[email protected]>2025-02-25 16:21:50 +0000
commitacf40ab42799e4ae1397ee6f5c5941092d66f999 (patch)
tree2e758e1c6cabc4df0baa20d94a19e67aec08750e /tools/testing/selftests/kvm/x86/nested_exceptions_test.c
parentpinctrl: bcm281xx: Fix incorrect regmap max_registers value (diff)
downloadkernel-acf40ab42799e4ae1397ee6f5c5941092d66f999.tar.gz
kernel-acf40ab42799e4ae1397ee6f5c5941092d66f999.zip
pinctrl: nuvoton: npcm8xx: Add NULL check in npcm8xx_gpio_fw
devm_kasprintf() calls can return null pointers on failure. But the return values were not checked in npcm8xx_gpio_fw(). Add NULL check in npcm8xx_gpio_fw(), to handle kernel NULL pointer dereference error. Fixes: acf4884a5717 ("pinctrl: nuvoton: add NPCM8XX pinctrl and GPIO driver") Signed-off-by: Charles Han <[email protected]> Link: https://lore.kernel.org/[email protected] Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'tools/testing/selftests/kvm/x86/nested_exceptions_test.c')
0 files changed, 0 insertions, 0 deletions