From: Horia Geanta Date: Fri, 18 Apr 2014 10:01:42 +0000 (+0300) Subject: crypto: caam - add allocation failure handling in SPRINTFCAT macro X-Git-Tag: v3.2.60~60 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6d7f02a611ae1a917db301e700b55e3af554d877;p=pandora-kernel.git crypto: caam - add allocation failure handling in SPRINTFCAT macro commit 27c5fb7a84242b66bf1e0b2fe6bf40d19bcc5c04 upstream. GFP_ATOMIC memory allocation could fail. In this case, avoid NULL pointer dereference and notify user. Cc: Kim Phillips Signed-off-by: Horia Geanta Signed-off-by: Herbert Xu Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed