diff options
| author | bui duc phuc <phucduc.bui@gmail.com> | 2026-08-14 11:30:27 +0700 |
|---|---|---|
| committer | Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com> | 2026-09-01 17:53:39 +0200 |
| commit | d8aaf6b0fdc835d10c7def7775803b28ebfd4d81 (patch) | |
| tree | 79bac7f4bf69bea06a0ae77f28cee99ca91d259e /scripts/Makefile.thinlto | |
| parent | 53ffd779a094d5752551dea2ba7bc787aab29229 (diff) | |
| download | linux-next-d8aaf6b0fdc835d10c7def7775803b28ebfd4d81.tar.gz linux-next-d8aaf6b0fdc835d10c7def7775803b28ebfd4d81.zip | |
gpio: mlxbf2: Handle errors from optional IRQ lookup
platform_get_irq_optional() returns a positive IRQ number on success or
a negative error code on failure. For an optional IRQ, -ENXIO indicates
that no optional IRQ is available. Other errors, such as -EPROBE_DEFER
and -EINVAL, should be propagated so that the caller can handle them
appropriately.
Propagate negative errors other than -ENXIO.
Signed-off-by: bui duc phuc <phucduc.bui@gmail.com>
Link: https://patch.msgid.link/20260814043028.12548-3-phucduc.bui@gmail.com
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
