mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-17 10:41:26 +00:00
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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user