From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757264Ab3LWL3N (ORCPT ); Mon, 23 Dec 2013 06:29:13 -0500 Received: from lxorguk.ukuu.org.uk ([81.2.110.251]:51954 "EHLO lxorguk.ukuu.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751235Ab3LWL3M (ORCPT ); Mon, 23 Dec 2013 06:29:12 -0500 Date: Mon, 23 Dec 2013 11:26:37 +0000 From: One Thousand Gnomes To: Libin Cc: , , , , , , Subject: Re: [PATCH] drivers/net: Fix potential incorrect call for udelay() Message-ID: <20131223112637.46ae42e3@alan.etchedpixels.co.uk> In-Reply-To: <1387791224-29320-1-git-send-email-huawei.libin@huawei.com> References: <1387791224-29320-1-git-send-email-huawei.libin@huawei.com> Organization: Intel Corporation X-Mailer: Claws Mail 3.8.1 (GTK+ 2.24.20; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@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