]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit14c5d277f8d947ca6abef49bd02eaaf57f7d3060
tree0f2eadaa933579f03fd025701dd250c4000ea7fa
parentd0951ad2ca4aee997e7d399d2e8be0b53af907fa
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: 0474545ad12f ("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