Thread (11 messages) 11 messages, 3 authors, 2014-10-03

Re: [2/4] powerpc/eeh: Introduce eeh_ops::err_inject

From: Michael Ellerman <mpe@ellerman.id.au>
Date: 2014-09-24 02:23:17

On Tue, 2014-26-08 at 07:56:17 UTC, Gavin Shan wrote:
From: Mike Qiu <redacted>

+
+	/* Firmware supports error injection ? */
+	ret = opal_check_token(OPAL_PCI_ERR_INJCT);
+	if (ret != OPAL_TOKEN_PRESENT) {
+		pr_warn("%s: Firmware not support error injection (%lld)\n",
+			__func__, ret);
This doesn't build, we dropped OPAL_TOKEN_PRESENT.

I've replaced it with:

       if (!opal_check_token(OPAL_PCI_ERR_INJCT)) {
               pr_warn("%s: Firmware doesn't support error injection (%lld)\n",
                        __func__, ret);

cheers
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help