diff options
author | Ilya Shchepetkov <[email protected]> | 2012-08-21 16:16:06 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2012-08-21 16:45:03 -0700 |
commit | 5ed12f12825c6c0451d703bfe918a7fc190e2738 (patch) | |
tree | 63da97b6e829ae1ded87014e4a15af0bc52daadf /tools/perf/util/trace-event-scripting.c | |
parent | c81758fbe0fdbbc0c74b37798f55bd9c91d5c068 (diff) |
drivers/rtc/rtc-pcf2123.c: initialize dynamic sysfs attributes
Dynamically allocated sysfs attributes must be initialized using
sysfs_attr_init(), otherwise lockdep complains: BUG: key <address> not in
.data!
Found by Linux Driver Verification project (linuxtesting.org).
Signed-off-by: Ilya Shchepetkov <[email protected]>
Cc: Chris Verges <[email protected]>
Cc: Christian Pellegrin <[email protected]>
Cc: Alessandro Zummo <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions