Merge branch 'locking-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...
[sfrench/cifs-2.6.git] / include / linux / lockdep.h
index 6f165d6253200a63ca5ab0a88bd2ea81c01f8ba3..6e2377e6c1d6013d01457b452952cc038be0e07b 100644 (file)
@@ -476,7 +476,7 @@ struct pin_cookie { };
 
 #define NIL_COOKIE (struct pin_cookie){ }
 
-#define lockdep_pin_lock(l)                    ({ struct pin_cookie cookie; cookie; })
+#define lockdep_pin_lock(l)                    ({ struct pin_cookie cookie = { }; cookie; })
 #define lockdep_repin_lock(l, c)               do { (void)(l); (void)(c); } while (0)
 #define lockdep_unpin_lock(l, c)               do { (void)(l); (void)(c); } while (0)