• Kalle Valo's avatar
    ath10k: align ath10k_htt_txbuf structures · 385bd881
    Kalle Valo authored
    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: default avatarKalle Valo <kvalo@codeaurora.org>
    385bd881
htt.h 63.9 KB