commit | b8131fc0e1c37563c278743e6def971be993cdda | [log] [tgz] |
---|---|---|
author | Devendra Naga <devendra.aaru@gmail.com> | Wed Sep 05 15:33:47 2012 +0530 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed Sep 05 11:59:51 2012 -0700 |
tree | ccea2206a155f1ae79c892d337627e6782434a35 | |
parent | 8f6f4c17bb9a1c45355254247d164fc3e2a1289b [diff] |
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 <devendra.aaru@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>