Re: [PATCH] block: constify struct blk_integrity_profile

2017-03-24 Thread Jens Axboe
On 03/24/2017 07:03 PM, Eric Biggers wrote: > From: Eric Biggers > > blk_integrity_profile's are never modified, so mark them 'const' so that > they are placed in .rodata and benefit from memory protection. Thanks, that's a nice change. Applied for 4.12. -- Jens Axboe

[PATCH] block: constify struct blk_integrity_profile

2017-03-24 Thread Eric Biggers
From: Eric Biggers blk_integrity_profile's are never modified, so mark them 'const' so that they are placed in .rodata and benefit from memory protection. Signed-off-by: Eric Biggers --- block/blk-integrity.c | 2 +- block/t10-pi.c | 8