diff options
| author | Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> | 2025-11-07 11:15:51 +0300 |
|---|---|---|
| committer | Herbert Xu <herbert@gondor.apana.org.au> | 2025-11-14 13:15:48 +0300 |
| commit | ec2054c1244c8aa192632a40a07a0d210d7116e1 (patch) | |
| tree | 524bbbe09b0b5d9c6b77a900b7979c7408bc78dd /scripts/patch-kernel | |
| parent | c6c247ae336aa7a85e8400d60c1b2c4f2edf93d4 (diff) | |
| download | linux-ec2054c1244c8aa192632a40a07a0d210d7116e1.tar.xz | |
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 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions
