aboutsummaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <krzk@kernel.org>2018-03-01 21:50:13 +0100
committerHerbert Xu <herbert@gondor.apana.org.au>2018-03-09 22:45:47 +0800
commit6584eacb7cc7885509d4a27120a48ae1e404dc4c (patch)
treece6d0fb0f2b3167b3ed70c5c745f7a4365194283 /crypto
parentcrypto: s5p-sss - Remove useless check for non-null request (diff)
downloadlinux-dev-6584eacb7cc7885509d4a27120a48ae1e404dc4c.tar.xz
linux-dev-6584eacb7cc7885509d4a27120a48ae1e404dc4c.zip
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>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions