aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/crypto/ccree/cc_sram_mgr.h
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert+renesas@glider.be>2020-02-11 19:19:06 +0100
committerHerbert Xu <herbert@gondor.apana.org.au>2020-02-22 09:25:44 +0800
commit37282f8d157169198e433d1f63e19a713267516c (patch)
treed6d4874f3cf43cf62f748f970eb3c0f4e2482247 /drivers/crypto/ccree/cc_sram_mgr.h
parentcrypto: ccree - defer larval_digest_addr init until needed (diff)
downloadlinux-dev-37282f8d157169198e433d1f63e19a713267516c.tar.xz
linux-dev-37282f8d157169198e433d1f63e19a713267516c.zip
crypto: ccree - remove bogus paragraph about freeing SRAM
The SRAM allocator does not support deallocating memory. Hence remove all references to freeing SRAM. Fix grammar while at it. Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/ccree/cc_sram_mgr.h')
-rw-r--r--drivers/crypto/ccree/cc_sram_mgr.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/crypto/ccree/cc_sram_mgr.h b/drivers/crypto/ccree/cc_sram_mgr.h
index 971029b0e2a1..3b62dc3bd422 100644
--- a/drivers/crypto/ccree/cc_sram_mgr.h
+++ b/drivers/crypto/ccree/cc_sram_mgr.h
@@ -30,10 +30,7 @@ typedef u64 cc_sram_addr_t;
int cc_sram_mgr_init(struct cc_drvdata *drvdata);
/*!
- * Allocated buffer from SRAM pool.
- * Note: Caller is responsible to free the LAST allocated buffer.
- * This function does not taking care of any fragmentation may occur
- * by the order of calls to alloc/free.
+ * Allocate buffer from SRAM pool.
*
* \param drvdata
* \param size The requested bytes to allocate