projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3f5e118
)
nvmet-fc: mark the sqhd field as __le16
author
Christoph Hellwig
<hch@lst.de>
Fri, 21 Apr 2017 08:42:23 +0000
(10:42 +0200)
committer
Christoph Hellwig
<hch@lst.de>
Mon, 24 Apr 2017 07:18:25 +0000
(09:18 +0200)
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>
drivers/nvme/target/fc.c
patch
|
blob
|
history
diff --git
a/drivers/nvme/target/fc.c
b/drivers/nvme/target/fc.c
index d504c52ac9cb9a76f7d224e4448345022f819b70..4392b514725b553f891cbf7721481e8a6c245e13 100644
(file)
--- 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;