Skip to content
Snippets Groups Projects
Commit e8dc79d1 authored by Rikard Falkeborn's avatar Rikard Falkeborn Committed by Mike Snitzer
Browse files

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: default avatarRikard Falkeborn <rikard.falkeborn@gmail.com>
Signed-off-by: default avatarMike Snitzer <snitzer@redhat.com>
parent 410fe220
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment