Static analysis fixes
Change-Id: I7bc42545a1c497f704d7bfa6ea1b7e3893acc697
This commit is contained in:
committed by
Dominique Martinet
parent
141fa5120e
commit
9a79920ef9
@@ -656,7 +656,9 @@ static int fileobj_get_page(struct memobj *memobj, off_t off,
|
||||
npages = 1 << p2align;
|
||||
|
||||
virt = ihk_mc_alloc_pages_user(npages, (IHK_MC_AP_NOWAIT |
|
||||
(to_memobj(obj)->flags & MF_ZEROFILL) ? IHK_MC_AP_USER : 0), virt_addr);
|
||||
((to_memobj(obj)->flags & MF_ZEROFILL) ?
|
||||
IHK_MC_AP_USER : 0)),
|
||||
virt_addr);
|
||||
if (!virt) {
|
||||
error = -ENOMEM;
|
||||
kprintf("fileobj_get_page(%p,%lx,%x,%x,%p):"
|
||||
|
||||
Reference in New Issue
Block a user