]> git.baikalelectronics.ru Git - kernel.git/commit
batman-adv: Use octal permissions instead of macros
authorSven Eckelmann <sven@narfation.org>
Thu, 1 Sep 2016 08:25:12 +0000 (10:25 +0200)
committerSimon Wunderlich <sw@simonwunderlich.de>
Wed, 19 Oct 2016 06:37:53 +0000 (08:37 +0200)
commit6535c31fac4e6a48fed68748e1afcc417f2d100b
tree90f546e27c8d845db863ec66260a5ec0eede97bd
parent5a6dfdffe112aea450c9833f605543ed38502c0b
batman-adv: Use octal permissions instead of macros

Linus prefers to have octal permission numbers instead of combinations of
macro names ("random line noise"). Also old existing "bad symbolic
permission bit macro use" should be converted to octal numbers.
(http://lkml.kernel.org/r/CA+55aFw5v23T-zvDZp-MmD_EYxF8WbafwwB59934FV7g21uMGQ@mail.gmail.com)

Also remove the S_IFREG bit from the octal representation because it is
filtered out by debugfs_create.

Signed-off-by: Sven Eckelmann <sven@narfation.org>
Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de>
net/batman-adv/debugfs.c
net/batman-adv/icmp_socket.c
net/batman-adv/log.c
net/batman-adv/network-coding.c
net/batman-adv/sysfs.c