Re: [PATCH] sched: fix warnings in linux/sched.h

From: Nicolas Dichtel
Date: Tue Jul 01 2014 - 11:45:59 EST


Le 25/06/2014 11:10, Nicolas Dichtel a Ãcrit :
Seen when compiling with W=1.

Warnings were:
In file included from arch/x86/kernel/asm-offsets.c:9:0:
include/linux/sched.h:875:25: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
include/linux/sched.h:882:25: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
include/linux/sched.h:1002:21: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]

It was introduced by commit 143e1e28cb40 ("sched: Rework sched_domain topology
definition").

CC: Vincent Guittot <vincent.guittot@xxxxxxxxxx>
Signed-off-by: Nicolas Dichtel <nicolas.dichtel@xxxxxxxxx>
Any comment or problem about this patch?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/