IB/rdmavt: Do not use rvt prints which rely on driver too early
authorDennis Dalessandro <dennis.dalessandro@intel.com>
Wed, 6 Jan 2016 18:03:39 +0000 (10:03 -0800)
committerDoug Ledford <dledford@redhat.com>
Fri, 11 Mar 2016 01:37:12 +0000 (20:37 -0500)
commit36055a0652b6acb0e54ca0ad5ead2ac51e90f9ab
tree8ab43df8a85bb9afdf928d25079b8d194f0edaa4
parent7b1e2099adc8e66f78fee2dd2f10cb8a11362083
IB/rdmavt: Do not use rvt prints which rely on driver too early

Trying to print debug and error messages with the rdmavt helpers will not
work out so well if the drivers have not provided the get_card and get
pci functions. Use the normal pr_error instead until we can check this.

Reviewed-by: Ira Weiny <ira.weiny@intel.com>
Reviewed-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/sw/rdmavt/vt.c