]> git.karo-electronics.de Git - karo-tx-linux.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:24 +0000 (12:11 -0400)
commit7a70906e55bf3b78a10f749cebb6ab0b4026b76e
tree5b84c1525c05563990c2397300881fef0f06d409
parentd17a5ee1297320f37542075a8b715c4e3674ca31
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