linux-next: build warning after merge of the net-next tree

From: Stephen Rothwell
Date: Thu Nov 21 2019 - 02:34:18 EST


Hi all,

[Sorry, I should have reported this earlier]

After merging the net-next tree, today's linux-next build (powerpc
allyesconfig) produced this warning:

net/netfilter/nf_flow_table_offload.c: In function 'nf_flow_rule_match':
net/netfilter/nf_flow_table_offload.c:80:21: warning: unsigned conversion from 'int' to '__be16' {aka 'short unsigned int'} changes value from '327680' to '0' [-Woverflow]
80 | mask->tcp.flags = TCP_FLAG_RST | TCP_FLAG_FIN;
| ^~~~~~~~~~~~

Introduced by commit

c29f74e0df7a ("netfilter: nf_flow_table: hardware offload support")

--
Cheers,
Stephen Rothwell

Attachment: pgpROXRM6Cyfk.pgp
Description: OpenPGP digital signature