From: Michael Chan <michael.c...@broadcom.com> Date: Fri, 30 Aug 2019 19:10:38 -0400
> Add a new function bnxt_get_registered_vfs() to handle the work > of getting the number of registered VFs under #ifdef CONFIG_BNXT_SRIOV. > The main code will call this function and will always work correctly > whether CONFIG_BNXT_SRIOV is set or not. > > Fixes: 230d1f0de754 ("bnxt_en: Handle firmware reset.") > Reported-by: kbuild test robot <l...@intel.com> > Signed-off-by: Michael Chan <michael.c...@broadcom.com> Applied, thanks.