hp-wmi: check for allocation failures
rfkill_alloc() returns NULL on failure. Check for it, to make the static checkers happy. Signed-off-by: NDan Carpenter <dan.carpenter@oracle.com> Signed-off-by: NMatthew Garrett <mjg@redhat.com>
Showing
想要评论请 注册 或 登录