Thread (2 messages) flat view 2 messages, 2 authors, 2018-07-21

Re: [PATCH] net: sched: use PTR_ERR_OR_ZERO macro in tcf_block_cb_register

From: David Miller <davem@davemloft.net>
Date: 2018-07-21 23:17:50
Also in: lkml

From: "Gustavo A. R. Silva" <redacted>
Date: Wed, 18 Jul 2018 23:14:17 -0500
This line makes up what macro PTR_ERR_OR_ZERO already does. So,
make use of PTR_ERR_OR_ZERO rather than an open-code version.

This code was detected with the help of Coccinelle.

Signed-off-by: Gustavo A. R. Silva <redacted>
Applied to net-next, thanks.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help