mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
ice: fix usage of incorrect variable
The driver was using rq_last_status where it should have been using sq_last_status. Fix the string to be using the correct error reporting variable. Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com> Tested-by: Andrew Bowers <andrewx.bowers@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
This commit is contained in:
parent
1fba4a8a92
commit
9d68a79c3b
@ -3251,7 +3251,7 @@ static int ice_vsi_set_dflt_rss_lut(struct ice_vsi *vsi, int req_rss_size)
|
||||
if (status) {
|
||||
dev_err(dev, "Cannot set RSS lut, err %s aq_err %s\n",
|
||||
ice_stat_str(status),
|
||||
ice_aq_str(hw->adminq.rq_last_status));
|
||||
ice_aq_str(hw->adminq.sq_last_status));
|
||||
err = -EIO;
|
||||
}
|
||||
|
||||
|
@ -5232,7 +5232,7 @@ int ice_set_rss(struct ice_vsi *vsi, u8 *seed, u8 *lut, u16 lut_size)
|
||||
if (status) {
|
||||
dev_err(dev, "Cannot set RSS key, err %s aq_err %s\n",
|
||||
ice_stat_str(status),
|
||||
ice_aq_str(hw->adminq.rq_last_status));
|
||||
ice_aq_str(hw->adminq.sq_last_status));
|
||||
return -EIO;
|
||||
}
|
||||
}
|
||||
@ -5243,7 +5243,7 @@ int ice_set_rss(struct ice_vsi *vsi, u8 *seed, u8 *lut, u16 lut_size)
|
||||
if (status) {
|
||||
dev_err(dev, "Cannot set RSS lut, err %s aq_err %s\n",
|
||||
ice_stat_str(status),
|
||||
ice_aq_str(hw->adminq.rq_last_status));
|
||||
ice_aq_str(hw->adminq.sq_last_status));
|
||||
return -EIO;
|
||||
}
|
||||
}
|
||||
@ -5276,7 +5276,7 @@ int ice_get_rss(struct ice_vsi *vsi, u8 *seed, u8 *lut, u16 lut_size)
|
||||
if (status) {
|
||||
dev_err(dev, "Cannot get RSS key, err %s aq_err %s\n",
|
||||
ice_stat_str(status),
|
||||
ice_aq_str(hw->adminq.rq_last_status));
|
||||
ice_aq_str(hw->adminq.sq_last_status));
|
||||
return -EIO;
|
||||
}
|
||||
}
|
||||
@ -5287,7 +5287,7 @@ int ice_get_rss(struct ice_vsi *vsi, u8 *seed, u8 *lut, u16 lut_size)
|
||||
if (status) {
|
||||
dev_err(dev, "Cannot get RSS lut, err %s aq_err %s\n",
|
||||
ice_stat_str(status),
|
||||
ice_aq_str(hw->adminq.rq_last_status));
|
||||
ice_aq_str(hw->adminq.sq_last_status));
|
||||
return -EIO;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user