From 341564f3db60ab7afd94cf5281f2eef77d26e08a Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Mon, 30 Jun 2014 08:40:23 +0000 Subject: [PATCH] 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 --- scst/src/dev_handlers/scst_vdisk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scst/src/dev_handlers/scst_vdisk.c b/scst/src/dev_handlers/scst_vdisk.c index a20484d21..cdb138501 100644 --- a/scst/src/dev_handlers/scst_vdisk.c +++ b/scst/src/dev_handlers/scst_vdisk.c @@ -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();