hp-wmi: check for allocation failures
rfkill_alloc() returns NULL on failure. Check for it, to make the static checkers happy. Signed-off-by:Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by:
Matthew Garrett <mjg@redhat.com>
parent
121b7b0d
Please register or sign in to comment