]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
thunderbolt: Fix typos in documentation comments
authorAlok Tiwari <alok.a.tiwari@oracle.com>
Sun, 22 Jun 2025 17:17:03 +0000 (10:17 -0700)
committerMika Westerberg <mika.westerberg@linux.intel.com>
Mon, 23 Jun 2025 09:56:18 +0000 (12:56 +0300)
Fixes two minor typos in Thunderbolt driver comments:
Correct "passwd" -> "passed" in nvm.c.
Correct "boths" -> "both" in switch.c.

Signed-off-by: Alok Tiwari <alok.a.tiwari@oracle.com>
Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
drivers/thunderbolt/nvm.c
drivers/thunderbolt/switch.c

index 8901db2de327cdbbdcc0a52fd69f187b29f76353..da11c8112e29b4ef5aea243ae817fc39e053c4df 100644 (file)
@@ -588,7 +588,7 @@ int tb_nvm_read_data(unsigned int address, void *buf, size_t size,
  * @size: Size of the buffer in bytes
  * @retries: Number of retries if the block write fails
  * @write_block: Function that writes block to the flash
- * @write_block_data: Data passwd to @write_block
+ * @write_block_data: Data passed to @write_block
  *
  * This is generic function that writes data to NVM or NVM like device.
  *
index 28febb95f8fa1d3f67050f8d0437109a54d47436..601d2b1723dee19cb14163dfd3ad1657b97a2c0c 100644 (file)
@@ -3069,7 +3069,7 @@ static int tb_switch_asym_disable(struct tb_switch *sw)
  * @width: The new link width
  *
  * Set device router link width to @width from router upstream port
- * perspective. Supports also asymmetric links if the routers boths side
+ * perspective. Supports also asymmetric links if the routers both side
  * of the link supports it.
  *
  * Does nothing for host router.