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

Vivien Didelot
2017-09-08T14:21:52Z

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.

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.

Thanks,

Vivien