Skip to content

Commit 1105a7a

Browse files
aloktiwakuba-moo
authored andcommitted
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>
1 parent 79bb847 commit 1105a7a

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

drivers/net/ethernet/intel/ice/ice_fdir.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1121,7 +1121,7 @@ ice_fdir_get_gen_prgm_pkt(struct ice_hw *hw, struct ice_fdir_fltr *input,
11211121
* ice_fdir_has_frag - does flow type have 2 ptypes
11221122
* @flow: flow ptype
11231123
*
1124-
* returns true is there is a fragment packet for this ptype
1124+
* Return: true if there is a fragment packet for this ptype
11251125
*/
11261126
bool ice_fdir_has_frag(enum ice_fltr_ptype flow)
11271127
{

drivers/net/ethernet/intel/ice/ice_fw_update.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -534,7 +534,7 @@ ice_erase_nvm_module(struct ice_pf *pf, u16 module, const char *component,
534534
}
535535

536536
if (completion_retval) {
537-
dev_err(dev, "Firmware failed to erase %s (module 0x02%x), aq_err %s\n",
537+
dev_err(dev, "Firmware failed to erase %s (module 0x%02x), aq_err %s\n",
538538
component, module,
539539
libie_aq_str((enum libie_aq_err)completion_retval));
540540
NL_SET_ERR_MSG_MOD(extack, "Firmware failed to erase flash");

0 commit comments

Comments
 (0)