Re: [PATCH] nvme: Constify static attribute_group structs
FWIW, Reviewed-by: Sagi Grimberg
Re: [PATCH] nvme: Constify static attribute_group structs
Thanks, applied to nvme-5.11.
[PATCH] nvme: Constify static attribute_group structs
The only usage of these is to put their addresses in arrays of pointers to const attribute_groups. Make them const to allow the compiler to put them in read-only memory. Signed-off-by: Rikard Falkeborn --- drivers/nvme/host/core.c | 4 ++-- drivers/nvme/host/fc.c | 2 +- drivers/nvme/t