[PATCH] cxl: Ignore CAPI adapters misplaced in switched slots

Frederic Barrat fbarrat at linux.vnet.ibm.com
Fri Jul 1 18:53:45 AEST 2016


Salut Philippe,

Le 30/06/2016 13:45, Philippe Bergheaud a écrit :
> +	if (cxl_slot_is_switched(dev)) {
> +		dev_dbg(&dev->dev, "cxl_init_adapter: Ignoring switched slot device\n");
> +		return -ENODEV;
> +	}


I think it would be useful for the user who has inserted the card in the 
wrong slot to be notified, i.e. raise the level of the message. 
Otherwise he would be wondering why the card is not recognized.

   Fred



More information about the Linuxppc-dev mailing list