On Mon, Jun 02, 2014 at 10:38:34PM +0200, Richard Weinberger wrote:
> attr.sched_policy is u32, therefore a comparison against < 0 is never true.
> Fix this by casting sched_policy to int.
> 
> This issue was reported by coverity CID 1219934.
> 
> Cc: Michael Kerrisk <[email protected]>
> Cc: Peter Zijlstra <[email protected]>
> Cc: Ingo Molnar <[email protected]>
> Signed-off-by: Richard Weinberger <[email protected]>

Thanks!

Attachment: pgpvGGGxPYk4g.pgp
Description: PGP signature

Reply via email to