[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20230816143250.GY22185@unreal>
Date: Wed, 16 Aug 2023 17:32:50 +0300
From: Leon Romanovsky <leon@...nel.org>
To: Ruan Jinjie <ruanjinjie@...wei.com>
Cc: netdev@...r.kernel.org, "David S. Miller" <davem@...emloft.net>,
Eric Dumazet <edumazet@...gle.com>,
Jakub Kicinski <kuba@...nel.org>, Paolo Abeni <pabeni@...hat.com>
Subject: Re: [PATCH -next] net: dm9051: Use PTR_ERR_OR_ZERO() to simplify code
On Wed, Aug 16, 2023 at 05:07:22PM +0800, Ruan Jinjie wrote:
> Return PTR_ERR_OR_ZERO() instead of return 0 or PTR_ERR() to
> simplify code.
>
> Signed-off-by: Ruan Jinjie <ruanjinjie@...wei.com>
> ---
> drivers/net/ethernet/davicom/dm9051.c | 5 +----
> 1 file changed, 1 insertion(+), 4 deletions(-)
Patch subject needs to be [PATCH net-next] ....
Thanks,
Reviewed-by: Leon Romanovsky <leonro@...dia.com>
Powered by blists - more mailing lists