Content-Type: multipart/mixed; boundary="===============5704930253198373862==" MIME-Version: 1.0 From: kernel test robot To: kbuild-all@lists.01.org Subject: [RFC PATCH] scsi: bfa: bfad_im_vport_attrs[] can be static Date: Wed, 13 Oct 2021 21:30:28 +0800 Message-ID: <20211013133028.GA78679@e3ee66580ae1> In-Reply-To: <20211012233558.4066756-15-bvanassche@acm.org> List-Id: --===============5704930253198373862== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable drivers/scsi/bfa/bfad_attr.c:984:18: warning: symbol 'bfad_im_vport_attrs' = was not declared. Should it be static? Reported-by: kernel test robot Signed-off-by: kernel test robot --- bfad_attr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi/bfa/bfad_attr.c b/drivers/scsi/bfa/bfad_attr.c index c8b947c160698..f46989bd083cc 100644 --- a/drivers/scsi/bfa/bfad_attr.c +++ b/drivers/scsi/bfa/bfad_attr.c @@ -981,7 +981,7 @@ const struct attribute_group *bfad_im_host_groups[] =3D= { NULL }; = -struct attribute *bfad_im_vport_attrs[] =3D { +static struct attribute *bfad_im_vport_attrs[] =3D { &dev_attr_serial_number.attr, &dev_attr_model.attr, &dev_attr_model_description.attr, --===============5704930253198373862==--