diff options
Diffstat (limited to 'FS62142.patch')
-rw-r--r-- | FS62142.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/FS62142.patch b/FS62142.patch new file mode 100644 index 000000000000..887f3366723e --- /dev/null +++ b/FS62142.patch @@ -0,0 +1,12 @@ +diff -Naurp a/kernel/nvidia/nv-dma.c b/kernel/nvidia/nv-dma.c +--- a/kernel/nvidia/nv-dma.c 2019-05-08 01:37:30.000000000 +0000 ++++ b/kernel/nvidia/nv-dma.c 2019-06-08 18:33:00.000000000 +0000 +@@ -613,7 +613,7 @@ static NvBool nv_dma_is_map_resource_imp + #endif + } + +- return (ops->map_resource != NULL); ++ return (ops && ops->map_resource); + #else + return NV_FALSE; + #endif |