diff options
| author | Tariq Toukan <[email protected]> | 2017-10-09 13:59:50 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2017-10-09 17:33:05 +0000 |
| commit | 7ba5e7bd64a5715f624d39815f567842178afb72 (patch) | |
| tree | f1f39b0b98df1685c54bfc539333a22ec6554f75 /tools/bpf/bpftool/prog.c | |
| parent | net/mlx4_core: Fix cast warning in fw.c (diff) | |
| download | kernel-7ba5e7bd64a5715f624d39815f567842178afb72.tar.gz kernel-7ba5e7bd64a5715f624d39815f567842178afb72.zip | |
net/mlx4_en: Use __force to fix a sparse warning in TX datapath
In TX data-path, we intentionally do not byte-swap, as documented
in code and in the cited commit log.
This fixes sparse warning:
en_tx.c:720:23: warning: incorrect type in argument 1 (different base types)
en_tx.c:720:23: expected unsigned int [unsigned] [usertype] <noident>
en_tx.c:720:23: got restricted __be32 [usertype] doorbell_qpn
Fixes: 492f5add4be8 ("net/mlx4_en: Doorbell is byteswapped in Little Endian archs")
Signed-off-by: Tariq Toukan <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/bpf/bpftool/prog.c')
0 files changed, 0 insertions, 0 deletions
