From: Hidehiro Kawai Date: Thu, 23 Apr 2015 02:16:44 +0000 (+0900) Subject: ipmi: Fix a problem that messages are not issued in run_to_completion mode X-Git-Tag: omap-for-v4.2/omap1-v2~31^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9f8127048ab8b47b43f8aeaaec9fec2da44be9a1;p=pandora-kernel.git ipmi: Fix a problem that messages are not issued in run_to_completion mode start_next_msg() issues a message placed in smi_info->waiting_msg if it is non-NULL. However, sender() sets a message to smi_info->curr_msg and NULL to smi_info->waiting_msg in the context of run_to_completion mode. As the result, it leads an infinite loop by waiting the completion of unissued message when leaving dying message after kernel panic. sender() should set the message to smi_info->waiting_msg not curr_msg. Signed-off-by: Hidehiro Kawai Signed-off-by: Corey Minyard --- Reading git-diff-tree failed