diff options
| author | Linus Torvalds <[email protected]> | 2008-02-12 04:52:01 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2008-02-12 04:52:01 +0000 |
| commit | 96b5a46e2a72dc1829370c87053e0cd558d58bc0 (patch) | |
| tree | 1f327e4ee26377d40c5fcac8cda3f2fab03f6f09 /net/unix/sysctl_net_unix.c | |
| parent | x86: vdso_install fix (diff) | |
| download | kernel-96b5a46e2a72dc1829370c87053e0cd558d58bc0.tar.gz kernel-96b5a46e2a72dc1829370c87053e0cd558d58bc0.zip | |
WMI: initialize wmi_blocks.list even if ACPI is disabled
Even if we don't want to register the WMI driver, we should initialize
the wmi_blocks list to be empty, since we don't want the wmi helper
functions to oops just because that basic list has not even been set up.
With this, "find_guid()" will happily return "not found" rather than
oopsing all over the place, and the callers will then just automatically
return false or AE_NOT_FOUND as appropriate.
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions
