Skip to contentSkip to conversation

firmware: fix typos in comments

PATCH Applied Hemanth Selam 3 participants 6 messages Sep 7 – Sep 29

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

cover firmware: fix typos in comments

This corrects 2 misspellings in comments. Each is a separate patch so that any one of them can be dropped without touching the rest.

Nothing outside comments changes. Every touched C file was checked by dropping its comments, replacing each string literal with a placeholder and collapsing whitespace; what remained was identical before and after, so the compiled code cannot differ.

The mistakes were found with scripts/checkpatch.pl against the list in scripts/spelling.txt. The scanning, the edits and the changelogs were produced with Cursor running the claude-opus-5 model, from a request to find and fix spelling mistakes across the tree, and every correction was then re-checked by the comparison described above. Words that name an identifier were left alone deliberately, even when they read as typos, because correcting the prose would make the comment disagree with the code it describes.

Tested by building x86_64 defconfig at v7.3-rc1-269-gbc35965f6940, which is clean. Nothing else was built, so any patch touching code that x86_64 defconfig does not compile has been read but not compiled.

Hemanth Selam (2):
firmware: qcom: fix typo "uninterruptable" in comment
soc: qcom: fix typo "upto" in comment

 drivers/firmware/qcom/qcom_scm-legacy.c | 2 +-
 drivers/soc/qcom/qcom-geni-se.c         | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
Signature · 1 line
2.48.1
#1 lore raw

PATCH 1/2 firmware: qcom: fix typo "uninterruptable" in comment

Correct "uninterruptable" to "uninterruptible", reported by scripts/checkpatch.pl using the misspelling list in scripts/spelling.txt. Only touches comments, no code changes.

Assisted-by Cursor:claude-opus-5
---
 drivers/firmware/qcom/qcom_scm-legacy.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/firmware/qcom/qcom_scm-legacy.c +1 -1
index 029e6d117cb8..fe751ee512da 100644
@@ -219,7 +219,7 @@ int scm_legacy_call(struct device *dev, const struct qcom_scm_desc *desc,
  * @res:  SCM call return values
  *
  * This shall only be used with commands that are guaranteed to be
- * uninterruptable, atomic and SMP safe.
+ * uninterruptible, atomic and SMP safe.
  */
 int scm_legacy_call_atomic(struct device *unused,
 			   const struct qcom_scm_desc *desc,
Signature · 1 line
2.48.1
Reviewed-by on v1 1/2
#2 lore raw

Re: [PATCH 1/2] firmware: qcom: fix typo "uninterruptable" in comment

Quoted 7 lines · Hemanth Selam

Correct "uninterruptable" to "uninterruptible", reported by scripts/checkpatch.pl using the misspelling list in scripts/spelling.txt. Only touches comments, no code changes.

Assisted-by Cursor:claude-opus-5

---

Konrad

#3 lore raw

PATCH 2/2 soc: qcom: fix typo "upto" in comment

In reply to Hemanth Selam

Correct "upto" to "up to", reported by scripts/checkpatch.pl using the misspelling list in scripts/spelling.txt. Only touches comments, no code changes.

Assisted-by Cursor:claude-opus-5
---
 drivers/soc/qcom/qcom-geni-se.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/soc/qcom/qcom-geni-se.c +1 -1
index 873bfbd6b2b7..6b42da3b6c5e 100644
@@ -42,7 +42,7 @@ EXPORT_TRACEPOINT_SYMBOL_GPL(geni_se_regs);
  *
  * GENI based QUP is a highly-flexible and programmable module for supporting
  * a wide range of serial interfaces like UART, SPI, I2C, I3C, etc. A single
- * QUP module can provide upto 8 serial interfaces, using its internal
+ * QUP module can provide up to 8 serial interfaces, using its internal
  * serial engines. The actual configuration is determined by the target
  * platform configuration. The protocol supported by each interface is
  * determined by the firmware loaded to the serial engine. Each SE consists
Signature · 1 line
2.48.1
maintainer Applied
#5 lore raw
In reply to Hemanth Selam
Quoted 9 lines · Hemanth Selam

This corrects 2 misspellings in comments. Each is a separate patch so that any one of them can be dropped without touching the rest.

Nothing outside comments changes. Every touched C file was checked by dropping its comments, replacing each string literal with a placeholder and collapsing whitespace; what remained was identical before and after, so the compiled code cannot differ.

[...]

Applied, thanks!

[1/2] firmware: qcom: fix typo "uninterruptable" in comment

      commit: 6359904fbd19a18c267f63e51061c275ddfef647
[2/2] soc: qcom: fix typo "upto" in comment
      commit: 5a174856d0ac97699b07cdbf09e0c251b3a60034

Best regards,

Signature · 1 line
Bjorn Andersson <[email protected]>