From: "John W. Linville" Subject: [PATCH] mac80211: add explicit padding in struct ieee80211_tx_info Date: Wed, 12 Nov 2008 10:05:37 -0500 Message-ID: <1226502337-11085-1-git-send-email-linville@tuxdriver.com> References: Return-path: Received: from charlotte.tuxdriver.com ([70.61.120.58]:45703 "EHLO smtp.tuxdriver.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752545AbYKLPQS (ORCPT ); Wed, 12 Nov 2008 10:16:18 -0500 In-Reply-To: Sender: linux-next-owner@vger.kernel.org List-ID: To: linux-wireless@vger.kernel.org Cc: linux-kernel@vger.kernel.org, linux-next@vger.kernel.org, Stephen Rothwell , Geert Uytterhoeven , Johannes Berg , "John W. Linville" Otherwise, the BUILD_BUG_ON calls in ieee80211_tx_info_clear_status can fail on some architectures. Signed-off-by: John W. Linville --- Why do we have those BUILD_BUG_ON calls anyway? Hmmm... include/net/mac80211.h | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/include/net/mac80211.h b/include/net/mac80211.h index feb52cc..38302d6 100644 --- a/include/net/mac80211.h +++ b/include/net/mac80211.h @@ -333,6 +333,7 @@ struct ieee80211_tx_info { u8 antenna_sel_tx; /* 2 byte hole */ + u8 pad[2]; union { struct { -- 1.5.4.3