diff options
| author | Gavin Shan <[email protected]> | 2020-04-28 04:49:45 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2020-04-28 20:58:16 +0000 |
| commit | caec66198d137c26f0d234abc498866a58c64150 (patch) | |
| tree | 6c74b5a1816ed47be22f292cdccebb2ec2e67383 /tools/perf/scripts/python/netdev-times.py | |
| parent | Merge tag 'batadv-net-for-davem-20200427' of git://git.open-mesh.org/linux-merge (diff) | |
| download | kernel-caec66198d137c26f0d234abc498866a58c64150.tar.gz kernel-caec66198d137c26f0d234abc498866a58c64150.zip | |
net/ena: Fix build warning in ena_xdp_set()
This fixes the following build warning in ena_xdp_set(), which is
observed on aarch64 with 64KB page size.
In file included from ./include/net/inet_sock.h:19,
from ./include/net/ip.h:27,
from drivers/net/ethernet/amazon/ena/ena_netdev.c:46:
drivers/net/ethernet/amazon/ena/ena_netdev.c: In function \
‘ena_xdp_set’: \
drivers/net/ethernet/amazon/ena/ena_netdev.c:557:6: warning: \
format ‘%lu’ \
expects argument of type ‘long unsigned int’, but argument 4 \
has type ‘int’ \
[-Wformat=] "Failed to set xdp program, the current MTU (%d) is \
larger than the maximum allowed MTU (%lu) while xdp is on",
Signed-off-by: Gavin Shan <[email protected]>
Acked-by: Shay Agroskin <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions
