aboutsummaryrefslogtreecommitdiffstats
path: root/rust/helpers.c
diff options
context:
space:
mode:
authorJiasheng Jiang <[email protected]>2023-06-06 03:11:59 +0000
committerBartosz Golaszewski <[email protected]>2023-06-13 14:22:16 +0000
commitc1bcb976d8feb107ff2c12caaf12ac5e70f44d5f (patch)
tree16c8f6036995d2bd78a6593704ba0693166434a3 /rust/helpers.c
parentgpiolib: Fix GPIO chip IRQ initialization restriction (diff)
downloadkernel-c1bcb976d8feb107ff2c12caaf12ac5e70f44d5f.tar.gz
kernel-c1bcb976d8feb107ff2c12caaf12ac5e70f44d5f.zip
gpio: sifive: add missing check for platform_get_irq
Add the missing check for platform_get_irq() and return error code if it fails. The returned error code will be dealed with in builtin_platform_driver(sifive_gpio_driver) and the driver will not be registered. Fixes: f52d6d8b43e5 ("gpio: sifive: To get gpio irq offset from device tree data") Signed-off-by: Jiasheng Jiang <[email protected]> Signed-off-by: Bartosz Golaszewski <[email protected]>
Diffstat (limited to 'rust/helpers.c')
0 files changed, 0 insertions, 0 deletions