Re: [PATCH resend] s390: oprofile: fix error checks inoprofile_hwsampler_init()

From: Martin Schwidefsky
Date: Mon May 02 2011 - 11:01:54 EST


On Mon, 2 May 2011 15:48:05 +0200
Nicolas Kaiser <nikai@xxxxxxxxx> wrote:

> Checking 'oprofile_min_interval < 0' and
> 'oprofile_max_interval < 0' doesn't work because
> 'oprofile_min_interval' and 'oprofile_max_interval' are unsigned.
>
> Signed-off-by: Nicolas Kaiser <nikai@xxxxxxxxx>

Makes sense, I'll queue it up. Thanks.

--
blue skies,
Martin.

"Reality continues to ruin my life." - Calvin.

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