diff options
| author | Dan Carpenter <[email protected]> | 2025-04-23 08:23:15 +0000 |
|---|---|---|
| committer | Linus Walleij <[email protected]> | 2025-04-23 10:58:57 +0000 |
| commit | 446d28584723e5d4bcdb18cf6ef87cb2bb597dd8 (patch) | |
| tree | f01494df7faa35d71fef92a3542de7a3a60d6e66 /scripts/gcc-plugins/sancov_plugin.c | |
| parent | pinctrl: mediatek: Fix new design debounce issue (diff) | |
| download | kernel-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
