OSDN Git Service

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)
commit9b3044b88ebe580883ac20cb5bcf8a3f3e4006f8
treeec983e4656c743e8628f822d8f8fae26bc214f9b
parent89c2db889d2901955c86f36c0d6bb39b6547f05d
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