summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorKirill A. Shutemov <kirill.shutemov@linux.intel.com>2013-06-06 15:35:03 +0400
committerArnaldo Carvalho de Melo <acme@redhat.com>2013-07-09 00:35:40 +0400
commit13966721a11f4a2ba8038191e48083b5f31822bb (patch)
treec46c44f7bd94c62c79b50e722a17fe34787ec5ef /drivers
parent107de3724eff5a6fa6474a4d2aa5460b63749ebf (diff)
downloadlinux-13966721a11f4a2ba8038191e48083b5f31822bb.tar.xz
perf bench: Fix memory allocation fail check in mem{set,cpy} workloads
Addresses of allocated memory areas saved to '*src' and '*dst', so we need to check them for NULL, not 'src' and 'dst'. Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com> Acked-by: Hitoshi Mitake <mitake.hitoshi@lab.ntt.co.jp> Cc: Hitoshi Mitake <h.mitake@gmail.com> Cc: Ingo Molnar <mingo@redhat.com> Cc: Paul Mackerras <paulus@samba.org> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Link: http://lkml.kernel.org/r/1370518503-4230-1-git-send-email-kirill.shutemov@linux.intel.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions