From c06e1c5a652d9785f4c2757248263fe8d5acb56e Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Tue, 1 Jul 2014 06:38:13 +0000 Subject: [PATCH] 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 --- 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 cdb138501..f1d752b15 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; - static const char *allowed_params[] = { "tst", NULL }; + static const char *const allowed_params[] = { "tst", NULL }; struct scst_vdisk_dev *virt_dev; TRACE_ENTRY();