aboutsummaryrefslogtreecommitdiffstats
path: root/security/selinux/hooks.c
diff options
context:
space:
mode:
authorAndy Shevchenko <[email protected]>2024-11-18 09:28:02 +0000
committerBartosz Golaszewski <[email protected]>2024-11-21 08:07:42 +0000
commitc7899503ad9c06a0c6ee2796301139731cf1f5ab (patch)
tree636b118d77129180383ffc77a347857a2294efb7 /security/selinux/hooks.c
parentgpio: zevio: Add missed label initialisation (diff)
downloadkernel-c7899503ad9c06a0c6ee2796301139731cf1f5ab.tar.gz
kernel-c7899503ad9c06a0c6ee2796301139731cf1f5ab.zip
gpio: altera: Add missed base and label initialisations
During conversion driver to modern APIs the base field initial value of the GPIO chip was moved from -1 to 0, which triggers a warning. Add missed base initialisation as it was in the original code. Initialise the GPIO chip label correctly as it was done by of_mm_gpiochip_add_data() before the below mentioned change. Fixes: 50dded8d9d62 ("gpio: altera: Drop legacy-of-mm-gpiochip.h header") Signed-off-by: Andy Shevchenko <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Bartosz Golaszewski <[email protected]>
Diffstat (limited to 'security/selinux/hooks.c')
0 files changed, 0 insertions, 0 deletions