diff options
author | Corey Minyard <cminyard@mvista.com> | 2015-02-19 11:29:24 -0600 |
---|---|---|
committer | Corey Minyard <cminyard@mvista.com> | 2015-09-03 15:02:24 -0500 |
commit | b2234ee9fc059c17e811a365383e3412a2f50bed (patch) | |
tree | 1d177440e18205d583c646f8b025f28e17fd6746 /drivers/char/ipmi | |
parent | cca85f19c260df495a487495479c67803b25fa8a (diff) | |
download | op-kernel-dev-b2234ee9fc059c17e811a365383e3412a2f50bed.zip op-kernel-dev-b2234ee9fc059c17e811a365383e3412a2f50bed.tar.gz |
ipmi: Add a comment in how messages are delivered from the lower layer
To avoid confusion in the future.
Signed-off-by: Corey Minyard <cminyard@mvista.com>
Diffstat (limited to 'drivers/char/ipmi')
-rw-r--r-- | drivers/char/ipmi/ipmi_msghandler.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/char/ipmi/ipmi_msghandler.c b/drivers/char/ipmi/ipmi_msghandler.c index bf75f63..ef4a418 100644 --- a/drivers/char/ipmi/ipmi_msghandler.c +++ b/drivers/char/ipmi/ipmi_msghandler.c @@ -3959,6 +3959,10 @@ free_msg: if (!run_to_completion) spin_lock_irqsave(&intf->xmit_msgs_lock, flags); + /* + * We can get an asynchronous event or receive message in addition + * to commands we send. + */ if (msg == intf->curr_msg) intf->curr_msg = NULL; if (!run_to_completion) |