On Tue,  6 Aug 2019 18:11:19 +0200, Greg Kroah-Hartman wrote:
> When calling debugfs functions, there is no need to ever check the
> return value.  The function can work or not, but the code logic should
> never do something different based on this.
> 
> Cc: Jakub Kicinski <jakub.kicin...@netronome.com>
> Cc: "David S. Miller" <da...@davemloft.net>
> Cc: Alexei Starovoitov <a...@kernel.org>
> Cc: Daniel Borkmann <dan...@iogearbox.net>
> Cc: Jesper Dangaard Brouer <h...@kernel.org>
> Cc: John Fastabend <john.fastab...@gmail.com>
> Cc: Edwin Peer <edwin.p...@netronome.com>
> Cc: Yangtao Li <tiny.win...@gmail.com>
> Cc: Simon Horman <simon.hor...@netronome.com>
> Cc: oss-driv...@netronome.com
> Cc: netdev@vger.kernel.org
> Signed-off-by: Greg Kroah-Hartman <gre...@linuxfoundation.org>

Acked-by: Jakub Kicinski <jakub.kicin...@netronome.com>

I take it this is the case since commit ff9fb72bc077 ("debugfs: return
error values, not NULL")? I.e. v5.0? It'd be useful to know for backport
purposes.

Reply via email to