Thread (43 messages) 43 messages, 11 authors, 2017-09-15

Re: [PATCH net-next v2 02/10] net: dsa: debugfs: add tree

flat view

From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Date: 2017-09-08 14:40:32
Also in: lkml

On Fri, Sep 08, 2017 at 10:18:27AM -0400, Vivien Didelot wrote:
Hi Greg,

Can I ask for a quick review of this patch as well? It's the one adding
the boilerplate for a single debugfs file, and I'm pretty sure it can be
reduced somehow.
I don't see a patch here :(
Also more important, you will notice what seems to be a bug to me:
I can read or write a file even if I didn't mask the corresponding mode,
hence the double check in dsa_debugfs_show and dsa_debugfs_write.
The mode can be changed by userspace, you shouldn't ever need to check
it in any debugfs calls, right?

thanks,

greg k-h
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help