From cda7da4f537e88719930318a1a98da53d5268fe1 Mon Sep 17 00:00:00 2001 From: Alistair Popple Date: Wed, 5 Nov 2014 14:40:48 +1100 Subject: bt/ipmi: Quieten logging output Some tools (eg. ipmitool) that use the Linux ipmi stack send potentially invalid commands to probe functionality. Currently skiboot prints an error to the console whenever this happens resulting in excessive noise when using the Linux ipmi stack. This patch just removes and/or lowers the logging level of these errors. Signed-off-by: Benjamin Herrenschmidt --- core/ipmi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/ipmi.c') diff --git a/core/ipmi.c b/core/ipmi.c index 28b8022a..32f1f4d1 100644 --- a/core/ipmi.c +++ b/core/ipmi.c @@ -87,7 +87,7 @@ void ipmi_cmd_done(uint8_t cmd, uint8_t netfn, uint8_t cc, struct ipmi_msg *msg) msg->netfn = netfn; if (cc != IPMI_CC_NO_ERROR) { - prerror("IPMI: Got error response 0x%02x\n", msg->cc); + prlog(PR_DEBUG, "IPMI: Got error response 0x%02x\n", msg->cc); assert(msg->error); msg->error(msg); -- cgit v1.2.1