diff options
| author | 2026-08-14 11:30:25 +0700 | |
|---|---|---|
| committer | 2026-09-01 17:53:38 +0200 | |
| commit | ef0d275786a3c98d1e52f1d4d89183c802af58db (patch) | |
| tree | 645243f4f351d2fccba38b371b53982066fa6154 /scripts/Makefile.thinlto | |
| parent | Merge tag 'v7.3-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux into gpio/for-next (diff) | |
gpio: realtek-otto: 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-1-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
