Thread (2 messages) flat view 2 messages, 2 authors, 2023-08-16

Re: [PATCH -next] net: dm9051: Use PTR_ERR_OR_ZERO() to simplify code

From: Leon Romanovsky <leon@kernel.org>
Date: 2023-08-16 14:32:54

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 <redacted>
---
 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@nvidia.com>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help