Thread (2 messages) 2 messages, 2 authors, 2017-08-22

Re: [PATCH] pinctrl: amd: fix error return code in amd_gpio_probe()

From: Linus Walleij <hidden>
Date: 2017-08-22 12:25:05
Also in: lkml

On Wed, Aug 9, 2017 at 6:09 PM, Gustavo A. R. Silva
[off-list ref] wrote:
platform_get_irq() returns an error code, but the pinctrl-amd driver
ignores it and always returns -EINVAL. This is not correct and,
prevents -EPROBE_DEFER from being propagated properly.

Print and propagate the return value of platform_get_irq on failure.

This issue was detected with the help of Coccinelle.

Signed-off-by: Gustavo A. R. Silva <redacted>
Patch applied.

Yours,
Linus Walleij
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help