]> git.baikalelectronics.ru Git - kernel.git/commit
cxl: Fix informational message
authorFrederic Barrat <fbarrat@linux.vnet.ibm.com>
Mon, 12 Sep 2016 10:37:43 +0000 (12:37 +0200)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 13 Sep 2016 07:37:11 +0000 (17:37 +1000)
commit93789cc0000bd9b94b93ca72caefac97a7c2170b
tree6963ae510d1b35b9e222ff7bc30fe1de19c7dc0e
parent99ccd5b115269defeb6cf81fd82bf44af5052964
cxl: Fix informational message

When set_sl_ops() is called, the adapter data structure is not fully
initialized yet. Therefore the device name is not showing up in the
trace. Fix is simply to get the device name from the pci_dev
structure.

Fixes: 72ac1fcdfa8f ("cxl: Abstract the differences between the PSL and XSL")
Signed-off-by: Frederic Barrat <fbarrat@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
drivers/misc/cxl/pci.c