compat: fix compiler warning in nla_get_s64()
authorHauke Mehrtens <hauke@hauke-m.de>
Thu, 27 Dec 2012 17:19:40 +0000 (18:19 +0100)
committerLuis R. Rodriguez <mcgrof@do-not-panic.com>
Fri, 28 Dec 2012 15:37:18 +0000 (07:37 -0800)
commit1b2adee659acf1d3717fa692d0ce9990f8f87c79
treec4fb58ee55ab9031c74fb5437ce3383c1d4097aa
parent46faf02b9a0e7e0e020143311aa037aebde53178
compat: fix compiler warning in nla_get_s64()

This fixes the following warning:

compat/include/linux/compat-3.7.h: In function ‘nla_get_s64’:
compat/include/linux/compat-3.7.h:191:2: warning: passing argument 2 of ‘nla_memcpy’ discards ‘const’ qualifier from pointer target type [enabled by default]
In file included from include/net/genetlink.h:5:0,
                 from compat/include/linux/compat-2.6.32.h:12,
                 from compat/include/linux/compat-2.6.29.h:13,
                 from compat/include/linux/compat-2.6.h:50,
                 from <command-line>:0:

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
include/linux/compat-3.7.h