]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
ipmi:ipmb: Fix a vague comment and a typo
authorCorey Minyard <cminyard@mvista.com>
Sun, 4 Sep 2022 16:43:14 +0000 (11:43 -0500)
committerCorey Minyard <cminyard@mvista.com>
Sun, 4 Sep 2022 16:43:14 +0000 (11:43 -0500)
Sending an IPMI response message gets a reponse to the response, but the
comment saying that just said "response response", which is hard to
understand.  Also fix an obvious typo.

Reported-by: Shaomin Deng <dengshaomin@cdjrlc.com>
Signed-off-by: Corey Minyard <cminyard@mvista.com>
drivers/char/ipmi/ipmi_ipmb.c

index ab19b4b3317ecdf082a2f36cfd835368e2353936..1019946abe4e8fdc549cd97bf87d3699c1f0b497 100644 (file)
@@ -218,8 +218,8 @@ static void ipmi_ipmb_send_response(struct ipmi_ipmb_dev *iidev,
 {
        if ((msg->data[0] >> 2) & 1) {
                /*
-                * It's a response being sent, we needto return a
-                * response response.  Fake a send msg command
+                * It's a response being sent, we need to return a
+                * response to the response.  Fake a send msg command
                 * response with channel 0.  This will always be ipmb
                 * direct.
                 */