aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/gdb/vmlinux-gdb.py
diff options
context:
space:
mode:
authorJunxian Huang <[email protected]>2023-10-17 12:52:38 +0000
committerLeon Romanovsky <[email protected]>2023-10-19 06:49:40 +0000
commitb4a797b894dc91a541ea230db6fa00cc74683bfd (patch)
treeb5af2d1bfb27252d1ab357434a8678c0ab5074a8 /scripts/gdb/vmlinux-gdb.py
parentRDMA/hns: The UD mode can only be configured with DCQCN (diff)
downloadkernel-b4a797b894dc91a541ea230db6fa00cc74683bfd.tar.gz
kernel-b4a797b894dc91a541ea230db6fa00cc74683bfd.zip
RDMA/hns: Fix unnecessary port_num transition in HW stats allocation
The num_ports capability of devices should be compared with the number of port(i.e. the input param "port_num") but not the port index(i.e. port_num - 1). Fixes: 5a87279591a1 ("RDMA/hns: Support hns HW stats") Signed-off-by: Junxian Huang <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Leon Romanovsky <[email protected]>
Diffstat (limited to 'scripts/gdb/vmlinux-gdb.py')
0 files changed, 0 insertions, 0 deletions