From: Devendra Naga Date: Wed, 5 Sep 2012 10:03:47 +0000 (+0530) Subject: staging: slicoss: fix a null deref when pci_alloc_consistent fail X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~75^2~680 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b8131fc0e1c37563c278743e6def971be993cdda;p=pandora-kernel.git staging: slicoss: fix a null deref when pci_alloc_consistent fail we are dereferencing the pshmem , and the pci_alloc_consistent can fail returning null, do a memcpy if we have a valid pshmem Signed-off-by: Devendra Naga Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed