ath10k: align ath10k_htt_txbuf structures
authorKalle Valo <kvalo@codeaurora.org>
Mon, 11 Feb 2019 16:48:08 +0000 (18:48 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 12 Feb 2019 18:49:35 +0000 (20:49 +0200)
commit385bd8816cb517efc7fdd0a5d4081c76b16d5da1
tree97a2a5e0c794f7024b052f6490fe747ffa5ac68d
parentdb3b6280f5f1a8bd91c97bfb344bfc80655d07b2
ath10k: align ath10k_htt_txbuf structures

With W=1 GCC warns:

drivers/net/wireless/ath/ath10k/htt.h:1746:1: warning: alignment 1 of 'struct ath10k_htt_txbuf_32' is less than 4 [-Wpacked-not-aligned]
drivers/net/wireless/ath/ath10k/htt.h:1753:1: warning: alignment 1 of 'struct ath10k_htt_txbuf_64' is less than 4 [-Wpacked-not-aligned]

Fix that by using __align(4). Compile tested only.

Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ath/ath10k/htt.h