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 <[email protected]>
Reviewed-by: Mike Marciniszyn <[email protected]>
Signed-off-by: Dennis Dalessandro <[email protected]>
Signed-off-by: Doug Ledford <[email protected]>
/* Mem Region */
ret = rvt_driver_mr_init(rdi);
if (ret) {
- rvt_pr_err(rdi, "Error in driver MR init.\n");
+ pr_err("Error in driver MR init.\n");
goto bail_no_mr;
}