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.

eth: fbnic: fix various typos in comments and strings

Fix several minor typos and grammatical errors in comments and log
(in fbnic firmware, PCI, and time modules)

Changes include:
- "cordeump" -> "coredump"
- "of" -> "off" in RPC config comment
- "healty" -> "healthy" in firmware heartbeat comment
- "Firmware crashed detected!" -> "Firmware crash detected!"
- "The could be caused" -> "This could be caused"
- "lockng" -> "locking" in fbnic_time.c

Signed-off-by: Alok Tiwari <alok.a.tiwari@oracle.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://patch.msgid.link/20251013160507.768820-1-alok.a.tiwari@oracle.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>

authored by

Alok Tiwari and committed by
Jakub Kicinski
e0aa1152 0513a3f9

+7 -7
+3 -3
drivers/net/ethernet/meta/fbnic/fbnic_fw.c
··· 878 878 * @fbd: FBNIC device structure 879 879 * @cmpl_data: Completion struct to store coredump 880 880 * @offset: Offset into coredump requested 881 - * @length: Length of section of cordeump to fetch 881 + * @length: Length of section of coredump to fetch 882 882 * 883 883 * Return: zero on success, negative errno on failure 884 884 * 885 - * Asks the firmware to provide a section of the cordeump back in a message. 885 + * Asks the firmware to provide a section of the coredump back in a message. 886 886 * The response will have an offset and size matching the values provided. 887 887 */ 888 888 int fbnic_fw_xmit_coredump_read_msg(struct fbnic_dev *fbd, ··· 1868 1868 if (err) 1869 1869 goto free_message; 1870 1870 1871 - /* Send message of to FW notifying it of current RPC config */ 1871 + /* Send message off to FW notifying it of current RPC config */ 1872 1872 err = fbnic_mbx_map_tlv_msg(fbd, msg); 1873 1873 if (err) 1874 1874 goto free_message;
+3 -3
drivers/net/ethernet/meta/fbnic/fbnic_pci.c
··· 185 185 { 186 186 struct fbnic_fw_mbx *tx_mbx = &fbd->mbx[FBNIC_IPC_MBX_TX_IDX]; 187 187 188 - /* As long as the heart is beating the FW is healty */ 188 + /* As long as the heart is beating the FW is healthy */ 189 189 if (fbd->fw_heartbeat_enabled) 190 190 return; 191 191 ··· 196 196 if (tx_mbx->head != tx_mbx->tail) 197 197 return; 198 198 199 - fbnic_devlink_fw_report(fbd, "Firmware crashed detected!"); 199 + fbnic_devlink_fw_report(fbd, "Firmware crash detected!"); 200 200 fbnic_devlink_otp_check(fbd, "error detected after firmware recovery"); 201 201 202 202 if (fbnic_fw_config_after_crash(fbd)) ··· 378 378 * @pdev: PCI device information struct 379 379 * 380 380 * Called by the PCI subsystem to alert the driver that it should release 381 - * a PCI device. The could be caused by a Hot-Plug event, or because the 381 + * a PCI device. This could be caused by a Hot-Plug event, or because the 382 382 * driver is going to be removed from memory. 383 383 **/ 384 384 static void fbnic_remove(struct pci_dev *pdev)
+1 -1
drivers/net/ethernet/meta/fbnic/fbnic_time.c
··· 253 253 254 254 void fbnic_time_init(struct fbnic_net *fbn) 255 255 { 256 - /* This is not really a statistic, but the lockng primitive fits 256 + /* This is not really a statistic, but the locking primitive fits 257 257 * our usecase perfectly, we need an atomic 8 bytes READ_ONCE() / 258 258 * WRITE_ONCE() behavior. 259 259 */