]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
ipmi: Make two logs unique
authorCorey Minyard <cminyard@mvista.com>
Thu, 14 Apr 2022 16:07:05 +0000 (11:07 -0500)
committerCorey Minyard <cminyard@mvista.com>
Thu, 12 May 2022 15:00:04 +0000 (10:00 -0500)
There were two identical logs in two different places, so you couldn't
tell which one was being logged.  Make them unique.

Signed-off-by: Corey Minyard <cminyard@mvista.com>
drivers/char/ipmi/ipmi_msghandler.c

index 35ba110dc3789503d9942b0dc065e4b9cdeb67ff..051839ec8763c116470400576c7a710126cfeb1c 100644 (file)
@@ -4083,7 +4083,7 @@ static int handle_ipmb_direct_rcv_rsp(struct ipmi_smi *intf,
        recv_msg = (struct ipmi_recv_msg *) msg->user_data;
        if (recv_msg == NULL) {
                dev_warn(intf->si_dev,
-                        "IPMI message received with no owner. This could be because of a malformed message, or because of a hardware error.  Contact your hardware vendor for assistance.\n");
+                        "IPMI direct message received with no owner. This could be because of a malformed message, or because of a hardware error.  Contact your hardware vendor for assistance.\n");
                return 0;
        }
 
@@ -4501,7 +4501,7 @@ static int handle_bmc_rsp(struct ipmi_smi *intf,
        recv_msg = (struct ipmi_recv_msg *) msg->user_data;
        if (recv_msg == NULL) {
                dev_warn(intf->si_dev,
-                        "IPMI message received with no owner. This could be because of a malformed message, or because of a hardware error.  Contact your hardware vendor for assistance.\n");
+                        "IPMI SMI message received with no owner. This could be because of a malformed message, or because of a hardware error.  Contact your hardware vendor for assistance.\n");
                return 0;
        }