commit | dd258c00b96932ce2a81a9bb8bb8e6be997aa2cc | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Thu May 17 09:48:12 2012 +0300 |
committer | Matthew Garrett <mjg@redhat.com> | Thu May 31 14:29:33 2012 -0400 |
tree | 9f45bd2e95af0773f2f117cc11ebf85c8cfaf7f8 | |
parent | 121b7b0d2976c4b915434ae8005f0dde6e05e440 [diff] |
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>