]> git.baikalelectronics.ru Git - kernel.git/commit
alienware-wmi: cover some scenarios where memory allocations would fail
authorMario Limonciello <mario_limonciello@dell.com>
Fri, 4 Apr 2014 19:40:20 +0000 (14:40 -0500)
committerMatthew Garrett <matthew.garrett@nebula.com>
Thu, 10 Apr 2014 16:11:56 +0000 (12:11 -0400)
commit98d691c5be5ace9ba0b5bd00618f8d3141d128e2
tree5b84c1525c05563990c2397300881fef0f06d409
parent919d2a37c821bf4f65c499308ecd502e7970b80e
alienware-wmi: cover some scenarios where memory allocations would fail

Intel test builder caught a few instances that should test if kzalloc failed to
allocate memory as well as a scenario that platform_driver wasn't properly
initialized.

Signed-off-by: Mario Limonciello <mario_limonciello@dell.com>
Signed-off-by: Matthew Garrett <matthew.garrett@nebula.com>
drivers/platform/x86/alienware-wmi.c