[RFC PATCH] pm80xx: mpiStateText[] can be static

kernel test robot
2021-03-24T20:06:00Z

Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: kernel test robot <lkp@intel.com>
---
pm8001_ctl.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/scsi/pm8001/pm8001_ctl.c b/drivers/scsi/pm8001/pm8001_ctl.c
index ce4846b1377c9..f8fe919133b6e 100644
--- a/drivers/scsi/pm8001/pm8001_ctl.c
+++ b/drivers/scsi/pm8001/pm8001_ctl.c
@@ -895,7 +895,7 @@ static DEVICE_ATTR(update_fw, S_IRUGO|S_IWUSR|S_IWGRP,
* A sysfs 'read-only' shost attribute.
*/

-char mpiStateText[][80] = {
+static char mpiStateText[][80] = {
"MPI is not initialized",
"MPI is successfully initialized",
"MPI termination is in progress",