Skip to contentSkip to conversation

linux-next: build warning after merge of the mac80211 tree

DISCUSSION Stephen Rothwell 2 participants 2 messages Jan 29, 2016 Linux-next tree

lore
Share & tools
lore
#0 lore raw

Hi Johannes,

After merging the mac80211 tree, today's linux-next build (i386 defconfig) produced this warning:

In file included from include/net/wext.h:4:0,

                 from net/socket.c:97:
include/net/iw_handler.h:446:13: warning: 'wireless_nlevent_flush' defined but not used [-Wunused-function]
 static void wireless_nlevent_flush(void) {}
             ^

Introduced by commit

3730abeab65b ("cfg80211/wext: fix message ordering")

Missing inline :-(

Signature · 2 lines
Cheers,
Stephen Rothwell                    [email protected]
#1 lore raw
Quoted 13 lines · Stephen Rothwell

Hi Johannes,

After merging the mac80211 tree, today's linux-next build (i386 defconfig)
produced this warning:

In file included from include/net/wext.h:4:0,
                 from net/socket.c:97:
include/net/iw_handler.h:446:13: warning: 'wireless_nlevent_flush' defined but not used [-Wunused-function]
 static void wireless_nlevent_flush(void) {}
             ^

Quoted 5 lines

Introduced by commit

  3730abeab65b ("cfg80211/wext: fix message ordering")

Missing inline :-(

Oops. Fixed, thanks.

johannes