diff options
author | Arturo Borrero <arturo.borrero.glez@gmail.com> | 2015-02-21 21:30:55 +0300 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2015-02-22 23:04:06 +0300 |
commit | 2156d321b879cdadb95a633d046169cfebdbf784 (patch) | |
tree | 62601a4a37c59c71f69183e7784d4d1528267202 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 3f34b24a732bab9635c4b32823268c37c01b40f0 (diff) | |
download | linux-2156d321b879cdadb95a633d046169cfebdbf784.tar.xz |
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/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions