Thread (1 message) 1 message, 1 author, 2018-09-21

[PATCH -next] pinctrl: mediatek: paris: fix return value check in mtk_paris_pinctrl_probe()

From: Linus Walleij <hidden>
Date: 2018-09-21 16:02:06
Also in: kernel-janitors, linux-gpio, linux-mediatek

On Wed, Sep 19, 2018 at 11:12 PM Wei Yongjun [off-list ref] wrote:
In case of error, the function devm_kmalloc_array() returns NULL pointer
not ERR_PTR(). The IS_ERR() test in the return value check should be
replaced with NULL test.

Fixes: 805250982bb5 ("pinctrl: mediatek: add pinctrl-paris that implements the vendor dt-bindings")
Signed-off-by: Wei Yongjun <redacted>
Patch applied with Sean's ACK.

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