mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] rapidio: Fix typo in rio-scan.c and rio.h
@ 2015-05-07 15:02 Masanari Iida
  0 siblings, 0 replies; only message in thread
From: Masanari Iida @ 2015-05-07 15:02 UTC (permalink / raw)
  To: linux-kernel, mporter, alexandre.bounine; +Cc: corbet, trivial, Masanari Iida

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.

Signed-off-by: Masanari Iida <standby24x7@gmail.com>
---
 drivers/rapidio/rio-scan.c | 2 +-
 include/linux/rio.h        | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/rapidio/rio-scan.c b/drivers/rapidio/rio-scan.c
index 47a1b2e..d6a126c 100644
--- a/drivers/rapidio/rio-scan.c
+++ b/drivers/rapidio/rio-scan.c
@@ -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)
 {
diff --git a/include/linux/rio.h b/include/linux/rio.h
index 6bda06f..cde976e 100644
--- a/include/linux/rio.h
+++ b/include/linux/rio.h
@@ -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
-- 
2.4.0.rc3.3.g6eb1401


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-05-07 15:02 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-05-07 15:02 [PATCH] rapidio: Fix typo in rio-scan.c and rio.h Masanari Iida

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®