flow_dissector: Don't use bit fields.
authorDavid S. Miller <davem@davemloft.net>
Tue, 1 Sep 2015 23:46:08 +0000 (16:46 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 1 Sep 2015 23:46:08 +0000 (16:46 -0700)
commit4b36993d3df0834eff3b4172962de0343a4d9123
treedb6d7fae40f9c3986a7b24f55ca192edf6294b0a
parent41ecc3d390266acc1aa911d2ec477928a5248f75
flow_dissector: Don't use bit fields.

Just have a flags member instead.

   In file included from include/linux/linkage.h:4:0,
                    from include/linux/kernel.h:6,
                    from net/core/flow_dissector.c:1:
   In function 'flow_keys_hash_start',
       inlined from 'flow_hash_from_keys' at net/core/flow_dissector.c:553:34:
>> include/linux/compiler.h:447:38: error: call to '__compiletime_assert_459' declared with attribute error: BUILD_BUG_ON failed: FLOW_KEYS_HASH_OFFSET % sizeof(u32)

Reported-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/flow_dissector.h
net/core/flow_dissector.c