Re: [Patch]: Cgroups: Fix compile warning: incompatible types in kernel/sched.c on 2.6.26-rc1

From: Paul Menage
Date: Sun May 11 2008 - 22:35:39 EST


On Sun, May 11, 2008 at 7:12 PM, Mirco Tischler <mt-ml@xxxxxx> wrote:
> Hi
> I've got this warning on 2.6.26-rc1 on compile:
>> CC kernel/sched.o
>> kernel/sched.c:9026: warning: initialization from incompatible pointer type
>>
> This patch fixes it.
>
> Thanks
> Mirco
>
> Cgroups: Fix compile warning: incompatible types in kernel/sched.c
>
> Return type of cpu_rt_runtime_write() should be int instead of ssize_t.
>
> Signed-off-by: Mirco Tischler <mt-ml@xxxxxx>

Acked-by: Paul Menage <menage@xxxxxxxxxx>

Thanks.

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