]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd65d67fb2518185c1c1f7708eaf8f9237cb72aed
tree7d5dde4c7055dc44e144d4b282068896ed3579d3
parent9894e51e87dcc126f73051778253fb8e8a31a3ce
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