From: Christoph Hellwig Date: Fri, 21 Apr 2017 08:42:23 +0000 (+0200) Subject: nvmet-fc: mark the sqhd field as __le16 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=f63688a610958a410e9cab7b4d41b77a29912379;p=openwrt%2Fstaging%2Fblogic.git nvmet-fc: mark the sqhd field as __le16 That's what it's used as. Found by sparse. Signed-off-by: Christoph Hellwig Reviewed-by: James Smart Reviewed-by: Johannes Thumshirn --- 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;