From nobody Mon Feb 9 02:08:28 2026 Received: from mail-wm1-f54.google.com (mail-wm1-f54.google.com [209.85.128.54]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 891E977F39 for ; Mon, 2 Feb 2026 13:08:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.54 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770037692; cv=none; b=CdmfgZ4vpeaSTYChS8OAJElzUFm1qReR9iVQHcSd9YE8V2yXtkmRRvgXbQ+k93dpTSPcaEHBI9G693bCuT33TLB6Fmvf22Orzc6tmnv/Q8YxaJ9jPiAMyWa0Llzk2DAB8cVzp2tMWCegBN/c54ivrrHlrvDf0/nI2fsYUqpRlEQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770037692; c=relaxed/simple; bh=zt9DR77wzlilHy+G4PnOiXCK9LPBeXZsCAt1vj+ySS4=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=CnXQ5a40HkU1eFd1wLQheqVowC2i+3u2MV5UqYtH6JQgVJXCfLJn04YiqFZOKfSJAT6EZE1fCahnP7hIYV27piXpnAxR8nHscir0GRRa5haXjmemnTrNR7RhWKBGZjQ+dEvcv7OZofPfo7of04YVc3svwfbI0X4+BwNbPcNP0oU= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=aU4scHM6; arc=none smtp.client-ip=209.85.128.54 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="aU4scHM6" Received: by mail-wm1-f54.google.com with SMTP id 5b1f17b1804b1-47edd6111b4so47200985e9.1 for ; Mon, 02 Feb 2026 05:08:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1770037689; x=1770642489; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=us8rkbaDqiFPo9bSgIdnDClrOWuVChIefeA+LRaKMx4=; b=aU4scHM6YzD9HFDtv35PVHrZ0aKJKjmQVgd3n5rn3AOxSmD1b9+8zWdiiAYoI52+um KaZtLfQdZLzhv3ZJ65BP/2dQBWE9mSssjvVJWQO8x1KgpvdbJqCK72h4bHMTjcFbdNAk dAM5izxsbb5+HUTXh1GGk5WcgZxrELLHlb2lIYs2sVb4IskTjujAEplOrVug9QYRfX04 BLWQdLDpA2yc5i0KXVf8yUK648wF00Awm7WW+h/jc8uxSX+/2XDwSZ1rWD50fnl2ZfqZ BtObyE4OvgTybxEmc2zLEWrjr3ZC8wvHWd0J53cZLK04s0JE4UJhRoAEl3tarkCCeVgk 0wUg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1770037689; x=1770642489; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=us8rkbaDqiFPo9bSgIdnDClrOWuVChIefeA+LRaKMx4=; b=Chtnr6bC9r1nLiSItuhZTP3cPZk1HjEiGB14AWu5+nidE/HKh1bmcfafiQhrNCoQCl IRqtZwDu9VpvnSONG+MwKtCl8if9gk19TAD/Yfbmr47EOy+gwMczk/SEnxrT2U9hHQ1n KrgKGeWzPP3wmhSMd4y1xSLtcbysyxLkpkqD1jGTqJOuihkjY8gkNALjXOfzbxLSyt6H Du/gGdj57XJxJ1Psy0oNMwQzC2+xJlRlXG94Q6yHfjq4CqrFloNP3h/TjPwLFgq/MuEz 4zjX53i8CWP+ZnQLRNC12k0D2Or7airbdQXHjXSt+3k301Ku9J5Mhaq+mJuA4UqMAQmw B1yw== X-Forwarded-Encrypted: i=1; AJvYcCUbklc1p6/tbcv3YPfQOOlt2UIakKVPmiEPzI+/57RqNO5/2shrnL75B2MlCOyfAllFwBPL24DmHL/Ddf0=@vger.kernel.org X-Gm-Message-State: AOJu0YxWdDtHFqO6po2vr/NQXOh3dzVeXJfkgtK7Ne9CmqUa/VfHCS6g qfAaimWLRYYd4o0UMp9L+vmGrR8bm3duofD1WdHosC3sPjm1VDLdK6+tOzu5UQEBncc= X-Gm-Gg: AZuq6aI6BSIxXVVOnKGJpt5mF9BkZBCtLh33UhDn5sd+1FiiiOXmkieCLL0fEijz6lN f6UxInGC33IOGWs4jnRn139MgHrxXpfLrJueiAsq2lHv/UWqIvGGCW9a6FWaRToYjSxvN5iPZfr NnK36g+Z9Evx9ByGkmsZKDhAGsHgpcZp4OBf0DQADIE2MuYruUgVrWwELlEE/9dV48sQV1CuHxq wbX8ucR8us8Dt8DCvutCRs4sHRYq+0wchCKMebOA7QP86I0x8rBPoN0r7I+FGim4qvYIeUTqRdB ke4/p2dpwSkS3FJMz0coJv5bEw1BpxOsLdKVpsL91ZL6S4ffBJe2WPOgPuBx1tJ5ewAbNNeb0QQ WM1ZZpgXURjRd4zBPG5KKbFCsVQ4OwDseH7IlkkHQxSA7dXv99ICcbrYqdzbRSRdZg4f+COSRyT FZ9rKU9U1h+nvE4BqtqeSjSOlMhF8aDg== X-Received: by 2002:a05:600c:310f:b0:480:3a72:5238 with SMTP id 5b1f17b1804b1-482db49243dmr160135245e9.30.1770037688901; Mon, 02 Feb 2026 05:08:08 -0800 (PST) Received: from vingu-cube.. ([2a01:e0a:f:6020:fad5:23a2:cd9e:d80e]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-48066aaf235sm438299775e9.0.2026.02.02.05.08.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Feb 2026 05:08:08 -0800 (PST) From: Vincent Guittot To: ciprianmarian.costea@oss.nxp.com, s32@nxp.com, lpieralisi@kernel.org, kwilczynski@kernel.org, mani@kernel.org, robh@kernel.org, bhelgaas@google.com, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Vincent Guittot Subject: [PATCH] PCI: s32g: Fix ports parsing Date: Mon, 2 Feb 2026 14:07:56 +0100 Message-ID: <20260202130756.1421488-1-vincent.guittot@linaro.org> X-Mailer: git-send-email 2.43.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" No error return is missing after the loop resulting in removing the ports from the list. Fixes: 5cbc7d3e316e ("PCI: s32g: Add NXP S32G PCIe controller driver (RC)") Signed-off-by: Vincent Guittot --- drivers/pci/controller/dwc/pcie-nxp-s32g.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/pci/controller/dwc/pcie-nxp-s32g.c b/drivers/pci/contr= oller/dwc/pcie-nxp-s32g.c index 47745749f75c..767f5a622441 100644 --- a/drivers/pci/controller/dwc/pcie-nxp-s32g.c +++ b/drivers/pci/controller/dwc/pcie-nxp-s32g.c @@ -285,6 +285,8 @@ static int s32g_pcie_parse_ports(struct device *dev, st= ruct s32g_pcie *s32g_pp) goto err_port; } =20 + return 0; + err_port: list_for_each_entry_safe(port, tmp, &s32g_pp->ports, list) list_del(&port->list); --=20 2.43.0