OSDN Git Service

ANDROID: netfilter: fix seq_printf type mismatch warning
authorSherman Yin <shermanyin@gmail.com>
Thu, 12 Jun 2014 21:35:38 +0000 (14:35 -0700)
committerDmitry Shmidt <dimitrysh@google.com>
Thu, 19 Jan 2017 21:32:26 +0000 (13:32 -0800)
commitda5ea99a74f2f8c4414e1a89b376fb501d246441
tree0a564cd8eabb20ca7a855c8b756ac324b0cb1210
parent13e257eaa624b1322b62ac21d81a398a38462324
ANDROID: 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