commit | 6584eacb7cc7885509d4a27120a48ae1e404dc4c | [log] [tgz] |
---|---|---|
author | Krzysztof Kozlowski <krzk@kernel.org> | Thu Mar 01 21:50:13 2018 +0100 |
committer | Herbert Xu <herbert@gondor.apana.org.au> | Fri Mar 09 22:45:47 2018 +0800 |
tree | ce6d0fb0f2b3167b3ed70c5c745f7a4365194283 | |
parent | 0e477c59ba7e1f5d3c3cfea4d4c282c722b47357 [diff] |
crypto: s5p-sss - Constify pointed data (arguments and local variables) Improve the code (safety and readability) by indicating that data passed through pointer is not modified. This adds const keyword in many places, most notably: - the driver data (pointer to struct samsung_aes_variant), - scatterlist addresses written as value to device registers, - key and IV arrays. Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>