Skip to contentSkip to conversation

driver core: fix typos in comments

PATCH Applied Hemanth Selam 4 participants 4 messages Sep 4 – Sep 8

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

PATCH 1/1 driver core: fix typos in comments

Fix typos in comments, 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/base/property.c        | 2 +-
 drivers/base/transport_class.c | 2 +-
 include/linux/kernfs.h         | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
drivers/base/property.c +1 -1
index b136c339ddae..d8152fee72c3 100644
@@ -705,7 +705,7 @@ bool fwnode_name_eq(const struct fwnode_handle *fwnode, const char *name)
 EXPORT_SYMBOL_GPL(fwnode_name_eq);
 
 /**
- * fwnode_get_parent - Return parent firwmare node
+ * fwnode_get_parent - Return parent firmware node
  * @fwnode: Firmware whose parent is retrieved
  *
  * The caller is responsible for calling fwnode_handle_put() on the returned
drivers/base/transport_class.c +1 -1
index 351c3d3ce6a0..2bee796601ed 100644
@@ -7,7 +7,7 @@
  *
  * The basic idea here is to allow any "device controller" (which
  * would most often be a Host Bus Adapter to use the services of one
- * or more tranport classes for performing transport specific
+ * or more transport classes for performing transport specific
  * services.  Transport specific services are things that the generic
  * command layer doesn't want to know about (speed settings, line
  * condidtioning, etc), but which the user might be interested in.
include/linux/kernfs.h +1 -1
index 351a5101c862..73786b567ccd 100644
@@ -309,7 +309,7 @@ struct kernfs_ops {
 	 * write() is bounced through kernel buffer.  If atomic_write_len
 	 * is not set, a write larger than PAGE_SIZE results in partial
 	 * operations of PAGE_SIZE chunks.  If atomic_write_len is set,
-	 * writes upto the specified size are executed atomically but
+	 * writes up to the specified size are executed atomically but
 	 * larger ones are rejected with -E2BIG.
 	 */
 	size_t atomic_write_len;
Signature · 1 line
2.48.1
Acked-by on v1 1/1
#1 lore raw
Quoted 11 lines · Hemanth Selam

Fix typos in comments, 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/base/property.c        | 2 +-
 drivers/base/transport_class.c | 2 +-
 include/linux/kernfs.h         | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

Thanks.

Signature · 1 line
~Randy
reviewer Reviewed-by on v1 1/1
#2 lore raw
In reply to Hemanth Selam
Quoted 3 lines · Hemanth Selam

Fix typos in comments, reported by scripts/checkpatch.pl using the misspelling list in scripts/spelling.txt. Only touches comments, no code changes.

Not sure if it's okay to combine three different areas in one patch. OTOH this is quite minor fix and I wouldn't expect any conflicts with anything.

Signature · 2 lines
With Best Regards,
Andy Shevchenko
maintainer Applied
#3 lore raw
In reply to Hemanth Selam
Quoted 1 line · Hemanth Selam

[PATCH] driver core: fix typos in comments

Applied, thanks!

Branch: driver-core-testing
Tree: git://git.kernel.org/pub/scm/linux/kernel/git/driver-core/driver-core.git

[1/1] driver core: fix typos in comments

      commit: d3bdf70cf0e8

The patch will appear in the next linux-next integration (typically within 24 hours on weekdays).

The patch is in the driver-core-testing branch and will be promoted to driver-core-next after validation.