[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20131223112637.46ae42e3@alan.etchedpixels.co.uk>
Date: Mon, 23 Dec 2013 11:26:37 +0000
From: One Thousand Gnomes <gnomes@...rguk.ukuu.org.uk>
To: Libin <huawei.libin@...wei.com>
Cc: <davem@...emloft.net>, <hsweeten@...ionengravers.com>,
<gregkh@...uxfoundation.org>, <tedheadster@...il.com>,
<netdev@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
<dingtianhong@...wei.com>
Subject: Re: [PATCH] drivers/net: Fix potential incorrect call for udelay()
On Mon, 23 Dec 2013 17:33:44 +0800
Libin <huawei.libin@...wei.com> wrote:
> From: Li Bin <huawei.libin@...wei.com>
>
> 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@...wei.com>
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 netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists