Re: [PATCH -tip] cpuset doesn't seem to be so const

From: Ingo Molnar
Date: Fri Oct 03 2008 - 07:41:06 EST



* Frederic Weisbecker <fweisbec@xxxxxxxxx> wrote:

> This fixes a warning on last -tip:
>
> kernel/cpuset.c: Dans la fonction «scan_for_empty_cpusets» :
> kernel/cpuset.c:1932: attention : passing argument 1 of «list_add_tail» discards qualifiers from pointer target type
>
> Actually the struct cpuset *root passed in parameter to scan_for_empty_cpusets
> is not supposed to be const since an entry is added on the tail of its list.
> Just correct the qualifier.
>
> Signed-off-by: Frederic Weisbecker <fweisbec@xxxxxxxxx>

applied to tip/sched/cpusets, thanks Frederic!

Ingo
--
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/