scst_vdisk: Fix a checkpatch warning

Avoid that checkpatch reports the following warning:

WARNING: static const char * array should probably be static const char * const


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5654 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Bart Van Assche
2014-07-01 06:38:13 +00:00
parent 47b5c207f1
commit c06e1c5a65

View File

@@ -6534,7 +6534,7 @@ out:
static ssize_t __vcdrom_add_device(const char *device_name, char *params)
{
int res = 0;
static const char *allowed_params[] = { "tst", NULL };
static const char *const allowed_params[] = { "tst", NULL };
struct scst_vdisk_dev *virt_dev;
TRACE_ENTRY();