Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

ixgbe: fix typos and docstring inconsistencies

Corrected function and variable name typos in comments and docstrings:
ixgbe_write_ee_hostif_X550 -> ixgbe_write_ee_hostif_data_X550
ixgbe_get_lcd_x550em -> ixgbe_get_lcd_t_x550em
"Determime" -> "Determine"
"point to hardware structure" -> "pointer to hardware structure"
"To turn on the LED" -> "To turn off the LED"

These changes improve readability, consistency.

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>
Acked-by: Jacob Keller <jacob.e.keller@intel.com>
Link: https://patch.msgid.link/20250929124427.79219-1-alok.a.tiwari@oracle.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>

authored by

Alok Tiwari and committed by
Jakub Kicinski
96ccc937 29be241d

+5 -5
+5 -5
drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c
··· 1163 1163 return status; 1164 1164 } 1165 1165 1166 - /** ixgbe_write_ee_hostif_X550 - Write EEPROM word using hostif 1166 + /** ixgbe_write_ee_hostif_data_X550 - Write EEPROM word using hostif 1167 1167 * @hw: pointer to hardware structure 1168 1168 * @offset: offset of word in the EEPROM to write 1169 1169 * @data: word write to the EEPROM ··· 2318 2318 } 2319 2319 2320 2320 /** 2321 - * ixgbe_get_lasi_ext_t_x550em - Determime external Base T PHY interrupt cause 2321 + * ixgbe_get_lasi_ext_t_x550em - Determine external Base T PHY interrupt cause 2322 2322 * @hw: pointer to hardware structure 2323 2323 * @lsc: pointer to boolean flag which indicates whether external Base T 2324 2324 * PHY interrupt is lsc ··· 2628 2628 } 2629 2629 2630 2630 /** ixgbe_setup_internal_phy_t_x550em - Configure KR PHY to X557 link 2631 - * @hw: point to hardware structure 2631 + * @hw: pointer to hardware structure 2632 2632 * 2633 2633 * Configures the link between the integrated KR PHY and the external X557 PHY 2634 2634 * The driver will call this function when it gets a link status change ··· 2745 2745 if (led_idx >= IXGBE_X557_MAX_LED_INDEX) 2746 2746 return -EINVAL; 2747 2747 2748 - /* To turn on the LED, set mode to ON. */ 2748 + /* To turn off the LED, set mode to OFF. */ 2749 2749 hw->phy.ops.read_reg(hw, IXGBE_X557_LED_PROVISIONING + led_idx, 2750 2750 MDIO_MMD_VEND1, &phy_data); 2751 2751 phy_data &= ~IXGBE_X557_LED_MANUAL_SET_MASK; ··· 2812 2812 return ret_val; 2813 2813 } 2814 2814 2815 - /** ixgbe_get_lcd_x550em - Determine lowest common denominator 2815 + /** ixgbe_get_lcd_t_x550em - Determine lowest common denominator 2816 2816 * @hw: pointer to hardware structure 2817 2817 * @lcd_speed: pointer to lowest common link speed 2818 2818 *