tcmu: make array tcmu_attrib_attrs static const
authorColin Ian King <colin.king@canonical.com>
Tue, 13 Jun 2017 13:29:09 +0000 (14:29 +0100)
committerNicholas Bellinger <nab@linux-iscsi.org>
Fri, 7 Jul 2017 06:11:34 +0000 (23:11 -0700)
commit5821783bcaa94f4a00d65effb3fb8937b08cb2ae
treec3200dfda7d35f1fb4f62d5616188c02f3fd6b4e
parent07932a023af3cd728390ffdaeffb78e357123181
tcmu: make array tcmu_attrib_attrs static const

The array tcmu_attrib_attrs does not need to be in global scope, so make
it static.

Cleans up sparse warning:
"symbol 'tcmu_attrib_attrs' was not declared. Should it be static?"

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/target/target_core_user.c