aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/gcc-plugins/sancov_plugin.c
diff options
context:
space:
mode:
authorJonas Gorski <[email protected]>2021-10-14 12:33:42 +0000
committerBartosz Golaszewski <[email protected]>2021-10-25 08:10:37 +0000
commit85fe6415c146d5d42ce300c12f1ecf4d4af47d40 (patch)
treea7d08f69b07bd3accb7a0146db8a17025ae3b8f8 /scripts/gcc-plugins/sancov_plugin.c
parentgpio: mockup: Convert to use software nodes (diff)
downloadkernel-85fe6415c146d5d42ce300c12f1ecf4d4af47d40.tar.gz
kernel-85fe6415c146d5d42ce300c12f1ecf4d4af47d40.zip
gpio: xgs-iproc: fix parsing of ngpios property
of_property_read_u32 returns 0 on success, not true, so we need to invert the check to actually take over the provided ngpio value. Fixes: 6a41b6c5fc20 ("gpio: Add xgs-iproc driver") Signed-off-by: Jonas Gorski <[email protected]> Reviewed-by: Chris Packham <[email protected]> Reviewed-by: Florian Fainelli <[email protected]> Reviewed-by: Linus Walleij <[email protected]> Signed-off-by: Bartosz Golaszewski <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/sancov_plugin.c')
0 files changed, 0 insertions, 0 deletions