commit | d007da1fa6f0ad5e01ceae4a1f60cdbb23ecd706 | [log] [tgz] |
---|---|---|
author | Ivo van Doorn <IvDoorn@gmail.com> | Sat May 19 12:24:39 2007 -0700 |
committer | David S. Miller <davem@davemloft.net> | Sat May 19 12:24:39 2007 -0700 |
tree | fa96a04b86164d8256e1c4fb533236148fcb0c4e | |
parent | c34b19fb4e243b26fa90a322bf32238356493674 [diff] |
[RFKILL]: Fix check for correct rfkill allocation coverity has spotted a bug in rfkill.c (bug id #1627), in rfkill_allocate() NULL was returns if the kzalloc() works, and deref the NULL pointer if it fails, Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>