]> git.baikalelectronics.ru Git - kernel.git/commit
jump label: Fix compiler warning
authorJason Baron <jbaron@redhat.com>
Tue, 21 Feb 2012 20:02:57 +0000 (15:02 -0500)
committerIngo Molnar <mingo@elte.hu>
Wed, 22 Feb 2012 06:59:40 +0000 (07:59 +0100)
commit13d5247b745116c5bb57d59ae63d589bc4a0f3c9
tree8e0db62a42101636e04097e28830420fa9906fc4
parent9968d3b587bba796dea59067334a6f8817eb4766
jump label: Fix compiler warning

While cross-compiling on sparc64, I found:

kernel/jump_label.c: In function 'jump_label_update':
kernel/jump_label.c:447:40: warning: cast from pointer to
integer of different size [-Wpointer-to-int-cast]

Fix by casting to 'unsigned long'.

Signed-off-by: Jason Baron <jbaron@redhat.com>
Cc: rostedt@goodmis.org
Cc: mathieu.desnoyers@efficios.com
Cc: davem@davemloft.net
Cc: ddaney.cavm@gmail.com
Cc: a.p.zijlstra@chello.nl
Link: http://lkml.kernel.org/r/08026cbc6df80619cae833ef1ebbbc43efab69ab.1329851692.git.jbaron@redhat.com
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/jump_label.c