Re: [PATCH] pinctrl: nomadik: Add error handling for find_nmk_gpio_from_pin
From: Markus Elfring <hidden>
Date: 2025-02-20 12:15:15
Also in:
linux-gpio, lkml, stable
From: Markus Elfring <hidden>
Date: 2025-02-20 12:15:15
Also in:
linux-gpio, lkml, stable
…
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