]> git.karo-electronics.de Git - linux-beck.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)
commitccc7d5a1cdae78ccd623540dc87e281135a1c053
tree8d7c2b1caf8f488f27cccc8039b2a8447fb28135
parentef21b32a60fbfdf2370465e52036c1c5ed1f6b43
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: ea8daa7b9784 "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