On Fri, 2008-11-07 at 12:19 +1100, Stephen Rothwell wrote: > Hi all, > > An arm cam60_defconfig build of next-20081106 produces these errors: > > include/net/mac80211.h:405: error: size of array 'type name' is negative > net/mac80211/main.c:957: error: size of array 'type name' is negative > > The first is > BUILD_BUG_ON( > offsetof(struct ieee80211_tx_info, status.ampdu_ack_len) != 23); > in ieee80211_tx_info_clear_status(). > The second is > BUILD_BUG_ON(sizeof(struct ieee80211_tx_info) > sizeof(skb->cb)); > in ieee80211_init(). > > Maybe something to do with commit > e6a9854b05c1a6af1308fe2b8c68f35abf28a3ee ("mac80211/drivers: rewrite the > rate control API") from the wireless tree (which introduced the > BUILD_BUG_ON in mac80211.h and modified struct ieee80211_tx_info > somewhat). Yeah, it does, a few people have observed it, we missed some special arm alignment rules and our structures got too large for skb->cb on arm, a patch is on its way. Thanks! johannes
Attachment:
signature.asc
Description: This is a digitally signed message part