Skip to content
Commit dd258c00 authored by Dan Carpenter's avatar Dan Carpenter Committed by Matthew Garrett
Browse files

hp-wmi: check for allocation failures



rfkill_alloc() returns NULL on failure.  Check for it, to make the
static checkers happy.

Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: default avatarMatthew Garrett <mjg@redhat.com>
parent 121b7b0d
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