Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7c373d66 authored by Bhumika Goyal's avatar Bhumika Goyal Committed by Mike Snitzer
Browse files

dm integrity: make blk_integrity_profile structure const



Make this structure const as it is only stored in the profile field of a
blk_integrity structure. This field is of type const, so make structure
as const.

Signed-off-by: default avatarBhumika Goyal <bhumirks@gmail.com>
Signed-off-by: default avatarMike Snitzer <snitzer@redhat.com>
parent b7e326f7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -299,7 +299,7 @@ static void __DEBUG_bytes(__u8 *bytes, size_t len, const char *msg, ...)
/*
 * DM Integrity profile, protection is performed layer above (dm-crypt)
 */
static struct blk_integrity_profile dm_integrity_profile = {
static const struct blk_integrity_profile dm_integrity_profile = {
	.name			= "DM-DIF-EXT-TAG",
	.generate_fn		= NULL,
	.verify_fn		= NULL,