diff options
author | Vasundhara Volam <[email protected]> | 2020-06-23 19:01:38 -0400 |
---|---|---|
committer | David S. Miller <[email protected]> | 2020-06-23 20:13:58 -0700 |
commit | c55e28a8b43fcd7dc71868bd165705bc7741a7ca (patch) | |
tree | c7ea122c4257ba027bc75804d81cd4a50c8488c1 /lib/mpi/mpi-add.c | |
parent | c2dec363feb41544a76c8083aca2378990e17166 (diff) |
bnxt_en: Read VPD info only for PFs
Virtual functions does not have VPD information. This patch modifies
calling bnxt_read_vpd_info() only for PFs and avoids an unnecessary
error log.
Fixes: a0d0fd70fed5 ("bnxt_en: Read partno and serialno of the board from VPD")
Signed-off-by: Vasundhara Volam <[email protected]>
Signed-off-by: Michael Chan <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-add.c')
0 files changed, 0 insertions, 0 deletions