brcmfmac: fix size of the struct msgbuf_ring_status
authorRafał Miłecki <rafal@milecki.pl>
Thu, 21 Feb 2019 10:33:24 +0000 (11:33 +0100)
committerKalle Valo <kvalo@codeaurora.org>
Thu, 28 Feb 2019 08:27:58 +0000 (10:27 +0200)
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

index aef2d4092872ae19e2c43312bc29ffd86dd5e04c..d711dc8ed606c927488871b84b106b862bfc6f0c 100644 (file)
@@ -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 {