Thread (34 messages) 34 messages, 4 authors, 2011-06-04

Re: [RFC PATCH 03/27] zd1211rw: include mac80211.h from zd_chip.h

From: Walter Goldens <hidden>
Date: 2011-05-31 17:46:32

quoted
quoted
Date: Sunday, May 29, 2011, 11:04 PM
zd_chip.h contains one function with
a pointer to ieee80211_hw but doesn't
include mac80211.h. As a temporary solution
include
quoted
quoted
mac80211.h to avoid
a warning.
I'm still getting a warning with this patch. I think
this happened when Jussi fixed some stuff awhile back.
quoted
In function ‘zd_mac_alloc_hw’:
drivers/net/wireless/zd1211rw/zd_mac.c:1340:7:
warning: statement with no effect

Hm.. I'm not getting this with wireless-testing.
Ubuntu's default kernels 2.6.35 and .38 exhibit this warning when compiling compat-wireless. If my memory serves me right, the warning began to occur right after you've submitted a patch to rename CR* marcos to ZD_CR*.

Walter 
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help