[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CACRpkdYOrdXDMq8MJ2dPQSUf--zaX_tWZd9RYR2FQPHc0pujJQ@mail.gmail.com>
Date: Mon, 25 May 2020 13:41:29 +0200
From: Linus Walleij <linus.walleij@...aro.org>
To: Tiezhu Yang <yangtiezhu@...ngson.cn>
Cc: "open list:GPIO SUBSYSTEM" <linux-gpio@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
Xuefeng Li <lixuefeng@...ngson.cn>
Subject: Re: [PATCH 1/2] pinctrl: Fix return value about devm_platform_ioremap_resource()
On Sat, May 23, 2020 at 1:45 PM Tiezhu Yang <yangtiezhu@...ngson.cn> 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@...ngson.cn>
Patch applied!
Yours,
Linus Walleij
Powered by blists - more mailing lists