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

Arnd Bergmann arnd at arndb.de
Wed Aug 10 06:45:30 PDT 2016


On Wednesday, August 10, 2016 3:02:05 PM CEST Linus Walleij wrote:
> On Tue, Aug 2, 2016 at 12:52 PM, Baole Ni <baolex.ni at intel.com> wrote:
> 
> > 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 the code,
> > thus, I suggest replacing the numeric parameter with the macro.
> >
> > Signed-off-by: Chuansheng Liu <chuansheng.liu at intel.com>
> > Signed-off-by: Baole Ni <baolex.ni at intel.com>
> 
> Acked-by: Linus Walleij <linus.walleij at linaro.org>
> 
> I assume Wolfram will merge this.

I assume not, see http://lwn.net/Articles/696227/

	Arnd



More information about the linux-arm-kernel mailing list