Thread (2 messages) flat view 2 messages, 2 authors, 2018-05-14

Re: [PATCH] net: ethernet: ti: Use ERR_CAST instead of ERR_PTR(PTR_ERR())

From: David Miller <davem@davemloft.net>
Date: 2018-05-14 20:28:15
Also in: lkml

From: Hernán Gonzalez <redacted>
Date: Sun, 13 May 2018 20:33:49 -0300
Use ERR_CAST inlined function instead of ERR_PTR(PTR_ERR(...)).

drivers/net/ethernet/ti/cpts.c:567:9-16: WARNING: ERR_CAST can be used with cpts->refclk
Generated by: scripts/coccinelle/api/err_cast.cocci

Signed-off-by: Hernán Gonzalez <redacted>
Applied to net-next, thank you.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help