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 _______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev