Commit 5ee907f7 authored by YueHaibing's avatar YueHaibing Committed by David S. Miller

net: dsa: sja1105: Make static_config_check_memory_size static

Fix sparse warning:

drivers/net/dsa/sja1105/sja1105_static_config.c:446:1: warning:
 symbol 'static_config_check_memory_size' was not declared. Should it be static?
Reported-by: default avatarHulk Robot <hulkci@huawei.com>
Signed-off-by: default avatarYueHaibing <yuehaibing@huawei.com>
Acked-by: default avatarVladimir Oltean <olteanv@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 41384136
...@@ -442,7 +442,7 @@ const char *sja1105_static_config_error_msg[] = { ...@@ -442,7 +442,7 @@ const char *sja1105_static_config_error_msg[] = {
"vl-forwarding-parameters-table.partspc.", "vl-forwarding-parameters-table.partspc.",
}; };
sja1105_config_valid_t static sja1105_config_valid_t
static_config_check_memory_size(const struct sja1105_table *tables) static_config_check_memory_size(const struct sja1105_table *tables)
{ {
const struct sja1105_l2_forwarding_params_entry *l2_fwd_params; const struct sja1105_l2_forwarding_params_entry *l2_fwd_params;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment