mirror of
https://github.com/NVIDIA/open-gpu-kernel-modules.git
synced 2024-11-29 00:24:16 +01:00
osapi: Fix dereferencing NULL pNumaMemSize in rm_get_gpu_numa_info
Copy paste error. Closes: #55
This commit is contained in:
parent
9aea50f52f
commit
dcdb0c9a7e
@ -4638,7 +4638,7 @@ NV_STATUS NV_API_CALL rm_get_gpu_numa_info(
|
||||
void *fp;
|
||||
NV_STATUS status = NV_OK;
|
||||
|
||||
if ((pNid == NULL) || (pNumaMemAddr == NULL) || (pNumaMemAddr == NULL))
|
||||
if ((pNid == NULL) || (pNumaMemAddr == NULL) || (pNumaMemSize == NULL))
|
||||
{
|
||||
return NV_ERR_INVALID_ARGUMENT;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user