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

From: Vivien Didelot
Date: Fri Sep 08 2017 - 10:21:58 EST


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