2022-06-12 16:15:10

by Sergey Shtylyov

[permalink] [raw]
Subject: Re: [PATCH] ata: handle failure of devm_ioremap()

Hello!

The subject should include the driver's name, like below:

ata: pata_pxa: handle failure of devm_ioremap()

On 6/12/22 10:32 AM, Li Qiong wrote:

> As the possible failure of the devm_ioremap(), the return value
> could be NULL. Therefore it should be better to check it and
> print error message, return '-ENOMEM' error code.
>
> Signed-off-by: Li Qiong <[email protected]>


Reviewed-by: Sergey Shtylyov <[email protected]>

[...]

MBR, Sergey