mirror of
https://github.com/NVIDIA/open-gpu-kernel-modules.git
synced 2025-03-14 09:29:24 +01:00
Merge 3a9b8741925700c7cab81d06b3522e8ab9f740e1 into 129479b1b7345f0055016ab3aa42ae78a4ca2048
This commit is contained in:
commit
79d37d4172
@ -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