diff options
author | Wentao Liang <vulab@iscas.ac.cn> | 2025-04-08 11:26:02 +0800 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2025-04-09 17:59:21 -0700 |
commit | 9c056ec6dd1654b1420dafbbe2a69718850e6ff2 (patch) | |
tree | f8ab1f5bdb4cbce94e40dd2ada18cfc382167556 /net/lapb/lapb_timer.c | |
parent | 311920774c408ce3366888d3817e7e648e9ccf1c (diff) |
octeontx2-pf: Add error log forcn10k_map_unmap_rq_policer()
The cn10k_free_matchall_ipolicer() calls the cn10k_map_unmap_rq_policer()
for each queue in a for loop without checking for any errors.
Check the return value of the cn10k_map_unmap_rq_policer() function during
each loop, and report a warning if the function fails.
Signed-off-by: Wentao Liang <vulab@iscas.ac.cn>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://patch.msgid.link/20250408032602.2909-1-vulab@iscas.ac.cn
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions