[OpenWrt-Devel] [PATCH] generic: add linux 4.1-rc1 support
dirkneukirchen at web.de
Sat May 2 04:49:17 EDT 2015
On 01.05.2015 11:21, Hauke Mehrtens wrote:
> On 05/01/2015 10:59 AM, Dirk Neukirchen wrote:
>> On 28.04.2015 23:08, Álvaro Fernández Rojas wrote:
>>> Boot tested: http://pastebin.com/L6aAb9xj
>>> Signed-off-by: Álvaro Fernández Rojas <noltari at gmail.com>
>> Great work !
>> 2. any(?) mac80211 does not built
>> Error: include/net/cfg80211.h:3249:25: error: 'struct wiphy' has no member named '_net'
>> return read_pnet(&wiphy->_net);
>> I did try to use the v4.1-rc1 Backports package as drop-in (only some OpenWrt specific driver series patches were not applied)
>> since it should deal with that error, (
>> but I get compile errors with that too:
>> include/net/cfg80211.h:3253:2: error: implicit declaration of function 'possible_write_pnet'
>> include/net/cfg80211.h:3248:2: error: implicit declaration of function 'possible_read_pnet'
>> (introduced by https://git.kernel.org/cgit/linux/kernel/git/backports/backports.git/tree/patches/collateral-evolutions/network/0053-possible_net_t.patch )
> This looks like a bug in backports, I haven't tested this image against
> kernel 4.1. Please try the attached patch.
Still errors :/
steps to replicate:
- Kernel 4.1 patch
- symbol fixup and mac80211 change to use backports package that is 4.1-rc1 versioned
(so Kernel 4.1 with backports 4.1-rc1)
- backports: remove non applying patches
- your patch
a patch series that contains all the changes/steps can be found at:
results in compile error:
In file included from ...../linux-x86_64/backports-4.1-rc1-1/include/net/mac80211.h:22:0,
...../linux-x86_64/backports-4.1-rc1-1/include/net/cfg80211.h: In function 'wiphy_net':
...../linux-x86_64/backports-4.1-rc1-1/include/net/cfg80211.h:3248:2: error: too few arguments to function 'write_pnet'
In file included from ...../linux-x86_64/backports-4.1-rc1-1/backport-include/net/net_namespace.h:4:0,
include/net/net_namespace.h:240:20: note: declared here
static inline void write_pnet(possible_net_t *pnet, struct net *net)
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
More information about the openwrt-devel