]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
netdevsim: fix uninit value in nsim_drv_configure_vfs()
authorJakub Kicinski <kuba@kernel.org>
Mon, 1 Nov 2021 22:18:45 +0000 (15:18 -0700)
committerJakub Kicinski <kuba@kernel.org>
Mon, 1 Nov 2021 23:29:56 +0000 (16:29 -0700)
commit047304d0bfa5be2ace106974f87eec51e0832cd0
tree6ed0f1e846091718f512c78ae320b542356e144b
parentd4a07dc5ac34528f292a4f328cf3c65aba312e1b
netdevsim: fix uninit value in nsim_drv_configure_vfs()

Build bot points out that I missed initializing ret
after refactoring.

Reported-by: kernel test robot <lkp@intel.com>
Fixes: 1c401078bcf3 ("netdevsim: move details of vf config to dev")
Link: https://lore.kernel.org/r/20211101221845.3188490-1-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/netdevsim/dev.c