diff options
| author | Thadeu Lima de Souza Cascardo <[email protected]> | 2010-06-09 16:48:39 -0300 |
|---|---|---|
| committer | Matthew Garrett <[email protected]> | 2010-08-03 09:48:46 -0400 |
| commit | b95d13eaf3d4ea093aba95c7f615f3b10708a2c4 (patch) | |
| tree | 932db97cfd3d5c2f4bc2e8bcd99d0cdaa661ed8e /scripts | |
| parent | 0385e5210c83b13fe685c54b6063655f80bce3ee (diff) | |
classmate-laptop: should check for NULL as retval for rfkill_alloc
rfkill_alloc returns NULL when it fails if RFKILL is enabled. When RFKILL is
disabled, its return value of ERR_PTR(-ENODEV) is OK to use as all rfkill
functions will work with it, as they are simply empty stubs.
Reported-by: Alan Jenkins <[email protected]>
Cc: Johannes Berg <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Signed-off-by: Thadeu Lima de Souza Cascardo <[email protected]>
Signed-off-by: Matthew Garrett <[email protected]>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions