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

Michael Ellerman mpe at ellerman.id.au
Wed Sep 24 12:23:17 EST 2014


On Tue, 2014-26-08 at 07:56:17 UTC, Gavin Shan wrote:
> From: Mike Qiu <qiudayu at linux.vnet.ibm.com>
> 
> +
> +	/* 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


More information about the Linuxppc-dev mailing list