Quoting Walter Goldens <goldenstranger@xxxxxxxxx>:
>> 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
>> 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.
>
> 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*.
Compiled compat-wireless-2011-05-30 on Ubuntu 11.04, 64bit:
2.6.38-8-generic & 2.6.38-8-server and 32bit: 2.6.38-8-generic &
2.6.38-8-generic-pae. No warnings at zd1211rw at all. (?)
Walter
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html