diff options
| author | bui duc phuc <phucduc.bui@gmail.com> | 2026-08-14 11:30:26 +0700 |
|---|---|---|
| committer | Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com> | 2026-09-01 17:53:39 +0200 |
| commit | 53ffd779a094d5752551dea2ba7bc787aab29229 (patch) | |
| tree | 2a03ef0355c8b827f7e72da6ce17d80cb61b869b /scripts/Makefile.thinlto | |
| parent | ef0d275786a3c98d1e52f1d4d89183c802af58db (diff) | |
| download | linux-next-53ffd779a094d5752551dea2ba7bc787aab29229.tar.gz linux-next-53ffd779a094d5752551dea2ba7bc787aab29229.zip | |
gpio: mlxbf3: 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-2-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
