diff options
author | Wei Yongjun <[email protected]> | 2021-06-09 14:25:06 +0000 |
---|---|---|
committer | David S. Miller <[email protected]> | 2021-06-09 15:35:48 -0700 |
commit | 6fb566c9278a2ea65a12fdff665bead392f4c0d2 (patch) | |
tree | bc02c5701f4bb7d5d4012f6601e031fee90c38b4 /tools/perf/scripts/python/intel-pt-events.py | |
parent | f25247d88708ff0666573541923a7339845403de (diff) |
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 <[email protected]>
Signed-off-by: Wei Yongjun <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions