]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
netfilter: xt_LOG: don't use xchg() for simple assignment
authorJan Beulich <JBeulich@suse.com>
Wed, 7 Mar 2012 23:45:44 +0000 (23:45 +0000)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 26 Mar 2012 12:00:28 +0000 (14:00 +0200)
commitf3d229c68bb47170f04f81e51c9ed5d4286cebdb
tree9c3876f0fe7d7936c5b2c141456ab69e17bed670
parent1d5c88e3f5403c1910477e4bcc71c3d5d40de6d5
netfilter: xt_LOG: don't use xchg() for simple assignment

At least on ia64 the (bogus) use of xchg() here results in the compiler
warning about an unused expression result. As only an assignment is
intended here, convert it to such.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
include/net/netfilter/xt_log.h