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

Linus Walleij linus.walleij at linaro.org
Wed Aug 10 06:02:05 PDT 2016


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.

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list