aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/gdb/vmlinux-gdb.py
diff options
context:
space:
mode:
authorChengchang Tang <[email protected]>2023-10-17 12:52:35 +0000
committerLeon Romanovsky <[email protected]>2023-10-19 06:49:40 +0000
commitb5f9efff101b06fd06a5e280a2b00b1335f5f476 (patch)
tree2dc81841c92b957df295932c5390c09fa8b1aed9 /scripts/gdb/vmlinux-gdb.py
parentRDMA/hns: Fix uninitialized ucmd in hns_roce_create_qp_common() (diff)
downloadkernel-b5f9efff101b06fd06a5e280a2b00b1335f5f476.tar.gz
kernel-b5f9efff101b06fd06a5e280a2b00b1335f5f476.zip
RDMA/hns: Fix signed-unsigned mixed comparisons
The ib_mtu_enum_to_int() and uverbs_attr_get_len() may returns a negative value. In this case, mixed comparisons of signed and unsigned types will throw wrong results. This patch adds judgement for this situation. Fixes: 30b707886aeb ("RDMA/hns: Support inline data in extented sge space for RC") Signed-off-by: Chengchang Tang <[email protected]> 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