Commit 943f3b8
octeontx2-pf: Unregister devlink on probe failure
When probe fails after devlink registration, the missing devlink unregister
call causing a memory leak.
Fixes: 2da4894 ("octeontx2-pf: devlink params support to set mcam entry count")
Signed-off-by: Hariprasad Kelam <hkelam@marvell.com>
Link: https://patch.msgid.link/20260206182645.4032737-1-hkelam@marvell.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>1 parent e9a5073 commit 943f3b8
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3315 | 3315 | | |
3316 | 3316 | | |
3317 | 3317 | | |
| 3318 | + | |
3318 | 3319 | | |
3319 | 3320 | | |
3320 | 3321 | | |
| |||
0 commit comments