nvmet-fc: fix endianess annoations for nvmet_fc_format_rsp_hdr
authorChristoph Hellwig <hch@lst.de>
Fri, 21 Apr 2017 08:40:22 +0000 (10:40 +0200)
committerChristoph Hellwig <hch@lst.de>
Mon, 24 Apr 2017 07:18:24 +0000 (09:18 +0200)
commit3f5e118848118d132b1dabdbb9687ea140756c1e
tree7d5dde4c7055dc44e144d4b282068896ed3579d3
parentedba98dd46fb6dca98d3e6913a86e1d54f02c440
nvmet-fc: fix endianess annoations for nvmet_fc_format_rsp_hdr

The passed in desc_len is a big endian value, so mark it as such.

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