This was committed in 1d55c096cce99f069d9ac8e3b2195d45adce9549 on Feb 7, and clearly never actually compiled. --- kernel/external-module-compat.h | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/kernel/external-module-compat.h b/kernel/external-module-compat.h index 2e1a9f1..8e62efb 100644 --- a/kernel/external-module-compat.h +++ b/kernel/external-module-compat.h @@ -126,9 +126,9 @@ static inline int smp_call_function_single2(int cpu, void (*func)(void *info), #define kzalloc(size,flags) \ ({ \ void *__ret = kmalloc(size, flags); \ - if (__ret) - memset(__ret, 0, size); - __ret; + if (__ret) \ + memset(__ret, 0, size); \ + __ret; \ }) #endif #endif -- 1.5.1.3 ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ kvm-devel mailing list kvm-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/kvm-devel