Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment