lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
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 linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ