Thread (4 messages) 4 messages, 4 authors, 2016-08-10

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

From: arnd@arndb.de (Arnd Bergmann)
Date: 2016-08-10 19:02:38
Also in: linux-i2c, lkml

On Wednesday, August 10, 2016 3:02:05 PM CEST Linus Walleij wrote:
On Tue, Aug 2, 2016 at 12:52 PM, Baole Ni [off-list ref] wrote:
quoted
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 <redacted>
Signed-off-by: Baole Ni <redacted>
Acked-by: Linus Walleij <redacted>

I assume Wolfram will merge this.
I assume not, see http://lwn.net/Articles/696227/

	Arnd
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help