On Dienstag, 24. Januar 2017 01:00:30 CET Linus Lüssing wrote:
This commit restructures the compat code regarding cfg80211 to achieve the following:
a) Allows to compile kernels < 3.16 with -Werror by replacing the "#warning" with a runtime warning through pr_warn_once(). b) Allows to run < 3.16 kernels without warnings if no cfg80211 based interface is used. c) Migrates cfg80211 compat code from compat.h to compat cfg80211.h to keep compat.h slim.
Signed-off-by: Linus Lüssing linus.luessing@c0d3.blue
compat-include/net/cfg80211.h | 21 ++++++++++++++++++++- compat.h | 21 --------------------- 2 files changed, 20 insertions(+), 22 deletions(-)
Applied in 3da7de5d6aa8f69d6d7daa62f3e6d3f7ebed5772 [1]
Thanks, Sven
[1] https://git.open-mesh.org/batman-adv.git/commit/3da7de5d6aa8f69d6d7daa62f3e6...