From mboxrd@z Thu Jan 1 00:00:00 1970 From: One Thousand Gnomes Subject: Re: [PATCH] drivers/net: Fix potential incorrect call for udelay() Date: Mon, 23 Dec 2013 11:26:37 +0000 Message-ID: <20131223112637.46ae42e3@alan.etchedpixels.co.uk> References: <1387791224-29320-1-git-send-email-huawei.libin@huawei.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: , , , , , , To: Libin Return-path: In-Reply-To: <1387791224-29320-1-git-send-email-huawei.libin@huawei.com> Sender: linux-kernel-owner@vger.kernel.org List-Id: netdev.vger.kernel.org On Mon, 23 Dec 2013 17:33:44 +0800 Libin wrote: > From: Li Bin > > 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 Nobody should need to set a delay time that long, so this seems a rather surplus check. Alan