diff options
author | Rikard Falkeborn <rikard.falkeborn@gmail.com> | 2020-11-21 23:22:48 +0100 |
---|---|---|
committer | Mike Snitzer <snitzer@redhat.com> | 2020-12-04 18:04:35 -0500 |
commit | e8dc79d1bdda0c048bfc7d39a8146c6db1c36ef6 (patch) | |
tree | 943fdf8689fcfa1644fce91cb971c24d88ac4ba8 /drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c | |
parent | 410fe220078c3e3ed6f4167fb4de65139cfec631 (diff) |
dm crypt: Constify static crypt_iv_operations
The only usage of these structs is to assign their address to the
iv_gen_ops field in the crypt config struct, which is a pointer to
const. Make them const like the rest of the static crypt_iv_operations
structs. This allows the compiler to put them in read-only memory.
Signed-off-by: Rikard Falkeborn <rikard.falkeborn@gmail.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c')
0 files changed, 0 insertions, 0 deletions