iser: remove __packed from struct iser_cm_hdr declaration

`__packed` is not defined previously, and was treated as a varible
declaration.

Signed-off-by: wanghonghao <wanghonghao@bytedance.com>
This commit is contained in:
wanghonghao
2019-12-05 18:59:18 +08:00
parent 22d7360b5e
commit 51391285d8

View File

@@ -158,7 +158,7 @@ struct iser_tx_desc {
struct iser_cm_hdr {
uint8_t flags;
uint8_t rsvd[3];
} __packed;
};
struct iser_pdu {
struct iscsi_pdu iscsi_pdu;