hc
2024-10-12 a5969cabbb4660eab42b6ef0412cbbd1200cf14d
kernel/drivers/net/ethernet/intel/igb/e1000_i210.c
....@@ -357,13 +357,14 @@
357357 /**
358358 * igb_read_invm_i210 - Read invm wrapper function for I210/I211
359359 * @hw: pointer to the HW structure
360
- * @words: number of words to read
360
+ * @offset: offset to read from
361
+ * @words: number of words to read (unused)
361362 * @data: pointer to the data read
362363 *
363364 * Wrapper function to return data formerly found in the NVM.
364365 **/
365366 static s32 igb_read_invm_i210(struct e1000_hw *hw, u16 offset,
366
- u16 words __always_unused, u16 *data)
367
+ u16 __always_unused words, u16 *data)
367368 {
368369 s32 ret_val = 0;
369370