From: Ivo van Doorn Date: Sat, 19 May 2007 19:24:39 +0000 (-0700) Subject: [RFKILL]: Fix check for correct rfkill allocation X-Git-Tag: v2.6.22-rc3~111^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d007da1fa6f0ad5e01ceae4a1f60cdbb23ecd706;p=pandora-kernel.git [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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed