Commit 221195fb authored by Greg Kurz's avatar Greg Kurz Committed by Benjamin Herrenschmidt

powerpc: Drop useless warning in eeh_init()

This is what we get in dmesg when booting a pseries guest and
the hypervisor doesn't provide EEH support.

[    0.166655] EEH functionality not supported
[    0.166778] eeh_init: Failed to call platform init function (-22)

Since both powernv_eeh_init() and pseries_eeh_init() already complain when
hitting an error, it is not needed to print more (especially such an
uninformative message).
Signed-off-by: default avatarGreg Kurz <gkurz@linux.vnet.ibm.com>
Acked-by: default avatarGavin Shan <gwshan@linux.vnet.ibm.com>
Signed-off-by: default avatarBenjamin Herrenschmidt <benh@kernel.crashing.org>
parent 6d626c5e
...@@ -933,11 +933,8 @@ int eeh_init(void) ...@@ -933,11 +933,8 @@ int eeh_init(void)
pr_warn("%s: Platform EEH operation not found\n", pr_warn("%s: Platform EEH operation not found\n",
__func__); __func__);
return -EEXIST; return -EEXIST;
} else if ((ret = eeh_ops->init())) { } else if ((ret = eeh_ops->init()))
pr_warn("%s: Failed to call platform init function (%d)\n",
__func__, ret);
return ret; return ret;
}
/* Initialize EEH event */ /* Initialize EEH event */
ret = eeh_event_init(); ret = eeh_event_init();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment