diff options
author | Subbaraya Sundeep <sbhatta@marvell.com> | 2021-07-23 13:36:18 +0530 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-07-23 17:43:31 +0100 |
commit | 9986066d94c971edf19464ed7bf5b26a91520e97 (patch) | |
tree | e65f921e7a9e8eed73887489929e4ec21a51950c /net/qrtr/qrtr.c | |
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 <lkp@intel.com>
Reported-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Subbaraya Sundeep <sbhatta@marvell.com>
Signed-off-by: Sunil Goutham <sgoutham@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/qrtr/qrtr.c')
0 files changed, 0 insertions, 0 deletions