mirror of
https://github.com/torvalds/linux.git
synced 2025-12-07 20:06:24 +00:00
ice: fix comment typo and correct module format string
- Fix a typo in the ice_fdir_has_frag() kernel-doc comment ("is" -> "if")
- Correct the NVM erase error message format string from "0x02%x" to
"0x%02x" so the module value is printed correctly.
Signed-off-by: Alok Tiwari <alok.a.tiwari@oracle.com>
Reviewed-by: Aleksandr Loktionov <aleksandr.loktionov@intel.com>
Reviewed-by: Paul Menzel <pmenzel@molgen.mpg.de>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Link: https://patch.msgid.link/20251125223632.1857532-11-anthony.l.nguyen@intel.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
committed by
Jakub Kicinski
parent
79bb84758f
commit
1105a7a120
@@ -1121,7 +1121,7 @@ ice_fdir_get_gen_prgm_pkt(struct ice_hw *hw, struct ice_fdir_fltr *input,
|
||||
* ice_fdir_has_frag - does flow type have 2 ptypes
|
||||
* @flow: flow ptype
|
||||
*
|
||||
* returns true is there is a fragment packet for this ptype
|
||||
* Return: true if there is a fragment packet for this ptype
|
||||
*/
|
||||
bool ice_fdir_has_frag(enum ice_fltr_ptype flow)
|
||||
{
|
||||
|
||||
@@ -534,7 +534,7 @@ ice_erase_nvm_module(struct ice_pf *pf, u16 module, const char *component,
|
||||
}
|
||||
|
||||
if (completion_retval) {
|
||||
dev_err(dev, "Firmware failed to erase %s (module 0x02%x), aq_err %s\n",
|
||||
dev_err(dev, "Firmware failed to erase %s (module 0x%02x), aq_err %s\n",
|
||||
component, module,
|
||||
libie_aq_str((enum libie_aq_err)completion_retval));
|
||||
NL_SET_ERR_MSG_MOD(extack, "Firmware failed to erase flash");
|
||||
|
||||
Reference in New Issue
Block a user