Documentation: Fix a typo in mailbox.txt
PATCH 1/1 Documentation: Fix a typo in mailbox.txt
This patch fix a typo in Documentation/mailbox.txt "bool async" is defined in struct demo_client.
Signed-off-by Masanari Iida <[email protected]>
--- Documentation/mailbox.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/mailbox.txt +1 -1
@@ -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 */
Signature · 1 line
2.1.2.451.g98349e5
Jonathan Corbet
maintainerQuoted 2 lines · On Wed, 22 Oct 2014 08:36:07 +0900 Masanari Iida <[email protected]> wrote:
This patch fix a typo in
Documentation/mailbox.txt"bool async" is defined in structdemo_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
Jonathan Corbet
maintainerQuoted 4 lines · On Wed, 22 Oct 2014 08:36:07 +0900 Masanari Iida <[email protected]> wrote:
This patch fix a typo in
Documentation/mailbox.txt"bool async" is defined in structdemo_client.Signed-off-by Masanari Iida <[email protected]>
I've (finally) applied this one, thanks.
jon