summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorNathan Chancellor <natechancellor@gmail.com>2018-10-07 01:33:31 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2018-10-09 00:19:25 +0200
commitffa0a9a5903e9fcfde71a0200af30692ac223ef7 (patch)
tree9f5156d8d9beb32584e2298c491c7dbc90b8f04f /tools
parentnetfilter: xt_quota: fix the behavior of xt_quota module (diff)
downloadlinux-ffa0a9a5903e9fcfde71a0200af30692ac223ef7.tar.xz
linux-ffa0a9a5903e9fcfde71a0200af30692ac223ef7.zip
netfilter: xt_quota: Don't use aligned attribute in sizeof
Clang warns: net/netfilter/xt_quota.c:47:44: warning: 'aligned' attribute ignored when parsing type [-Wignored-attributes] BUILD_BUG_ON(sizeof(atomic64_t) != sizeof(__aligned_u64)); ^~~~~~~~~~~~~ Use 'sizeof(__u64)' instead, as the alignment doesn't affect the size of the type. Fixes: e9837e55b020 ("netfilter: xt_quota: fix the behavior of xt_quota module") Signed-off-by: Nathan Chancellor <natechancellor@gmail.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions