Re: sched: Disallow sched_attr::sched_policy < 0

From: Richard Weinberger
Date: Tue Jun 03 2014 - 04:47:31 EST


Am 03.06.2014 10:32, schrieb Peter Zijlstra:
> On Tue, Jun 03, 2014 at 10:15:44AM +0200, Richard Weinberger wrote:
>>> Once upon a time GCC also did warns like that, but my compiler is silent
>>> :-(

-Wtype-limits is what you're looking for.

/me currently builds some kernel configs to find out how much noise it triggers...

>>> Yes, that needs fixing..
>>
>> I sent already a patch for that...
>
> I found it.. thanks again :-)
>

:-)

Thanks,
//richard

Attachment: signature.asc
Description: OpenPGP digital signature