diff options
author | Christoph Hellwig | 2017-04-21 10:42:23 +0200 |
---|---|---|
committer | Christoph Hellwig | 2017-04-24 09:18:25 +0200 |
commit | f63688a610958a410e9cab7b4d41b77a29912379 (patch) | |
tree | 74f78cc472cf86e9453472666ef36d20b6fe38e9 /drivers | |
parent | 3f5e118848118d132b1dabdbb9687ea140756c1e (diff) |
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')
-rw-r--r-- | drivers/nvme/target/fc.c | 2 |
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; |