diff options
author | Subbaraya Sundeep <[email protected]> | 2021-07-23 13:36:18 +0530 |
---|---|---|
committer | David S. Miller <[email protected]> | 2021-07-23 17:43:31 +0100 |
commit | 9986066d94c971edf19464ed7bf5b26a91520e97 (patch) | |
tree | e65f921e7a9e8eed73887489929e4ec21a51950c /scripts/gdb/linux/tasks.py | |
parent | 68d1f1d4af188c290087958c75c7b89a816e1137 (diff) |
octeontx2-af: Fix uninitialized variables in rvu_switch
Get the number of VFs of a PF correctly by calling
rvu_get_pf_numvfs in rvu_switch_disable function.
Also hwvf is not required hence remove it.
Fixes: 23109f8dd06d ("octeontx2-af: Introduce internal packet switching")
Reported-by: kernel test robot <[email protected]>
Reported-by: Colin Ian King <[email protected]>
Signed-off-by: Subbaraya Sundeep <[email protected]>
Signed-off-by: Sunil Goutham <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions