summaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/i40iw/i40iw_hw.c
diff options
context:
space:
mode:
authorShiraz Saleem2016-11-11 17:55:41 +0100
committerDoug Ledford2016-12-12 23:19:02 +0100
commit91c42b72f8e8b45961ff05a05009b644e6316ca2 (patch)
tree5b37909fbd5ae2dba23f942c3d0e1a367aa6875b /drivers/infiniband/hw/i40iw/i40iw_hw.c
parenti40iw: Remove macros I40IW_STAG_KEY_FROM_STAG and I40IW_STAG_INDEX_FROM_STAG (diff)
downloadkernel-qcow2-linux-91c42b72f8e8b45961ff05a05009b644e6316ca2.tar.gz
kernel-qcow2-linux-91c42b72f8e8b45961ff05a05009b644e6316ca2.tar.xz
kernel-qcow2-linux-91c42b72f8e8b45961ff05a05009b644e6316ca2.zip
i40iw: Use correct src address in memcpy to rdma stats counters
hw_stats is a pointer to i40_iw_dev_stats struct in i40iw_get_hw_stats(). Use hw_stats and not &hw_stats in the memcpy to copy the i40iw device stats data into rdma_hw_stats counters. Fixes: b40f4757daa1 ("IB/core: Make device counter infrastructure dynamic") Cc: stable@vger.kernel.org # 4.7+ Signed-off-by: Shiraz Saleem <shiraz.saleem@intel.com> Signed-off-by: Faisal Latif <faisal.latif@intel.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/infiniband/hw/i40iw/i40iw_hw.c')
0 files changed, 0 insertions, 0 deletions