Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id A3745C54EE9 for ; Tue, 27 Sep 2022 21:25:31 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 8EC5984E00; Tue, 27 Sep 2022 23:25:29 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=suse.de Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=suse.de header.i=@suse.de header.b="0jMjiHrK"; dkim=permerror (0-bit key) header.d=suse.de header.i=@suse.de header.b="14/WNvvq"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 7BB18847FF; Tue, 27 Sep 2022 23:25:28 +0200 (CEST) Received: from smtp-out2.suse.de (smtp-out2.suse.de [IPv6:2001:67c:2178:6::1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 69AE684E00 for ; Tue, 27 Sep 2022 23:25:26 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=suse.de Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=msuchanek@suse.de Received: from relay2.suse.de (relay2.suse.de [149.44.160.134]) by smtp-out2.suse.de (Postfix) with ESMTP id 200911F8B3; Tue, 27 Sep 2022 21:25:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1664313926; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=xMqwlZMQZmLr5stqLQmXc8ZBiKoN5qfwT4tiPlEhjjg=; b=0jMjiHrKRNbZSjrknudVOFWKFzVrMDQRvcL6SVNwD+iw9EQ4OSqFIKp+WYdQSZqgXIVrS3 MpQdsOLJi5uS1C549TDx+H1dOwQhiwANGZYkqDTNqZnTZbvp7CqLzNxOITpxhX7aj/dTWt TZL4IIEGJkdhhbG11OXh/gwWD0q5rWA= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1664313926; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=xMqwlZMQZmLr5stqLQmXc8ZBiKoN5qfwT4tiPlEhjjg=; b=14/WNvvqfMynzAx0c2pWqqycgocLAGBc1X8MzX2p3Qm6DJ1uA+uJLUcmBw/OBAOA3mc+mX +xf87KfFI/lOHRBw== Received: from naga.suse.cz (unknown [10.100.224.114]) by relay2.suse.de (Postfix) with ESMTP id BEE2E2C173; Tue, 27 Sep 2022 21:25:25 +0000 (UTC) From: Michal Suchanek To: u-boot@lists.denx.de Cc: Michal Suchanek , Andrew Scull , Bin Meng , Heinrich Schuchardt , "Maciej W. Rozycki" , =?UTF-8?q?Pali=20Roh=C3=A1r?= , Simon Glass , Stefan Roese , Vladimir Oltean Subject: [PATCH] dm: pci: Fix doc typo first -> next Date: Tue, 27 Sep 2022 23:25:24 +0200 Message-Id: <20220927212524.24959-1-msuchanek@suse.de> X-Mailer: git-send-email 2.37.3 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.6 at phobos.denx.de X-Virus-Status: Clean pci_find_first_device description says it can be used for iteration with itself but it should really be with pci_find_next_device Signed-off-by: Michal Suchanek --- Resent separately include/pci.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/pci.h b/include/pci.h index d7ed35dd52..c55d6107a4 100644 --- a/include/pci.h +++ b/include/pci.h @@ -957,7 +957,7 @@ int pci_bus_find_devfn(const struct udevice *bus, pci_dev_t find_devfn, /** * pci_find_first_device() - return the first available PCI device * - * This function and pci_find_first_device() allow iteration through all + * This function and pci_find_next_device() allow iteration through all * available PCI devices on all buses. Assuming there are any, this will * return the first one. * -- 2.37.3