summaryrefslogtreecommitdiff
path: root/net/netlink
diff options
context:
space:
mode:
authorChen Gang <xili_gchen_5257@hotmail.com>2015-03-03 20:55:06 (GMT)
committerMark Salter <msalter@redhat.com>2015-03-26 14:31:48 (GMT)
commit1a394e1a36aa9f47b411a8e4cb53dfca6f134401 (patch)
tree1f3a15f2aed10ed1639f67b009a446c83a634385 /net/netlink
parent1d2a64bd2da6034036fff9ad9b41682516f79fa3 (diff)
downloadlinux-1a394e1a36aa9f47b411a8e4cb53dfca6f134401.tar.xz
c6x: kernel: setup: Remove 'const' for local variables in machine_init
early_init_dt_scan() accepts "void *", the related warning: CC arch/c6x/kernel/setup.o arch/c6x/kernel/setup.c: In function 'machine_init': arch/c6x/kernel/setup.c:290:21: warning: passing argument 1 of 'early_init_dt_scan' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] early_init_dt_scan(fdt); ^ In file included from arch/c6x/kernel/setup.c:19:0: include/linux/of_fdt.h:75:13: note: expected 'void *' but argument is of type 'const void *' extern bool early_init_dt_scan(void *params); ^ Signed-off-by: Chen Gang <gang.chen.5i5j@gmail.com> Signed-off-by: Mark Salter <msalter@redhat.com>
Diffstat (limited to 'net/netlink')
0 files changed, 0 insertions, 0 deletions