339-v5.1-0011-brcmfmac-fix-size-of-the-struct-msgbuf_ring_status.patch 1.1 KB

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