Search Linux Wireless

Re: [PATCH] rtw88: mark rtw_fw_hdr __packed

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

 



Brian Norris <briannorris@xxxxxxxxxxxx> wrote:

> The use of u8 and __le16 in this struct assumes that it's going to be
> packed to byte alignment. C doesn't guarantee that, so we should mark
> this __packed.
> 
> Fixes: cc20a7139836 ("rtw88: use struct rtw_fw_hdr to access firmware header")
> Cc: Ping-Ke Shih <pkshih@xxxxxxxxxxx>
> Signed-off-by: Brian Norris <briannorris@xxxxxxxxxxxx>

Patch applied to wireless-drivers-next.git, thanks.

89dca86d29b4 rtw88: mark rtw_fw_hdr __packed

-- 
https://patchwork.kernel.org/patch/11189429/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches




[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Wireless Regulations]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux