]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
eth: fbnic: fix various typos in comments and strings
authorAlok Tiwari <alok.a.tiwari@oracle.com>
Mon, 13 Oct 2025 16:05:02 +0000 (09:05 -0700)
committerJakub Kicinski <kuba@kernel.org>
Tue, 14 Oct 2025 19:16:17 +0000 (12:16 -0700)
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>
drivers/net/ethernet/meta/fbnic/fbnic_fw.c
drivers/net/ethernet/meta/fbnic/fbnic_pci.c
drivers/net/ethernet/meta/fbnic/fbnic_time.c

index c87cb9ed09e7e2407c0418a1cdc1f01b4b832544..1166fa17438d9fac7220c95db95cc2435354032e 100644 (file)
@@ -878,11 +878,11 @@ msg_err:
  * @fbd: FBNIC device structure
  * @cmpl_data: Completion struct to store coredump
  * @offset: Offset into coredump requested
- * @length: Length of section of cordeump to fetch
+ * @length: Length of section of coredump to fetch
  *
  * Return: zero on success, negative errno on failure
  *
- * Asks the firmware to provide a section of the cordeump back in a message.
+ * Asks the firmware to provide a section of the coredump back in a message.
  * The response will have an offset and size matching the values provided.
  */
 int fbnic_fw_xmit_coredump_read_msg(struct fbnic_dev *fbd,
@@ -1868,7 +1868,7 @@ int fbnic_fw_xmit_rpc_macda_sync(struct fbnic_dev *fbd)
        if (err)
                goto free_message;
 
-       /* Send message of to FW notifying it of current RPC config */
+       /* Send message off to FW notifying it of current RPC config */
        err = fbnic_mbx_map_tlv_msg(fbd, msg);
        if (err)
                goto free_message;
index a7a6b4db8016f3cdf9e353025c4026069cdc5fa5..4620f1847f2e0e493102300f3061e786d52510e1 100644 (file)
@@ -185,7 +185,7 @@ static void fbnic_health_check(struct fbnic_dev *fbd)
 {
        struct fbnic_fw_mbx *tx_mbx = &fbd->mbx[FBNIC_IPC_MBX_TX_IDX];
 
-       /* As long as the heart is beating the FW is healty */
+       /* As long as the heart is beating the FW is healthy */
        if (fbd->fw_heartbeat_enabled)
                return;
 
@@ -196,7 +196,7 @@ static void fbnic_health_check(struct fbnic_dev *fbd)
        if (tx_mbx->head != tx_mbx->tail)
                return;
 
-       fbnic_devlink_fw_report(fbd, "Firmware crashed detected!");
+       fbnic_devlink_fw_report(fbd, "Firmware crash detected!");
        fbnic_devlink_otp_check(fbd, "error detected after firmware recovery");
 
        if (fbnic_fw_config_after_crash(fbd))
@@ -378,7 +378,7 @@ free_fbd:
  * @pdev: PCI device information struct
  *
  * Called by the PCI subsystem to alert the driver that it should release
- * a PCI device.  The could be caused by a Hot-Plug event, or because the
+ * a PCI device.  This could be caused by a Hot-Plug event, or because the
  * driver is going to be removed from memory.
  **/
 static void fbnic_remove(struct pci_dev *pdev)
index 39d99677b71ea7c990fcbf99757b7e7524edd840..db7748189f457c42ffcf987e0cc7faaa336ca261 100644 (file)
@@ -253,7 +253,7 @@ static void fbnic_ptp_reset(struct fbnic_dev *fbd)
 
 void fbnic_time_init(struct fbnic_net *fbn)
 {
-       /* This is not really a statistic, but the lockng primitive fits
+       /* This is not really a statistic, but the locking primitive fits
         * our usecase perfectly, we need an atomic 8 bytes READ_ONCE() /
         * WRITE_ONCE() behavior.
         */