[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190806095008.57007f2f@cakuba.netronome.com>
Date: Tue, 6 Aug 2019 09:50:08 -0700
From: Jakub Kicinski <jakub.kicinski@...ronome.com>
To: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Cc: netdev@...r.kernel.org, "David S. Miller" <davem@...emloft.net>,
Alexei Starovoitov <ast@...nel.org>,
Daniel Borkmann <daniel@...earbox.net>,
Jesper Dangaard Brouer <hawk@...nel.org>,
John Fastabend <john.fastabend@...il.com>,
Edwin Peer <edwin.peer@...ronome.com>,
Yangtao Li <tiny.windzz@...il.com>,
Simon Horman <simon.horman@...ronome.com>,
oss-drivers@...ronome.com
Subject: Re: [PATCH 08/17] nfp: no need to check return value of
debugfs_create functions
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.kicinski@...ronome.com>
> Cc: "David S. Miller" <davem@...emloft.net>
> Cc: Alexei Starovoitov <ast@...nel.org>
> Cc: Daniel Borkmann <daniel@...earbox.net>
> Cc: Jesper Dangaard Brouer <hawk@...nel.org>
> Cc: John Fastabend <john.fastabend@...il.com>
> Cc: Edwin Peer <edwin.peer@...ronome.com>
> Cc: Yangtao Li <tiny.windzz@...il.com>
> Cc: Simon Horman <simon.horman@...ronome.com>
> Cc: oss-drivers@...ronome.com
> Cc: netdev@...r.kernel.org
> Signed-off-by: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Acked-by: Jakub Kicinski <jakub.kicinski@...ronome.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.
Powered by blists - more mailing lists