diff options
author | Henrik Rydberg <[email protected]> | 2011-01-22 20:55:39 +0100 |
---|---|---|
committer | Guenter Roeck <[email protected]> | 2011-01-23 09:28:50 -0800 |
commit | 9d1f8a40ddab65a5cedb69b369ee4c0c6e4acf6b (patch) | |
tree | 7ab9582fc96b1d4d5fe5cd67cb8b01a0bfb960be /lib/memory-notifier-error-inject.c | |
parent | 1bae4ce27c9c90344f23c65ea6966c50ffeae2f5 (diff) |
hwmon: (applesmc) Properly initialize lockdep attributes
The switch to dynamically allocated sysfs attributes left the
internal lockdep members uninitialized, causing a formal bug.
This patch adds sysfs_attr_init() to the node creation function,
remedying the problem.
Reported-and-tested-by: Stefan Richter <[email protected]>
Signed-off-by: Henrik Rydberg <[email protected]>
Signed-off-by: Guenter Roeck <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions