mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-14 09:11:27 +00:00
scst: Change static const char * into static const char* const
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8696 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -1796,7 +1796,7 @@ typedef struct fc_port {
|
||||
#define FCS_DEVICE_LOST 3
|
||||
#define FCS_ONLINE 4
|
||||
|
||||
static const char *port_state_str[] = {
|
||||
static const char *const port_state_str[] = {
|
||||
"Unknown",
|
||||
"UNCONFIGURED",
|
||||
"DEAD",
|
||||
|
||||
@@ -9871,7 +9871,7 @@ static const struct attribute *vdisk_fileio_attrs[] = {
|
||||
NULL,
|
||||
};
|
||||
|
||||
static const char *fileio_add_dev_params[] = {
|
||||
static const char *const fileio_add_dev_params[] = {
|
||||
"async",
|
||||
"blocksize",
|
||||
"cluster_mode",
|
||||
@@ -9962,7 +9962,7 @@ static const struct attribute *vdisk_blockio_attrs[] = {
|
||||
NULL,
|
||||
};
|
||||
|
||||
static const char *blockio_add_dev_params[] = {
|
||||
static const char *const blockio_add_dev_params[] = {
|
||||
"active",
|
||||
"bind_alua_state",
|
||||
"blocksize",
|
||||
@@ -10038,7 +10038,7 @@ static const struct attribute *vdisk_nullio_attrs[] = {
|
||||
NULL,
|
||||
};
|
||||
|
||||
static const char *nullio_add_dev_params[] = {
|
||||
static const char *const nullio_add_dev_params[] = {
|
||||
"blocksize",
|
||||
"cluster_mode",
|
||||
"dif_mode",
|
||||
|
||||
Reference in New Issue
Block a user