]> asedeno.scripts.mit.edu Git - linux.git/commit
batman-adv: Warn about sysfs file access
authorSven Eckelmann <sven@narfation.org>
Sun, 3 Mar 2019 17:02:59 +0000 (18:02 +0100)
committerSimon Wunderlich <sw@simonwunderlich.de>
Mon, 25 Mar 2019 09:01:12 +0000 (10:01 +0100)
commit1392f553a4bfc1a10fd1e3a1a44e6c0acff46fbe
treebd106b112698452188c0f5c6df5ed4e6b43828fc
parent42cdd521487f6509f52096fa08590f275073e81b
batman-adv: Warn about sysfs file access

The sysfs files to read and modify the configuration settings were replaced
by the batadv generic netlink family. They are also marked as obsolete in
the ABI documentation. But not all users of this functionality might follow
changes in the Documentation/ABI/obsolete/ folder. They might benefit from
a warning messages about the deprecation of the functionality which they
just tried to access

  batman_adv: [Deprecated]: batctl (pid 30381) Use of sysfs file "orig_interval".
  Use batadv genl family instead

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