On Wed, Oct 09, 2019 at 11:44:03AM +0200, Johannes Berg wrote:
On Wed, 2019-10-09 at 11:43 +0200, Greg KH wrote:
- for_each_element(elem, data, len) {
/* nothing */
- }
for_each_element() is not in 4.4, 4.9, 4.14, or 4.19, so this breaks the build :(
Oh, right. I had previously also said:
You also need to cherry-pick 0f3b07f027f8 ("cfg80211: add and use strongly typed element iteration macros") 7388afe09143 ("cfg80211: Use const more consistently in for_each_element macros")
as dependencies - the latter doesn't apply cleanly as it has a change that doesn't apply, but that part of the change isn't necessary.
Ok, that worked, thanks. Well, almost worked, I had to do a bit more effort for 4.4.y, but all looks good now.
thanks,
greg k-h