diff options
author | 2015-02-21 19:30:55 +0100 | |
---|---|---|
committer | 2015-02-22 21:04:06 +0100 | |
commit | 2156d321b879cdadb95a633d046169cfebdbf784 (patch) | |
tree | 62601a4a37c59c71f69183e7784d4d1528267202 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | af_packet: allow packets defragmentation not only for hash fanout type (diff) | |
download | linux-dev-2156d321b879cdadb95a633d046169cfebdbf784.tar.xz linux-dev-2156d321b879cdadb95a633d046169cfebdbf784.zip |
netfilter: nft_compat: don't truncate ethernet protocol type to u8
Use u16 for protocol and then cast it to __be16
>> net/netfilter/nft_compat.c:140:37: sparse: incorrect type in assignment (different base types)
net/netfilter/nft_compat.c:140:37: expected restricted __be16 [usertype] ethproto
net/netfilter/nft_compat.c:140:37: got unsigned char [unsigned] [usertype] proto
>> net/netfilter/nft_compat.c:351:37: sparse: incorrect type in assignment (different base types)
net/netfilter/nft_compat.c:351:37: expected restricted __be16 [usertype] ethproto
net/netfilter/nft_compat.c:351:37: got unsigned char [unsigned] [usertype] proto
Reported-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: Arturo Borrero Gonzalez <arturo.borrero.glez@gmail.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions