1234567891011121314151617181920212223242526272829 |
- From 0c7051610c577b60b01b3b5aec14d6765e177b0d Mon Sep 17 00:00:00 2001
- From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <rafal@milecki.pl>
- Date: Thu, 21 Feb 2019 11:33:24 +0100
- Subject: [PATCH] brcmfmac: fix size of the struct msgbuf_ring_status
- MIME-Version: 1.0
- Content-Type: text/plain; charset=UTF-8
- Content-Transfer-Encoding: 8bit
- This updates host struct to match the in-firmawre definition. It's a
- cosmetic change as it only applies to the reserved struct space.
- Fixes: c988b78244df ("brcmfmac: print firmware reported ring status errors")
- Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
- Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
- ---
- drivers/net/wireless/broadcom/brcm80211/brcmfmac/msgbuf.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
- --- a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/msgbuf.c
- +++ b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/msgbuf.c
- @@ -139,7 +139,7 @@ struct msgbuf_ring_status {
- struct msgbuf_common_hdr msg;
- struct msgbuf_completion_hdr compl_hdr;
- __le16 write_idx;
- - __le32 rsvd0[5];
- + __le16 rsvd0[5];
- };
-
- struct msgbuf_rx_event {
|