public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Documentation: Fix a typo in mailbox.txt
@ 2014-10-21 23:36 Masanari Iida
  2014-10-22 11:27 ` Jonathan Corbet
  2014-11-03 16:55 ` Jonathan Corbet
  0 siblings, 2 replies; 3+ messages in thread
From: Masanari Iida @ 2014-10-21 23:36 UTC (permalink / raw)
  To: jaswinder.singh, linux-kernel, corbet; +Cc: Masanari Iida

This patch fix a typo in Documentation/mailbox.txt
"bool async" is defined in struct demo_client.

Signed-off-by: Masanari Iida <standby24x7@gmail.com>
---
 Documentation/mailbox.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/mailbox.txt b/Documentation/mailbox.txt
index 60f43ff..1092ad9 100644
--- a/Documentation/mailbox.txt
+++ b/Documentation/mailbox.txt
@@ -53,7 +53,7 @@ static void message_from_remote(struct mbox_client *cl, void *mssg)
 {
 	struct demo_client *dc = container_of(mbox_client,
 						struct demo_client, cl);
-	if (dc->aysnc) {
+	if (dc->async) {
 		if (is_an_ack(mssg)) {
 			/* An ACK to our last sample sent */
 			return; /* Or do something else here */
-- 
2.1.2.451.g98349e5


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] Documentation: Fix a typo in mailbox.txt
  2014-10-21 23:36 [PATCH] Documentation: Fix a typo in mailbox.txt Masanari Iida
@ 2014-10-22 11:27 ` Jonathan Corbet
  2014-11-03 16:55 ` Jonathan Corbet
  1 sibling, 0 replies; 3+ messages in thread
From: Jonathan Corbet @ 2014-10-22 11:27 UTC (permalink / raw)
  To: Masanari Iida; +Cc: jaswinder.singh, linux-kernel

On Wed, 22 Oct 2014 08:36:07 +0900
Masanari Iida <standby24x7@gmail.com> wrote:

> This patch fix a typo in Documentation/mailbox.txt
> "bool async" is defined in struct demo_client.

This seems worthy of application, but it makes me worry: clearly the
example code in this file was not taken from a working file and has not
actually been built.  It seems like this code would be better placed in
samples/ as a working example?

jon

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] Documentation: Fix a typo in mailbox.txt
  2014-10-21 23:36 [PATCH] Documentation: Fix a typo in mailbox.txt Masanari Iida
  2014-10-22 11:27 ` Jonathan Corbet
@ 2014-11-03 16:55 ` Jonathan Corbet
  1 sibling, 0 replies; 3+ messages in thread
From: Jonathan Corbet @ 2014-11-03 16:55 UTC (permalink / raw)
  To: Masanari Iida; +Cc: jaswinder.singh, linux-kernel

On Wed, 22 Oct 2014 08:36:07 +0900
Masanari Iida <standby24x7@gmail.com> wrote:

> This patch fix a typo in Documentation/mailbox.txt
> "bool async" is defined in struct demo_client.
> 
> Signed-off-by: Masanari Iida <standby24x7@gmail.com>

I've (finally) applied this one, thanks.

jon

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-11-03 16:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-21 23:36 [PATCH] Documentation: Fix a typo in mailbox.txt Masanari Iida
2014-10-22 11:27 ` Jonathan Corbet
2014-11-03 16:55 ` Jonathan Corbet

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