diff options
author | Chengchang Tang <tangchengchang@huawei.com> | 2024-12-20 08:52:48 +0300 |
---|---|---|
committer | Leon Romanovsky <leon@kernel.org> | 2024-12-23 17:58:30 +0300 |
commit | fa5c4ba8cdbfd2c2d6422e001311c8213283ebbf (patch) | |
tree | abf9c6cf48575648e4357417e2e56c6c1ab67f4b /scripts/gdb/linux/utils.py | |
parent | 0572eccf239ce4bd89bd531767ec5ab20e249290 (diff) | |
download | linux-fa5c4ba8cdbfd2c2d6422e001311c8213283ebbf.tar.xz |
RDMA/hns: Fix warning storm caused by invalid input in IO path
WARN_ON() is called in the IO path. And it could lead to a warning
storm. Use WARN_ON_ONCE() instead of WARN_ON().
Fixes: 12542f1de179 ("RDMA/hns: Refactor process about opcode in post_send()")
Signed-off-by: Chengchang Tang <tangchengchang@huawei.com>
Signed-off-by: Junxian Huang <huangjunxian6@hisilicon.com>
Link: https://patch.msgid.link/20241220055249.146943-4-huangjunxian6@hisilicon.com
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions