crypto: tegra-aes - Fix NULL pointer dereference
authorSachin Kamat <sachin.kamat@linaro.org>
Mon, 16 Sep 2013 03:31:10 +0000 (09:01 +0530)
committerHerbert Xu <herbert@gondor.apana.org.au>
Mon, 23 Sep 2013 20:02:22 +0000 (06:02 +1000)
commit6665ad20f020ffc8c632a4d4744a7550000f611e
tree3f1e790e1aa93c34773d2edb43fe45d370b02392
parent4903e9694d7681226802aaaffce5500de69230e1
crypto: tegra-aes - Fix NULL pointer dereference

'dd' is tested for NULL. However, it is derefenced in the error
message print. Change the print to pr_err to avoid this.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/tegra-aes.c