summaryrefslogtreecommitdiff
path: root/rust/helpers
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>2025-11-07 09:15:51 +0100
committerHerbert Xu <herbert@gondor.apana.org.au>2025-11-14 18:15:48 +0800
commitec2054c1244c8aa192632a40a07a0d210d7116e1 (patch)
tree524bbbe09b0b5d9c6b77a900b7979c7408bc78dd /rust/helpers
parentc6c247ae336aa7a85e8400d60c1b2c4f2edf93d4 (diff)
crypto: ccp - Constify 'dev_vdata' member
sp_device->dev_vdata points to only const data (see 'static const struct sp_dev_vdata dev_vdata'), so can be made pointer to const for code safety. Update also sp_get_acpi_version() function which returns this pointer to 'pointer to const' for code readability, even though it is not needed. On the other hand, do not touch similar function sp_get_of_version() because it will be immediately removed in next patches. Acked-by: Tom Lendacky <thomas.lendacky@amd.com> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'rust/helpers')
0 files changed, 0 insertions, 0 deletions