Created
November 15, 2019 20:31
-
-
Save wheresvic/1e526c3cd937414661ce6be7c5e4667d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- a/common/inc/nv-linux.h | |
+++ b/common/inc/nv-linux.h | |
@@ -730,8 +730,8 @@ static inline void nv_vunmap(NvUPtr vaddr, NvU32 page_count) | |
#elif (NV_ON_EACH_CPU_ARGUMENT_COUNT == 3) | |
#define NV_ON_EACH_CPU(func, info) \ | |
({ \ | |
- int __ret = on_each_cpu(func, info, 1); \ | |
- __ret; \ | |
+ on_each_cpu(func, info, 1); \ | |
+ 0; \ | |
}) | |
#else | |
#error "NV_ON_EACH_CPU_ARGUMENT_COUNT value unrecognized!" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment