[PATCH] pinctrl: nomadik: Add error handling for find_nmk_gpio_from_pin

Markus Elfring Markus.Elfring at web.de
Thu Feb 20 04:14:59 PST 2025


…
> To fix this, add error handling to check the return value of
> find_nmk_gpio_from_pin. Log an error message indicating an
> invalid pin offset and return -EINVAL immediately  If the function

                                                    if the function call?


> fails.

  failed?


* You may occasionally put more than 66 characters into text lines
  of such a change description.

* How do you think about to append parentheses to function names?


Regards,
Markus



More information about the linux-arm-kernel mailing list