aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-memcpy.c
diff options
context:
space:
mode:
authorAndy Shevchenko <[email protected]>2022-05-07 13:22:57 +0300
committerLinus Walleij <[email protected]>2022-05-14 01:13:42 +0200
commit8b3dd882bfd2cf00da986bb0cf5c607e23c0f110 (patch)
tree19508005fa9b22e2b8fc77eb66c772ffb9ab67e0 /lib/test_fortify/write_overflow-memcpy.c
parent7755d26c0425cd68439686a9cdb65afe9476970c (diff)
pinctrl: stm32: Unshadow np variable in stm32_pctl_probe()
The np variable is used globally for stm32_pctl_probe() and in one of its code branches. cppcheck is not happy with that: pinctrl-stm32.c:1530:23: warning: Local variable 'np' shadows outer variable [shadowVariable] Instead of simply renaming one of the variables convert some code to use a device pointer directly. Fixes: bb949ed9b16b ("pinctrl: stm32: Switch to use for_each_gpiochip_node() helper") Reported-by: kernel test robot <[email protected]> Signed-off-by: Andy Shevchenko <[email protected]> Reviewed-by: Fabien Dessenne <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-memcpy.c')
0 files changed, 0 insertions, 0 deletions