Search Linux Wireless

Re: m68k: linux-next allmodconfig

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Nov 19, 2008 at 05:02:11PM -0800, Andrew Morton wrote:
> 
> include/net/mac80211.h: In function 'ieee80211_tx_info_clear_status':
> include/net/mac80211.h:400: error: size of array 'type name' is negative
> include/net/mac80211.h:405: error: size of array 'type name' is negative
> 
> due to:
> 
> static inline void
> ieee80211_tx_info_clear_status(struct ieee80211_tx_info *info)
> {
>         int i;
> 
>         BUILD_BUG_ON(offsetof(struct ieee80211_tx_info, status.rates) !=
>                      offsetof(struct ieee80211_tx_info, control.rates));
>         BUILD_BUG_ON(offsetof(struct ieee80211_tx_info, status.rates) !=
>                      offsetof(struct ieee80211_tx_info, driver_rates));
> -->     BUILD_BUG_ON(offsetof(struct ieee80211_tx_info, status.rates) != 8);
>         /* clear the rate counts */
>         for (i = 0; i < IEEE80211_TX_MAX_RATES; i++)
>                 info->status.rates[i].count = 0;
> 
> -->     BUILD_BUG_ON(
>             offsetof(struct ieee80211_tx_info, status.ampdu_ack_len) != 23);
>         memset(&info->status.ampdu_ack_len, 0,
>                sizeof(struct ieee80211_tx_info) -
>                offsetof(struct ieee80211_tx_info, status.ampdu_ack_len));
> }

I just sent a pull request yesterday that contains a patch to correct this.

John
-- 
John W. Linville		Linux should be at the core
linville@xxxxxxxxxxxxx			of your literate lifestyle.
--
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

[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux