summaryrefslogtreecommitdiff
path: root/drivers/ide/ide-gd.c
diff options
context:
space:
mode:
authorVictoria Milhoan <vicki.milhoan@freescale.com>2015-08-05 11:28:39 -0700
committerHerbert Xu <herbert@gondor.apana.org.au>2015-08-10 23:18:58 +0800
commitdde20ae9d63835178ef4ba9655f530e052c08ab9 (patch)
tree7f9e707257b2f36219ac9a37371b1c67e49f09a3 /drivers/ide/ide-gd.c
parent1f06ec1d48f31a454e4292f3761a4f4178bb916c (diff)
crypto: caam - Change kmalloc to kzalloc to avoid residual data
Since fields must be ORed in to operate correctly using any order of operations, changed allocations of the combination of extended descriptor structs + hardware scatterlists to use kzalloc() instead of kmalloc(), so as to ensure that residue data would not be ORed in with the correct data. Signed-off-by: Steve Cornelius <steve.cornelius@freescale.com> Signed-off-by: Victoria Milhoan <vicki.milhoan@freescale.com> Tested-by: Horia Geantă <horia.geanta@freescale.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/ide/ide-gd.c')
0 files changed, 0 insertions, 0 deletions