From: Antonio Quartulli Date: Sat, 10 Nov 2012 10:00:32 +0000 (+0100) Subject: batman-adv: Initialize lockdep class keys for hashes X-Git-Tag: v3.9-rc1~139^2~391^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dec05074b1a322f5fbbe3f81bc438a75bfec3c34;p=pandora-kernel.git batman-adv: Initialize lockdep class keys for hashes Different hashes have the same class key because they get initialised with the same one. For this reason lockdep can create false warning when they are used recursively. Re-initialise the key for each hash after the invocation to hash_new() to avoid this problem. Signed-off-by: Antonio Quartulli Tested-by: Linus Lüssing Signed-off-by: Marek Lindner --- Reading git-diff-tree failed