netfilter: fix seq_printf type mismatch warning
authorSherman Yin <shermanyin@gmail.com>
Thu, 12 Jun 2014 21:35:38 +0000 (14:35 -0700)
committerJohn Stultz <john.stultz@linaro.org>
Tue, 16 Feb 2016 21:51:34 +0000 (13:51 -0800)
commit644623af529228fcfe0a87724d776689f5a24525
tree999c6c2ad6da7e1f66f39619a62086522318dc58
parentacbd8a50ab7d16f1f41e438dd6a0ecd7df5ac7f7
netfilter: fix seq_printf type mismatch warning

The return type of atomic64_read() varies depending on arch.  The
arm64 version is being changed from long long to long in the mainline
for v3.16, causing a seq_printf type mismatch (%llu) in
guid_ctrl_proc_show().

This commit fixes the type mismatch by casting atomic64_read() to u64.

Change-Id: Iae0a6bd4314f5686a9f4fecbe6203e94ec0870de
Signed-off-by: Sherman Yin <shermanyin@gmail.com>
net/netfilter/xt_qtaguid.c