mirror of
https://github.com/NVIDIA/open-gpu-kernel-modules.git
synced 2025-03-14 09:29:24 +01:00
Merge 3a9b8741925700c7cab81d06b3522e8ab9f740e1 into 25bef4626e6c5ccf5b433e1c22b6b1bd59e6f1bd
This commit is contained in:
commit
05ac0089f3
@ -596,7 +596,7 @@ static int nv_p2p_get_pages(
|
||||
*page_table, nv_p2p_mem_info_free_callback, mem_info);
|
||||
if (status != NV_OK)
|
||||
{
|
||||
goto failed;
|
||||
goto failed_nofree;
|
||||
}
|
||||
}
|
||||
|
||||
@ -620,6 +620,7 @@ failed:
|
||||
os_free_mem(rreqmb_h);
|
||||
}
|
||||
|
||||
failed_nofree:
|
||||
if (bGetPages)
|
||||
{
|
||||
(void)nv_p2p_put_pages(pt_type, sp, p2p_token, va_space,
|
||||
|
Loading…
x
Reference in New Issue
Block a user