diff options
| author | Dan Carpenter <[email protected]> | 2025-07-15 23:01:30 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2025-07-18 01:37:48 +0000 |
| commit | 49be1e245ea3e3515c5989ce1af215d8500dec85 (patch) | |
| tree | 71fb8cbb383065951621c829507e676803769bc2 /net/unix/garbage.c | |
| parent | net: ethernet: mtk_wed: Fix NULL vs IS_ERR() bug in mtk_wed_get_memory_region() (diff) | |
| download | kernel-49be1e245ea3e3515c5989ce1af215d8500dec85.tar.gz kernel-49be1e245ea3e3515c5989ce1af215d8500dec85.zip | |
net/mlx5: Fix an IS_ERR() vs NULL bug in esw_qos_move_node()
The __esw_qos_alloc_node() function returns NULL on error. It doesn't
return error pointers. Update the error checking to match.
Fixes: 96619c485fa6 ("net/mlx5: Add support for setting tc-bw on nodes")
Signed-off-by: Dan Carpenter <[email protected]>
Reviewed-by: Tariq Toukan <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/unix/garbage.c')
0 files changed, 0 insertions, 0 deletions
