drivers/net/netdevsim/dev.c:932:22: warning: symbol 'nsim_dev_port_params' was not
declared. Should it be static?
Reported-by: kernel test robot <lkp(a)intel.com>
Signed-off-by: kernel test robot <lkp(a)intel.com>
---
dev.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/netdevsim/dev.c b/drivers/net/netdevsim/dev.c
index 74a6a6e22119b..c2813e455f15f 100644
--- a/drivers/net/netdevsim/dev.c
+++ b/drivers/net/netdevsim/dev.c
@@ -929,7 +929,7 @@ static const struct devlink_ops nsim_dev_devlink_ops = {
.port_param_ops = &nsim_dev_port_param_ops,
};
-struct devlink_param nsim_dev_port_params[] = {
+static struct devlink_param nsim_dev_port_params[] = {
{
.id = NSIM_DEVLINK_PORT_PARAM_ID_TEST_STR,
.name = "port_param_test_str",