Re: [PATCH script] hwmon: Use octal not symbolic permissions

2018-03-27 Thread Joe Perches
On Tue, 2018-03-27 at 08:44 -0700, Guenter Roeck wrote: > On 03/27/2018 04:48 AM, Joe Perches wrote: > > On Tue, 2018-03-27 at 03:28 -0700, Guenter Roeck wrote: > > > On 03/27/2018 12:35 AM, Joe Perches wrote: > > > > On Mon, 2018-03-26 at 23:33 -0700, Guenter Roeck wrote: > > > > > Since the

Re: [PATCH script] hwmon: Use octal not symbolic permissions

2018-03-27 Thread Guenter Roeck
On 03/27/2018 04:48 AM, Joe Perches wrote: On Tue, 2018-03-27 at 03:28 -0700, Guenter Roeck wrote: On 03/27/2018 12:35 AM, Joe Perches wrote: On Mon, 2018-03-26 at 23:33 -0700, Guenter Roeck wrote: Since the hwmon subsystem has been labeled as both "obsolete" and "obscure", fyi: It's marked

Re: [PATCH script] hwmon: Use octal not symbolic permissions

2018-03-27 Thread Joe Perches
On Tue, 2018-03-27 at 03:28 -0700, Guenter Roeck wrote: > On 03/27/2018 12:35 AM, Joe Perches wrote: > > On Mon, 2018-03-26 at 23:33 -0700, Guenter Roeck wrote: > > > Since the hwmon subsystem has been labeled as both "obsolete" and > > > "obscure", > > > > fyi: It's marked Maintained in

Re: [PATCH script] hwmon: Use octal not symbolic permissions

2018-03-27 Thread Guenter Roeck
On 03/27/2018 12:35 AM, Joe Perches wrote: On Mon, 2018-03-26 at 23:33 -0700, Guenter Roeck wrote: Since the hwmon subsystem has been labeled as both "obsolete" and "obscure", fyi: It's marked Maintained in MAINTAINERS I did not say that it was not maintained, and I am aware of the

Re: [PATCH script] hwmon: Use octal not symbolic permissions

2018-03-27 Thread Joe Perches
On Mon, 2018-03-26 at 23:33 -0700, Guenter Roeck wrote: > Since the hwmon subsystem has been labeled as both "obsolete" and "obscure", fyi: It's marked Maintained in MAINTAINERS HARDWARE MONITORING M: Jean Delvare M: Guenter Roeck L:

Re: [PATCH script] hwmon: Use octal not symbolic permissions

2018-03-27 Thread Joe Perches
On Mon, 2018-03-26 at 23:33 -0700, Guenter Roeck wrote: > On 03/26/2018 01:28 PM, Joe Perches wrote: > > drivers/hwmon is the most frequent user of symbolic permissions > > like S_IRUGO in the kernel tree. [] > I have something similar using coccinelle, Please post the script. I expect it doesn't

Re: [PATCH script] hwmon: Use octal not symbolic permissions

2018-03-27 Thread Guenter Roeck
On 03/26/2018 01:28 PM, Joe Perches wrote: drivers/hwmon is the most frequent user of symbolic permissions like S_IRUGO in the kernel tree. $ git grep -w -P "S_[A-Z]{5,5}" | \ cut -f1 -d: | cut -f1-2 -d"/" | sed -r 's/[A-Za-z0-9_-]+\.[ch]$//' | \ sort | uniq -c | sort -rn | head 3862