From: Kirill A. Shutemov Date: Thu, 6 Jun 2013 11:35:03 +0000 (+0300) Subject: perf bench: Fix memory allocation fail check in mem{set,cpy} workloads X-Git-Tag: v3.11-rc1~10^2~4^2~19 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=13966721a11f4a2ba8038191e48083b5f31822bb;p=pandora-kernel.git 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 Acked-by: Hitoshi Mitake Cc: Hitoshi Mitake Cc: Ingo Molnar Cc: Paul Mackerras Cc: Peter Zijlstra Link: http://lkml.kernel.org/r/1370518503-4230-1-git-send-email-kirill.shutemov@linux.intel.com Signed-off-by: Arnaldo Carvalho de Melo --- Reading git-diff-tree failed