diff options
author | 2017-12-11 13:54:27 +0300 | |
---|---|---|
committer | 2017-12-11 16:32:30 -0800 | |
commit | 91c73e809233e8f93278458b2818fd577c3deb02 (patch) | |
tree | 1ed9a5ff48eb647642fdb8813e8978e077f832ac /drivers/platform/x86/pmc_atom.c | |
parent | platform/x86: asus-wireless: send an EV_SYN/SYN_REPORT between state changes (diff) | |
download | linux-rng-91c73e809233e8f93278458b2818fd577c3deb02.tar.xz linux-rng-91c73e809233e8f93278458b2818fd577c3deb02.zip |
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: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Mario Limonciello <mario.limonciello@dell.com>
Signed-off-by: Darren Hart (VMware) <dvhart@infradead.org>
Diffstat (limited to 'drivers/platform/x86/pmc_atom.c')
0 files changed, 0 insertions, 0 deletions