Skip to contentSkip to conversation

esas2r: make default_sas_nvram const

PATCH New Bhumika Goyal 1 participant 1 message Aug 30, 2017

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 esas2r: make default_sas_nvram const

Make this const as it is never modified.

---
 drivers/scsi/esas2r/esas2r_flash.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/scsi/esas2r/esas2r_flash.c +1 -1
index 7bd376d..f8414b5 100644
@@ -54,7 +54,7 @@
 
 #define ESAS2R_FS_DRVR_VER 2
 
-static struct esas2r_sas_nvram default_sas_nvram = {
+static const struct esas2r_sas_nvram default_sas_nvram = {
 	{ 'E',	'S',  'A',  'S'			     }, /* signature          */
 	SASNVR_VERSION,                                 /* version            */
 	0,                                              /* checksum           */
Signature · 1 line
1.9.1