]> git.baikalelectronics.ru Git - kernel.git/commit
staging: ccree: allocate hash bufs inside req ctx
authorGilad Ben-Yossef <gilad@benyossef.com>
Sun, 7 Jan 2018 12:14:29 +0000 (12:14 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 8 Jan 2018 15:27:23 +0000 (16:27 +0100)
commit3c753dd9f86c7fb37dc0756f1b33d6a471c46f57
treeec983e4656c743e8628f822d8f8fae26bc214f9b
parente39ea80b157d389ea323b222016418c79c3a9077
staging: ccree: allocate hash bufs inside req ctx

Move to allocating the buffers needed for requests as part of
the request structure instead of malloc'ing each one on it's
own, making for simpler (and more efficient) code.

Signed-off-by: Gilad Ben-Yossef <gilad@benyossef.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/ccree/ssi_hash.c
drivers/staging/ccree/ssi_hash.h