nf: IDLETIMER: Fix broken uid field in the msg
authorAmit Pundir <amit.pundir@linaro.org>
Mon, 11 May 2015 09:09:59 +0000 (14:39 +0530)
committerJohn Stultz <john.stultz@linaro.org>
Tue, 16 Feb 2016 21:51:35 +0000 (13:51 -0800)
commit3a6018a2c8b4f0ca5b162c758dc73f3cbc9f5f98
tree930d5023131f6536a765aa0d20a018a0880b9f40
parent29d046ebd1ef5a532827502466ae127286ba1de8
nf: IDLETIMER: Fix broken uid field in the msg

Create uid from kuid to fix the broken uid field
in the message notifications introduced in
Change-Id: I18fc73eada512e370d7ab24fc9f890845037b729,
Otherwise we run into following build error:
---------------
  CC      net/netfilter/xt_IDLETIMER.o
net/netfilter/xt_IDLETIMER.c: In function ‘reset_timer’:
net/netfilter/xt_IDLETIMER.c:360:16: error: incompatible types when assigning to type ‘uid_t’ from type ‘kuid_t’
make[2]: *** [net/netfilter/xt_IDLETIMER.o] Error 1
---------------

Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
(cherry picked from commit 706060ba3e1dee9ec3c4a4a1480d663b6cd71cad)

Change-Id: Ifd66df45a58d1a5a60c3816c373ee3008292eee8
net/netfilter/xt_IDLETIMER.c