[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20180721.161727.697901556179622139.davem@davemloft.net>
Date: Sat, 21 Jul 2018 16:17:27 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: gustavo@...eddedor.com
Cc: jhs@...atatu.com, xiyou.wangcong@...il.com, jiri@...nulli.us,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] net: sched: use PTR_ERR_OR_ZERO macro in
tcf_block_cb_register
From: "Gustavo A. R. Silva" <gustavo@...eddedor.com>
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 <gustavo@...eddedor.com>
Applied to net-next, thanks.
Powered by blists - more mailing lists