Re: [PATCH] sysctl : proc_dointvec_minmax() expects int values formin/max guard values

From: Ingo Molnar
Date: Wed Dec 12 2007 - 05:33:32 EST



* Eric Dumazet <dada1@xxxxxxxxxxxxx> wrote:

> min_sched_granularity_ns, max_sched_granularity_ns,
> min_wakeup_granularity_ns and max_wakeup_granularity_ns are declared
> "unsigned long".
>
> This is incorrect since proc_dointvec_minmax() expects plain "int"
> guard values.
>
> This bug only triggers on big endian 64 bit arches.

thanks, applied it to the 2.6.24 fixes queue.

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/