From: Ben Hutchings Date: Mon, 23 Jan 2017 15:22:56 +0000 (+0000) Subject: cfg80211: avoid ABI change in 4.9.3 X-Git-Tag: archive/raspbian/4.9.13-1+rpi1~11^2^2~24 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=a924160c4158fd1f9f90948677b39f590fe00af5;p=linux-4.9.git cfg80211: avoid ABI change in 4.9.3 enum nl80211_attrs got a new enumerator, which should be safe (it's meant to be extensible). But two exported functions take it as a parameter type. Hide the change from genksyms so it doesn't consider this to change their ABI. Gbp-Pq: Topic debian Gbp-Pq: Name cfg80211-avoid-abi-change-in-4.9.3.patch --- diff --git a/include/uapi/linux/nl80211.h b/include/uapi/linux/nl80211.h index d3cbe48b286d..c7c7fa299463 100644 --- a/include/uapi/linux/nl80211.h +++ b/include/uapi/linux/nl80211.h @@ -2339,7 +2339,9 @@ enum nl80211_attrs { NL80211_ATTR_NAN_FUNC, NL80211_ATTR_NAN_MATCH, +#if !defined(__KERNEL__) || !defined(__GENKSYMS__) NL80211_ATTR_BSSID, +#endif /* add attributes here, update the policy in nl80211.c */