[PATCH] cxl: abort cxl_pci_enable_device_hook() if PCI channel is offline

Ian Munsie imunsie at au1.ibm.com
Mon Sep 7 09:58:33 AEST 2015


Excerpts from andrew.donnellan's message of 2015-09-04 16:20:24 +1000:
> +    if (!cxl_adapter_link_ok(afu->adapter))
> +        dev_warn(&dev->dev, "%s: Device link is down, refusing to enable AFU\n", __func__);
> +        return false;

Based on the indentation it looks like you meant to add some curly
brackets here.

-Ian



More information about the Linuxppc-dev mailing list