Re: [PATCH] drivers/net: Fix potential incorrect call for udelay()

From: One Thousand Gnomes
Date: Mon Dec 23 2013 - 06:29:17 EST


On Mon, 23 Dec 2013 17:33:44 +0800
Libin <huawei.libin@xxxxxxxxxx> wrote:

> From: Li Bin <huawei.libin@xxxxxxxxxx>
>
> The variable delay_time as a module parameter can be set a value
> exceeding the limit of the udelay function. This patch checks the
> delay_time value to select mdelay() or udelay().
>
> Signed-off-by: Li Bin <huawei.libin@xxxxxxxxxx>

Nobody should need to set a delay time that long, so this seems a rather
surplus check.

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