lkml.org 
[lkml]   [2020]   [May]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH -next] net: ethernet: ti: Use PTR_ERR_OR_ZERO() to simplify code
From
From: Samuel Zou <zou_wei@huawei.com>
Date: Wed, 6 May 2020 10:54:58 +0800

> Fixes coccicheck warning:
>
> drivers/net/ethernet/ti/am65-cpts.c:1017:1-3: WARNING: PTR_ERR_OR_ZERO can be used
>
> Reported-by: Hulk Robot <hulkci@huawei.com>
> Signed-off-by: Samuel Zou <zou_wei@huawei.com>

Applied to net-next, thank you.

\
 
 \ /
  Last update: 2020-05-06 22:44    [W:0.031 / U:0.020 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site