pager_req_map: fix printk

Change-Id: I98488169f02656c2df711b827d0002762de69f7a
This commit is contained in:
Masamichi Takagi
2020-06-12 11:50:52 +09:00
parent c32a5e261b
commit 5395891966

View File

@ -1468,7 +1468,12 @@ static int pager_req_map(ihk_os_t os, int fd, size_t len, off_t off,
#endif
if (IS_ERR_VALUE(va)) {
printk("pager_req_map(%p,%d,%lx,%lx,%lx):do_mmap_pgoff failed. %d\n", os, fd, len, off, result_rpa, (int)va);
if ((int)va != -ENOTSUPP) {
pr_err("%s(%p,%d,%lx,%lx,%lx): "
"do_mmap_pgoff failed. %d\n",
__func__, os, fd, len, off, result_rpa,
(int)va);
}
error = va;
goto out;
}