diff options
| author | Antonio Quartulli <[email protected]> | 2012-11-10 11:00:32 +0100 |
|---|---|---|
| committer | Antonio Quartulli <[email protected]> | 2013-01-12 20:58:21 +1000 |
| commit | dec05074b1a322f5fbbe3f81bc438a75bfec3c34 (patch) | |
| tree | 407f9281efb3f42c83773b07c4aae48cb5041937 /tools/perf/scripts/python/sched-migration.py | |
| parent | 8425ec6aea20f8c8e1783d7390f5ea6ca01c58e1 (diff) | |
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 <[email protected]>
Tested-by: Linus Lüssing <[email protected]>
Signed-off-by: Marek Lindner <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions