[PATCH v1 1/1] pinctr: microchip-sgpio: Correct the fwnode_irq_get() return value check

Michael Walle michael at walle.cc
Mon Sep 5 15:24:43 PDT 2022


Am 2022-09-05 21:08, schrieb Andy Shevchenko:
> fwnode_irq_get() may return all possible signed values, such as Linux
> error code. Fix the code to handle this properly.
> 
> Fixes: be2dc859abd4 ("pinctrl: pinctrl-microchip-sgpio: Add irq
> support (for sparx5)")
> Signed-off-by: Andy Shevchenko <andriy.shevchenko at linux.intel.com>

Reviewed-by: Michael Walle <michael at walle.cc>

Btw. do we care about EPROBE_DEFER?

-michael



More information about the linux-arm-kernel mailing list