scst_vdisk: Fix a checkpatch warning

Address the following checkpatch warning:

char * array declaration might be better as static const


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5649 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Bart Van Assche
2014-06-30 08:40:23 +00:00
parent e70268341b
commit 341564f3db

View File

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