Skip to contentSkip to conversation

rapidio: Fix typo in rio-scan.c and rio.h

PATCH New Masanari Iida 1 participant 1 message May 7, 2015 Rapidio

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 rapidio: Fix typo in rio-scan.c and rio.h

This patch fix spelling typos found in DocBook/rapidio.xml Ths file was generated from comments in the source files, I had to fix them, instead of the xml file.

---
 drivers/rapidio/rio-scan.c | 2 +-
 include/linux/rio.h        | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
drivers/rapidio/rio-scan.c +1 -1
index 47a1b2e..d6a126c 100644
@@ -83,7 +83,7 @@ static u16 rio_destid_alloc(struct rio_net *net)
  * @destid: destID to reserve
  *
  * Tries to reserve the specified destID.
- * Returns 0 if successfull.
+ * Returns 0 if successful.
  */
 static int rio_destid_reserve(struct rio_net *net, u16 destid)
 {
include/linux/rio.h +1 -1
index 6bda06f..cde976e 100644
@@ -298,7 +298,7 @@ struct rio_id_table {
  * struct rio_net - RIO network info
  * @node: Node in global list of RIO networks
  * @devices: List of devices in this network
- * @switches: List of switches in this netowrk
+ * @switches: List of switches in this network
  * @mports: List of master ports accessing this network
  * @hport: Default port for accessing this network
  * @id: RIO network ID
Signature · 1 line
2.4.0.rc3.3.g6eb1401