summaryrefslogtreecommitdiffstats
path: root/lib/zlib_inflate
diff options
context:
space:
mode:
authorAndrew Morton2010-01-08 23:42:39 +0100
committerLinus Torvalds2010-01-11 18:34:04 +0100
commit129182e5626972ac0df85d43a36dd46ad61c64e1 (patch)
treec91d17c697aa29d284dbe065423e01ca7020db73 /lib/zlib_inflate
parentkmod: fix resource leak in call_usermodehelper_pipe() (diff)
downloadkernel-qcow2-linux-129182e5626972ac0df85d43a36dd46ad61c64e1.tar.gz
kernel-qcow2-linux-129182e5626972ac0df85d43a36dd46ad61c64e1.tar.xz
kernel-qcow2-linux-129182e5626972ac0df85d43a36dd46ad61c64e1.zip
percpu: avoid calling __pcpu_ptr_to_addr(NULL)
__pcpu_ptr_to_addr() can be overridden by the architecture and might not behave well if passed a NULL pointer. So avoid calling it until we have verified that its arg is not NULL. Cc: Rusty Russell <rusty@rustcorp.com.au> Cc: Kamalesh Babulal <kamalesh@linux.vnet.ibm.com> Acked-by: Tejun Heo <tj@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'lib/zlib_inflate')
0 files changed, 0 insertions, 0 deletions