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-next>] [day] [month] [year] [list]
Message-ID: <5986589C150B2F49A46483AC44C7BCA490728A@ssvlexmb2.amd.com>
Date:	Tue, 5 Dec 2006 15:29:32 -0800
From:	"Lu, Yinghai" <yinghai.lu@....com>
To:	ebiederm@...ssion.com, "David Brownell" <david-b@...bell.net>
cc:	"Peter Stuge" <stuge-linuxbios@....org>,
	linux-usb-devel@...ts.sourceforge.net,
	"Stefan Reinauer" <stepan@...esystems.de>,
	"Greg KH" <gregkh@...e.de>, linux-kernel@...r.kernel.org,
	linuxbios@...uxbios.org, "Andi Kleen" <ak@...e.de>
Subject: RE: [LinuxBIOS] [linux-usb-devel] [RFC][PATCH 0/2] x86_64 Early
 usb debug port support.



-----Original Message-----
From: linuxbios-bounces@...uxbios.org
[mailto:linuxbios-bounces@...uxbios.org] On Behalf Of
ebiederm@...ssion.com
Sent: Tuesday, December 05, 2006 3:01 AM

>+static int ehci_wait_for_port(int port)
>+{
>+	unsigned status;
>+	int ret, reps;
>+	for (reps = 0; reps >= 0; reps++) {
>+		status = readl(&ehci_regs->status);
>+		if (status & STS_PCD) {
>+			ret = ehci_reset_port(port);
>+			if (ret == 0)
>+				return 0;
>+		}
>+	}
>+	return -ENOTCONN;
>+}
>+

What do you mean by
+	for (reps = 0; reps >= 0; reps++) {
?

YH



-
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