Created
November 15, 2019 20:31
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