Skip to content

Commit

Permalink
Merge pull request #418 from neheb/z
Browse files Browse the repository at this point in the history
  • Loading branch information
kaloz authored Apr 19, 2024
2 parents ebf3167 + af661d9 commit a737d34
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion hif/hostcmd.h
Original file line number Diff line number Diff line change
Expand Up @@ -555,7 +555,7 @@ struct hostcmd_cmd_set_linkadapt_cs_mode {
/* HOSTCMD_CMD_DUMP_OTP_DATA */
struct hostcmd_cmd_dump_otp_data {
struct hostcmd_header cmd_hdr;
u8 pload[0];
u8 pload[];
} __packed;

/* HOSTCMD_CMD_SET_MAC_ADDR, HOSTCMD_CMD_DEL_MAC_ADDR */
Expand Down
6 changes: 3 additions & 3 deletions hif/pcie/dev.h
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ struct pcie_desc_data {
struct pcie_dma_data {
__le16 fwlen;
struct ieee80211_hdr wh;
char data[0];
char data[];
} __packed;

/* New Data Path */
Expand Down Expand Up @@ -457,7 +457,7 @@ struct rx_info { /* HW Rx buffer */
__le32 reserved3[6];
__le32 param;
__le32 reserved4[2];
__le32 hdr[0]; /* Len from HW includes rx_info w/ hdr */
__le32 hdr[]; /* Len from HW includes rx_info w/ hdr */
} __packed;

struct pcie_rx_desc_ndp { /* ToNIC Rx Empty Buffer Ring Entry */
Expand Down Expand Up @@ -671,7 +671,7 @@ struct acnt_tx_s { /* Accounting Record For Tx (at Enqueue time) */
__le32 tx_cnt; /* No. of pkt sent */
struct tx_info tx_info;/* Transmit parameters used for 1st MPDU/AMPDU */
struct pcie_dma_data hdr;/* Dot11 header used for 1st MPDU in AMPDU */
u8 payload[0]; /* Variable Payload by use case */
u8 payload[]; /* Variable Payload by use case */
} __packed;

struct acnt_rx_s { /* Accounting Record for Rx PPDU */
Expand Down

0 comments on commit a737d34

Please sign in to comment.