mirror of https://gitee.com/openkylin/linux.git
media: venus: firmware: Use %pR to print IO resource
Replace explicit use of members of struct resource by %pR to print the resource. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Stanimir Varbanov <stanimir.varbanov@linaro.org> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
This commit is contained in:
parent
c50cc6dc6c
commit
2e6fc23eed
|
@ -100,8 +100,7 @@ static int venus_load_fw(struct venus_core *core, const char *fwname,
|
|||
|
||||
mem_va = memremap(r.start, *mem_size, MEMREMAP_WC);
|
||||
if (!mem_va) {
|
||||
dev_err(dev, "unable to map memory region: %pa+%zx\n",
|
||||
&r.start, *mem_size);
|
||||
dev_err(dev, "unable to map memory region: %pR\n", &r);
|
||||
ret = -ENOMEM;
|
||||
goto err_release_fw;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue