* [PATCH v1] mmc: Fix typos in comments and debug messages
@ 2026-01-25 12:39 Tanmay Kathpalia
2026-01-26 1:07 ` Peng Fan
2026-02-03 14:18 ` Peng Fan (OSS)
0 siblings, 2 replies; 3+ messages in thread
From: Tanmay Kathpalia @ 2026-01-25 12:39 UTC (permalink / raw)
To: u-boot
Cc: peng.fan, jh80.chung, trini, marex, tanmay.kathpalia, festevam,
ivitro
Fix the following typos in drivers/mmc/mmc.c:
- "neiter" -> "neither" in __mmc_switch() comment
- "witdh" -> "width" in bus_width() warning message
- "enver" -> "never" in mmc_select_mode_and_width() comment
Signed-off-by: Tanmay Kathpalia <tanmay.kathpalia@altera.com>
---
drivers/mmc/mmc.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/mmc/mmc.c b/drivers/mmc/mmc.c
index 7dadff27abe..c5705f4f215 100644
--- a/drivers/mmc/mmc.c
+++ b/drivers/mmc/mmc.c
@@ -889,7 +889,7 @@ static int __mmc_switch(struct mmc *mmc, u8 set, u8 index, u8 value,
return ret;
/*
- * In cases when neiter allowed to poll by using CMD13 nor we are
+ * In cases when neither allowed to poll by using CMD13 nor we are
* capable of polling by using mmc_wait_dat0, then rely on waiting the
* stated timeout to be sufficient.
*/
@@ -1663,7 +1663,7 @@ static inline int bus_width(uint cap)
return 4;
if (cap == MMC_MODE_1BIT)
return 1;
- pr_warn("invalid bus witdh capability 0x%x\n", cap);
+ pr_warn("invalid bus width capability 0x%x\n", cap);
return 0;
}
@@ -2200,7 +2200,7 @@ static int mmc_select_mode_and_width(struct mmc *mmc, uint card_caps)
return 0;
if (!mmc->ext_csd) {
- pr_debug("No ext_csd found!\n"); /* this should enver happen */
+ pr_debug("No ext_csd found!\n"); /* this should never happen */
return -ENOTSUPP;
}
--
2.19.0
^ permalink raw reply related [flat|nested] 3+ messages in thread* Re: [PATCH v1] mmc: Fix typos in comments and debug messages
2026-01-25 12:39 [PATCH v1] mmc: Fix typos in comments and debug messages Tanmay Kathpalia
@ 2026-01-26 1:07 ` Peng Fan
2026-02-03 14:18 ` Peng Fan (OSS)
1 sibling, 0 replies; 3+ messages in thread
From: Peng Fan @ 2026-01-26 1:07 UTC (permalink / raw)
To: Tanmay Kathpalia
Cc: u-boot, peng.fan, jh80.chung, trini, marex, festevam, ivitro
On Sun, Jan 25, 2026 at 04:39:57AM -0800, Tanmay Kathpalia wrote:
>Fix the following typos in drivers/mmc/mmc.c:
>- "neiter" -> "neither" in __mmc_switch() comment
>- "witdh" -> "width" in bus_width() warning message
>- "enver" -> "never" in mmc_select_mode_and_width() comment
>
>Signed-off-by: Tanmay Kathpalia <tanmay.kathpalia@altera.com>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH v1] mmc: Fix typos in comments and debug messages
2026-01-25 12:39 [PATCH v1] mmc: Fix typos in comments and debug messages Tanmay Kathpalia
2026-01-26 1:07 ` Peng Fan
@ 2026-02-03 14:18 ` Peng Fan (OSS)
1 sibling, 0 replies; 3+ messages in thread
From: Peng Fan (OSS) @ 2026-02-03 14:18 UTC (permalink / raw)
To: u-boot, Tanmay Kathpalia
Cc: Peng Fan, jh80.chung, trini, marex, festevam, ivitro
From: Peng Fan <peng.fan@nxp.com>
On Sun, 25 Jan 2026 04:39:57 -0800, Tanmay Kathpalia wrote:
> Fix the following typos in drivers/mmc/mmc.c:
> - "neiter" -> "neither" in __mmc_switch() comment
> - "witdh" -> "width" in bus_width() warning message
> - "enver" -> "never" in mmc_select_mode_and_width() comment
>
>
Applied to mmc for 2026.04-rc2, thanks!
[1/1] mmc: Fix typos in comments and debug messages
commit: 7f9e9b50336777ce07ca7d7bc40bd82856d12468
Best regards,
--
Peng Fan <peng.fan@nxp.com>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2026-02-03 13:04 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-25 12:39 [PATCH v1] mmc: Fix typos in comments and debug messages Tanmay Kathpalia
2026-01-26 1:07 ` Peng Fan
2026-02-03 14:18 ` Peng Fan (OSS)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox