• Sven Eckelmann's avatar
    batman-adv: Warn about sysfs file access · 1392f553
    Sven Eckelmann authored
    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: default avatarSven Eckelmann <sven@narfation.org>
    Signed-off-by: default avatarSimon Wunderlich <sw@simonwunderlich.de>
    1392f553
sysfs.c 35.2 KB