diff options
author | Horia Geanta <horia.geanta@freescale.com> | 2014-04-18 13:01:42 +0300 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2014-04-28 18:17:18 +0800 |
commit | 27c5fb7a84242b66bf1e0b2fe6bf40d19bcc5c04 (patch) | |
tree | eece880987ed5b35e9ffbbe089d86671d188701c /arch/s390/crypto | |
parent | eb4a5346e777784f1b5ae9fd0c29b96344bdc3ae (diff) | |
download | linux-27c5fb7a84242b66bf1e0b2fe6bf40d19bcc5c04.tar.gz linux-27c5fb7a84242b66bf1e0b2fe6bf40d19bcc5c04.tar.bz2 linux-27c5fb7a84242b66bf1e0b2fe6bf40d19bcc5c04.zip |
crypto: caam - add allocation failure handling in SPRINTFCAT macro
GFP_ATOMIC memory allocation could fail.
In this case, avoid NULL pointer dereference and notify user.
Cc: <stable@vger.kernel.org> # 3.2+
Cc: Kim Phillips <kim.phillips@freescale.com>
Signed-off-by: Horia Geanta <horia.geanta@freescale.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'arch/s390/crypto')
0 files changed, 0 insertions, 0 deletions