[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20081003113955.GA14861@elte.hu>
Date: Fri, 3 Oct 2008 13:39:56 +0200
From: Ingo Molnar <mingo@...e.hu>
To: Frederic Weisbecker <fweisbec@...il.com>
Cc: linux-kernel@...r.kernel.org
Subject: Re: [PATCH -tip] cpuset doesn't seem to be so const
* Frederic Weisbecker <fweisbec@...il.com> 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@...il.com>
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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists