mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-19 18:24:14 +08:00
57ad583f20
Symbolic macros are unintuitive and hard to read, whereas octal constants are much easier to interpret. Replace macros for the basic permission flags (user/group/other read/write/execute) with numeric constants instead, across the whole powerpc tree. Introducing a significant number of changes across the tree for no runtime benefit isn't exactly desirable, but so long as these macros are still used in the tree people will keep sending patches that add them. Not only are they hard to parse at a glance, there are multiple ways of coming to the same value (as you can see with 0444 and 0644 in this patch) which hurts readability. Signed-off-by: Russell Currey <ruscur@russell.cc> Reviewed-by: Cyril Bur <cyrilbur@gmail.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> |
||
---|---|---|
.. | ||
asp834x.c | ||
Kconfig | ||
km83xx.c | ||
Makefile | ||
mcu_mpc8349emitx.c | ||
misc.c | ||
mpc83xx.h | ||
mpc830x_rdb.c | ||
mpc831x_rdb.c | ||
mpc832x_mds.c | ||
mpc832x_rdb.c | ||
mpc834x_itx.c | ||
mpc834x_mds.c | ||
mpc836x_mds.c | ||
mpc836x_rdk.c | ||
mpc837x_mds.c | ||
mpc837x_rdb.c | ||
sbc834x.c | ||
suspend-asm.S | ||
suspend.c | ||
usb.c |