summaryrefslogtreecommitdiffstats
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@linaro.org>2025-04-23 11:23:15 +0300
committerLinus Walleij <linus.walleij@linaro.org>2025-04-23 12:58:57 +0200
commit446d28584723e5d4bcdb18cf6ef87cb2bb597dd8 (patch)
treef01494df7faa35d71fef92a3542de7a3a60d6e66 /scripts/generate_rust_analyzer.py
parent34024cf69c51b11c2b608f5d578626b9b1c484f5 (diff)
downloadlinux-446d28584723e5d4bcdb18cf6ef87cb2bb597dd8.tar.gz
linux-446d28584723e5d4bcdb18cf6ef87cb2bb597dd8.tar.bz2
linux-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 <dan.carpenter@linaro.org> Link: https://lore.kernel.org/aAijc10fHka1WAMX@stanley.mountain Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions