Skip to contentSkip to conversation

treewide: Fix typo in Documentation/DocBook/device-drivers

PATCH In review Masanari Iida 4 participants 4 messages Oct 21, 2014 – Oct 22, 2014

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

PATCH 1/1 treewide: Fix typo in Documentation/DocBook/device-drivers

This patch fix speeling typo found in html files within Documentation/DocBook/device-drivers.
It is because html files are generated from comments in source, so I have to fix comments in the source.

---
 drivers/dma-buf/fence.c | 2 +-
 include/linux/fence.h   | 4 ++--
 include/linux/i2c.h     | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)
drivers/dma-buf/fence.c +1 -1
index 7bb9d65..e554111 100644
@@ -283,7 +283,7 @@ EXPORT_SYMBOL(fence_add_callback);
  * @cb:		[in]	the callback to remove
  *
  * Remove a previously queued callback from the fence. This function returns
- * true if the callback is succesfully removed, or false if the fence has
+ * true if the callback is successfully removed, or false if the fence has
  * already been signaled.
  *
  * *WARNING*:
include/linux/fence.h +2 -2
index d174585..39efee1 100644
@@ -128,8 +128,8 @@ struct fence_cb {
  * from irq context, so normal spinlocks can be used.
  *
  * A return value of false indicates the fence already passed,
- * or some failure occured that made it impossible to enable
- * signaling. True indicates succesful enabling.
+ * or some failure occurred that made it impossible to enable
+ * signaling. True indicates successful enabling.
  *
  * fence->status may be set in enable_signaling, but only when false is
  * returned.
include/linux/i2c.h +1 -1
index b556e0a..70ee0d3 100644
@@ -359,7 +359,7 @@ i2c_register_board_info(int busnum, struct i2c_board_info const *info,
  * to name two of the most common.
  *
  * The return codes from the @master_xfer field should indicate the type of
- * error code that occured during the transfer, as documented in the kernel
+ * error code that occurred during the transfer, as documented in the kernel
  * Documentation file Documentation/i2c/fault-codes.
  */
 struct i2c_algorithm {
Signature · 1 line
2.1.2.451.g98349e5
Acked-by on v1 1/1
#1 lore raw
Quoted 6 lines · Masanari Iida

This patch fix speeling typo found in html files within Documentation/DocBook/device-drivers.
It is because html files are generated from comments in source, so I have to fix comments in the source.

Thanks.

Quoted 5 lines
---
 drivers/dma-buf/fence.c | 2 +-
 include/linux/fence.h   | 4 ++--
 include/linux/i2c.h     | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)
Signature · 1 line
~Randy
#2 lore raw
In reply to Masanari Iida
Quoted 6 lines · On Wed, 22 Oct 2014 00:00:14 +0900 Masanari Iida <[email protected]> wrote:

This patch fix speeling typo found in html files within Documentation/DocBook/device-drivers.
It is because html files are generated from comments in source, so I have to fix comments in the source.

I can pick this up, I guess. But I'll copy the relevant subsystem maintainers just in case they would rather carry the changes themselves.

jon

Quoted 47 lines
---
 drivers/dma-buf/fence.c | 2 +-
 include/linux/fence.h   | 4 ++--
 include/linux/i2c.h     | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)
drivers/dma-buf/fence.c +1 -1
index 7bb9d65..e554111 100644
@@ -283,7 +283,7 @@ EXPORT_SYMBOL(fence_add_callback);
  * @cb:		[in]	the callback to remove
  *
  * Remove a previously queued callback from the fence. This function returns
- * true if the callback is succesfully removed, or false if the fence has
+ * true if the callback is successfully removed, or false if the fence has
  * already been signaled.
  *
  * *WARNING*:
include/linux/fence.h +2 -2
index d174585..39efee1 100644
@@ -128,8 +128,8 @@ struct fence_cb {
  * from irq context, so normal spinlocks can be used.
  *
  * A return value of false indicates the fence already passed,
- * or some failure occured that made it impossible to enable
- * signaling. True indicates succesful enabling.
+ * or some failure occurred that made it impossible to enable
+ * signaling. True indicates successful enabling.
  *
  * fence->status may be set in enable_signaling, but only when false is
  * returned.
include/linux/i2c.h +1 -1
index b556e0a..70ee0d3 100644
@@ -359,7 +359,7 @@ i2c_register_board_info(int busnum, struct i2c_board_info const *info,
  * to name two of the most common.
  *
  * The return codes from the @master_xfer field should indicate the type of
- * error code that occured during the transfer, as documented in the kernel
+ * error code that occurred during the transfer, as documented in the kernel
  * Documentation file Documentation/i2c/fault-codes.
  */
 struct i2c_algorithm {
Acked-by
#3 lore raw
Quoted 8 lines · Jonathan Corbet
Quoted 5 lines · On Wed, 22 Oct 2014 00:00:14 +0900 Masanari Iida <[email protected]> wrote:

This patch fix speeling typo found in html files within Documentation/DocBook/device-drivers.
It is because html files are generated from comments in source, so I have to fix comments in the source.

Quoted 4 lines
Quoted 1 line

I can pick this up, I guess. But I'll copy the relevant subsystem maintainers just in case they would rather carry the changes themselves.

For I2C: