diff options
author | Bart Van Assche <bart.vanassche@sandisk.com> | 2017-01-13 10:41:52 -0800 |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2017-02-09 00:39:05 -0800 |
commit | 5cadafb236dffd8aa4772b32bf848af9128faedc (patch) | |
tree | 95533fc16452567daec2ef2e6d885deeebe1bd7b /drivers/target/iscsi/cxgbit/cxgbit_main.c | |
parent | 2fdbc65eae3989b566047b2ce21d66f52fe6bf69 (diff) | |
download | blackbird-op-linux-5cadafb236dffd8aa4772b32bf848af9128faedc.tar.gz blackbird-op-linux-5cadafb236dffd8aa4772b32bf848af9128faedc.zip |
target/cxgbit: Fix endianness annotations
This patch does not change any functionality but avoids that sparse
complains about endianness.
Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com>
Acked-by: Varun Prakash <varun@chelsio.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'drivers/target/iscsi/cxgbit/cxgbit_main.c')
-rw-r--r-- | drivers/target/iscsi/cxgbit/cxgbit_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/target/iscsi/cxgbit/cxgbit_main.c b/drivers/target/iscsi/cxgbit/cxgbit_main.c index 96eedfc49c94..6531aaac2b96 100644 --- a/drivers/target/iscsi/cxgbit/cxgbit_main.c +++ b/drivers/target/iscsi/cxgbit/cxgbit_main.c @@ -454,7 +454,7 @@ cxgbit_uld_lro_rx_handler(void *hndl, const __be64 *rsp, if (unlikely(op != *(u8 *)gl->va)) { pr_info("? FL 0x%p,RSS%#llx,FL %#llx,len %u.\n", gl->va, be64_to_cpu(*rsp), - be64_to_cpu(*(u64 *)gl->va), + get_unaligned_be64(gl->va), gl->tot_len); return 0; } |