Re: [PATCH 0947/1285] Replace numeric parameter like 0444 with macro

2016-08-02 Thread Steve Cotton
On Tue, Aug 02, 2016 at 09:51:18AM -0300, Mauro Carvalho Chehab wrote: > Em Tue, 2 Aug 2016 20:01:34 +0800 Baole Ni escreveu: > > > I find that the developers often just specified the numeric value > > when calling a macro which is defined with a parameter for access > > permission. > > As we k

Re: [PATCH 0947/1285] Replace numeric parameter like 0444 with macro

2016-08-02 Thread Randy Dunlap
On 08/02/16 05:51, Mauro Carvalho Chehab wrote: > Em Tue, 2 Aug 2016 20:01:34 +0800 > Baole Ni escreveu: > >> I find that the developers often just specified the numeric value >> when calling a macro which is defined with a parameter for access permission. >> As we know, these numeric value for

Re: [PATCH 0947/1285] Replace numeric parameter like 0444 with macro

2016-08-02 Thread Mauro Carvalho Chehab
Em Tue, 2 Aug 2016 20:01:34 +0800 Baole Ni escreveu: > I find that the developers often just specified the numeric value > when calling a macro which is defined with a parameter for access permission. > As we know, these numeric value for access permission have had the > corresponding macro, >

[PATCH 0947/1285] Replace numeric parameter like 0444 with macro

2016-08-02 Thread Baole Ni
I find that the developers often just specified the numeric value when calling a macro which is defined with a parameter for access permission. As we know, these numeric value for access permission have had the corresponding macro, and that using macro can improve the robustness and readability of