]> git.baikalelectronics.ru Git - kernel.git/commit
sh: fix function signature of cpu_coregroup_mask to match pointer type
authorRich Felker <dalias@libc.org>
Tue, 29 Mar 2016 22:50:02 +0000 (22:50 +0000)
committerRich Felker <dalias@libc.org>
Wed, 30 Mar 2016 00:47:49 +0000 (00:47 +0000)
commitcae7d495846a0d4463f98fcfb4bced325d67d612
tree8d7c2b1caf8f488f27cccc8039b2a8447fb28135
parent5267e1a533b419cc352ae37dc7e19be0ec9c5953
sh: fix function signature of cpu_coregroup_mask to match pointer type

The signedness mismatch of the argument type produces an error
compiling kernel/sched/core.c with -Werror=incompatible-pointer-types,
which is now used by default.

Fixes: 3d58917c5e74 "kbuild: Add option to turn incompatible pointer check into error"
Signed-off-by: Rich Felker <dalias@libc.org>
arch/sh/include/asm/topology.h
arch/sh/kernel/topology.c