OSDN Git Service

bnxt_en: add a dummy definition for bnxt_vf_rep_get_fid()
authorSathya Perla <sathya.perla@broadcom.com>
Tue, 29 Aug 2017 06:15:03 +0000 (11:45 +0530)
committerDavid S. Miller <davem@davemloft.net>
Tue, 29 Aug 2017 16:28:42 +0000 (09:28 -0700)
commitf143647a02825038d8d6251422e1d0ebdcb6d9ea
tree0f2eadaa933579f03fd025701dd250c4000ea7fa
parentc8488a8ad7c284b1159973baf536ca58fba0ad36
bnxt_en: add a dummy definition for bnxt_vf_rep_get_fid()

When bnxt VF-reps are not compiled in (CONFIG_BNXT_SRIOV is off)
bnxt_tc.c needs a dummy definition of the routine bnxt_vf_rep_get_fid().

Reported-by: kbuild test robot <fengguang.wu@intel.com>
Fixes: 2ae7408fedfe ("bnxt_en: bnxt: add TC flower filter offload support")
Signed-off-by: Sathya Perla <sathya.perla@broadcom.com>
Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnxt/bnxt_vfr.h