Thread (3 messages) flat view 3 messages, 3 authors, 2016-08-02

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

From: Olof Johansson <hidden>
Date: 2016-08-02 19:00:51
Also in: lkml

On Tue, Aug 02, 2016 at 06:45:15PM +0800, Baole Ni 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.
Am I the only one who find the readability to be MUCH better for the
numeric values?


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