Thread (4 messages) read the whole thread 4 messages, 2 authors, 2020-05-25

Re: [PATCH 1/2] pinctrl: Fix return value about devm_platform_ioremap_resource()

From: Linus Walleij <hidden>
Date: 2020-05-25 11:41:45
Also in: lkml

On Sat, May 23, 2020 at 1:45 PM Tiezhu Yang [off-list ref] wrote:
When call function devm_platform_ioremap_resource(), we should use IS_ERR()
to check the return value and return PTR_ERR() if failed.

Fixes: 4b024225c4a8 ("pinctrl: use devm_platform_ioremap_resource() to simplify code")
Signed-off-by: Tiezhu Yang <yangtiezhu@loongson.cn>
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