提交 f63688a6 编写于 作者: C Christoph Hellwig

nvmet-fc: mark the sqhd field as __le16

That's what it's used as.

Found by sparse.
Signed-off-by: NChristoph Hellwig <hch@lst.de>
Reviewed-by: NJames Smart <james.smart@broadcom.com>
Reviewed-by: NJohannes Thumshirn <jthumshirn@suse.de>
上级 3f5e1188
...@@ -119,7 +119,7 @@ struct nvmet_fc_tgt_queue { ...@@ -119,7 +119,7 @@ struct nvmet_fc_tgt_queue {
u16 qid; u16 qid;
u16 sqsize; u16 sqsize;
u16 ersp_ratio; u16 ersp_ratio;
u16 sqhd; __le16 sqhd;
int cpu; int cpu;
atomic_t connected; atomic_t connected;
atomic_t sqtail; atomic_t sqtail;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册