author: Jacob Keller <jacob.e.keller@intel.com> 2021-08-19 15:34:51 -0700
committer: Greg Kroah-Hartman <gregkh@linuxfoundation.org> 2021-09-03 10:22:52 +0200
commit: 2b0267118a684e10abd32e65f916e16dd2cc832d
parent: a35de1e71b68591c0855024973d27c196a1a26c2
Commit Summary:
Diffstat:
1 file changed, 3 insertions, 1 deletion
diff --git a/drivers/net/ethernet/intel/ice/ice_devlink.c b/drivers/net/ethernet/intel/ice/ice_devlink.c
index cf685eeea198..e256f70cf59d 100644
--- a/drivers/net/ethernet/intel/ice/ice_devlink.c
+++ b/drivers/net/ethernet/intel/ice/ice_devlink.c
@@ -42,7 +42,9 @@ static int ice_info_pba(struct ice_pf *pf, struct ice_info_ctx *ctx)
status = ice_read_pba_string(hw, (u8 *)ctx->buf, sizeof(ctx->buf));
if (status)
- return -EIO;
+ /* We failed to locate the PBA, so just skip this entry */
+ dev_dbg(ice_pf_to_dev(pf), "Failed to read Product Board Assembly string, status %s\n",
+ ice_stat_str(status));
return 0;
}