crypto: chcr - fix itnull.cocci warnings
authorHarsh Jain <[email protected]>
Fri, 27 Jan 2017 10:39:07 +0000 (16:09 +0530)
committerHerbert Xu <[email protected]>
Fri, 3 Feb 2017 10:16:15 +0000 (18:16 +0800)
commitee3bd84f55d670961f36df332be299f3386b7690
tree69c67617f264d6212672edd1c7c59d09e5d7c8c7
parent8a13449fceb03f5423664f373254c5e19b853d46
crypto: chcr - fix itnull.cocci warnings

The first argument to list_for_each_entry cannot be NULL.

Generated by: scripts/coccinelle/iterators/itnull.cocci

Signed-off-by: Julia Lawall <[email protected]>
Signed-off-by: Fengguang Wu <[email protected]>
Signed-off-by: Harsh Jain <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
drivers/crypto/chelsio/chcr_core.c