diff options
author | 2020-05-30 13:29:52 +0300 | |
---|---|---|
committer | 2020-05-30 18:00:36 -0700 | |
commit | 53bd63afbd659017d20dfb7ac3a53ceb8cbb338a (patch) | |
tree | 77c4c2992acaba4848da72bf915f250cd8a7ed01 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Merge tag 'mlx5-cleanup-2020-05-29' of git://git.kernel.org/pub/scm/linux/kernel/git/saeed/linux (diff) | |
download | wireguard-linux-53bd63afbd659017d20dfb7ac3a53ceb8cbb338a.tar.xz wireguard-linux-53bd63afbd659017d20dfb7ac3a53ceb8cbb338a.zip |
net: dsa: sja1105: suppress -Wmissing-prototypes in sja1105_static_config.c
Newer compilers complain with W=1 builds that there are non-static
functions defined in sja1105_static_config.c that don't have a
prototype, because their prototype is defined in sja1105.h which this
translation unit does not include.
I don't entirely understand what is the point of these warnings, since
in principle there's nothing wrong with that. But let's move the
prototypes to a header file that _is_ included by
sja1105_static_config.c, since that will make these warnings go away.
Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions