Skip to content
Commit 91c73e80 authored by Dan Carpenter's avatar Dan Carpenter Committed by Darren Hart (VMware)
Browse files

platform/x86: dell-wmi: check for kmalloc() errors



This allocation won't fail in the current kernel because it's small but
not checking for kmalloc() failures introduces static checker warnings
so let's fix it.

Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: default avatarMario Limonciello <mario.limonciello@dell.com>
Signed-off-by: default avatarDarren Hart (VMware) <dvhart@infradead.org>
parent 9cd5cf37
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment