diff options
| author | Wei Yongjun <weiyongjun1@huawei.com> | 2021-06-09 17:25:06 +0300 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2021-06-10 01:35:48 +0300 |
| commit | 6fb566c9278a2ea65a12fdff665bead392f4c0d2 (patch) | |
| tree | bc02c5701f4bb7d5d4012f6601e031fee90c38b4 /tools/perf/scripts/python/check-perf-trace.py | |
| parent | f25247d88708ff0666573541923a7339845403de (diff) | |
| download | linux-6fb566c9278a2ea65a12fdff665bead392f4c0d2.tar.xz | |
net: ena: make symbol 'ena_alloc_map_page' static
The sparse tool complains as follows:
drivers/net/ethernet/amazon/ena/ena_netdev.c:978:13: warning:
symbol 'ena_alloc_map_page' was not declared. Should it be static?
This symbol is not used outside of ena_netdev.c, so marks it static.
Fixes: 947c54c395cb ("net: ena: Use dev_alloc() in RX buffer allocation")
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions
