Commit 70c03634 authored by Masanari Iida's avatar Masanari Iida Committed by Jonathan Corbet

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: default avatarMasanari Iida <standby24x7@gmail.com>
Signed-off-by: default avatarJonathan Corbet <corbet@lwn.net>
parent f353d71f
...@@ -53,7 +53,7 @@ static void message_from_remote(struct mbox_client *cl, void *mssg) ...@@ -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 *dc = container_of(mbox_client,
struct demo_client, cl); struct demo_client, cl);
if (dc->aysnc) { if (dc->async) {
if (is_an_ack(mssg)) { if (is_an_ack(mssg)) {
/* An ACK to our last sample sent */ /* An ACK to our last sample sent */
return; /* Or do something else here */ return; /* Or do something else here */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment