aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/gcc-plugins/sancov_plugin.c
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2025-04-23 08:23:15 +0000
committerLinus Walleij <[email protected]>2025-04-23 10:58:57 +0000
commit446d28584723e5d4bcdb18cf6ef87cb2bb597dd8 (patch)
treef01494df7faa35d71fef92a3542de7a3a60d6e66 /scripts/gcc-plugins/sancov_plugin.c
parentpinctrl: mediatek: Fix new design debounce issue (diff)
downloadkernel-446d28584723e5d4bcdb18cf6ef87cb2bb597dd8.tar.gz
kernel-446d28584723e5d4bcdb18cf6ef87cb2bb597dd8.zip
pinctrl: mediatek: common-v1: Fix error checking in mtk_eint_init()
The devm_kzalloc() function doesn't return error pointers, it returns NULL on error. Then on the next line it checks the same pointer again by mistake, "->base" instead of "->base[0]". Fixes: fe412e3a6c97 ("pinctrl: mediatek: common-v1: Fix EINT breakage on older controllers") Signed-off-by: Dan Carpenter <[email protected]> Link: https://lore.kernel.org/[email protected] Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/sancov_plugin.c')
0 files changed, 0 insertions, 0 deletions