summaryrefslogtreecommitdiff
path: root/drivers/nvme/target/fc.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2017-04-21 11:42:23 +0300
committerChristoph Hellwig <hch@lst.de>2017-04-24 10:18:25 +0300
commitf63688a610958a410e9cab7b4d41b77a29912379 (patch)
tree74f78cc472cf86e9453472666ef36d20b6fe38e9 /drivers/nvme/target/fc.c
parent3f5e118848118d132b1dabdbb9687ea140756c1e (diff)
downloadlinux-f63688a610958a410e9cab7b4d41b77a29912379.tar.xz
nvmet-fc: mark the sqhd field as __le16
That's what it's used as. Found by sparse. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: James Smart <james.smart@broadcom.com> Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Diffstat (limited to 'drivers/nvme/target/fc.c')
-rw-r--r--drivers/nvme/target/fc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/nvme/target/fc.c b/drivers/nvme/target/fc.c
index d504c52ac9cb..4392b514725b 100644
--- a/drivers/nvme/target/fc.c
+++ b/drivers/nvme/target/fc.c
@@ -119,7 +119,7 @@ struct nvmet_fc_tgt_queue {
u16 qid;
u16 sqsize;
u16 ersp_ratio;
- u16 sqhd;
+ __le16 sqhd;
int cpu;
atomic_t connected;
atomic_t sqtail;