Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/2117904/?format=api
{ "id": 2117904, "url": "http://patchwork.ozlabs.org/api/patches/2117904/?format=api", "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/20250801-net_cortina_ni-v1-1-2e492a59fe09@linaro.org/", "project": { "id": 18, "url": "http://patchwork.ozlabs.org/api/projects/18/?format=api", "name": "U-Boot", "link_name": "uboot", "list_id": "u-boot.lists.denx.de", "list_email": "u-boot@lists.denx.de", "web_url": null, "scm_url": null, "webscm_url": null, "list_archive_url": "", "list_archive_url_format": "", "commit_url_format": "" }, "msgid": "<20250801-net_cortina_ni-v1-1-2e492a59fe09@linaro.org>", "list_archive_url": null, "date": "2025-08-01T11:59:40", "name": "net: cortina_ni: Fix typo accessing wrong phy", "commit_ref": "2cb9fef65bbb7535c1e27cef3122bb0b43e38b68", "pull_url": null, "state": "accepted", "archived": false, "hash": "5897ae57d0ac2705c3e5787a7ccbd354c75c71d5", "submitter": { "id": 88793, "url": "http://patchwork.ozlabs.org/api/people/88793/?format=api", "name": "Andrew Goodbody", "email": "andrew.goodbody@linaro.org" }, "delegate": { "id": 157425, "url": "http://patchwork.ozlabs.org/api/users/157425/?format=api", "username": "jforissier", "first_name": "Jerome", "last_name": "Forissier", "email": "jerome.forissier@linaro.org" }, "mbox": "http://patchwork.ozlabs.org/project/uboot/patch/20250801-net_cortina_ni-v1-1-2e492a59fe09@linaro.org/mbox/", "series": [ { "id": 467561, "url": "http://patchwork.ozlabs.org/api/series/467561/?format=api", "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=467561", "date": "2025-08-01T11:59:40", "name": "net: cortina_ni: Fix typo accessing wrong phy", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/467561/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/2117904/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/2117904/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<u-boot-bounces@lists.denx.de>", "X-Original-To": "incoming@patchwork.ozlabs.org", "Delivered-To": "patchwork-incoming@legolas.ozlabs.org", "Authentication-Results": [ "legolas.ozlabs.org;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256\n header.s=google header.b=S9ocA58t;\n\tdkim-atps=neutral", "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de\n (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de;\n envelope-from=u-boot-bounces@lists.denx.de; receiver=patchwork.ozlabs.org)", "phobos.denx.de;\n dmarc=pass (p=none dis=none) header.from=linaro.org", "phobos.denx.de;\n spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de", "phobos.denx.de;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=linaro.org header.i=@linaro.org header.b=\"S9ocA58t\";\n\tdkim-atps=neutral", "phobos.denx.de;\n dmarc=pass (p=none dis=none) header.from=linaro.org", "phobos.denx.de;\n spf=pass smtp.mailfrom=andrew.goodbody@linaro.org" ], "Received": [ "from phobos.denx.de (phobos.denx.de\n [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange X25519 server-signature ECDSA (secp384r1))\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4btkyj6Wfkz1xvT\n\tfor <incoming@patchwork.ozlabs.org>; Fri, 1 Aug 2025 21:59:41 +1000 (AEST)", "from h2850616.stratoserver.net (localhost [IPv6:::1])\n\tby phobos.denx.de (Postfix) with ESMTP id 73C8983A48;\n\tFri, 1 Aug 2025 13:59:45 +0200 (CEST)", "by phobos.denx.de (Postfix, from userid 109)\n id 0281E83A7D; Fri, 1 Aug 2025 13:59:44 +0200 (CEST)", "from mail-wm1-x32c.google.com (mail-wm1-x32c.google.com\n [IPv6:2a00:1450:4864:20::32c])\n (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits))\n (No client certificate requested)\n by phobos.denx.de (Postfix) with ESMTPS id E555A83A47\n for <u-boot@lists.denx.de>; Fri, 1 Aug 2025 13:59:41 +0200 (CEST)", "by mail-wm1-x32c.google.com with SMTP id\n 5b1f17b1804b1-4561ed868b5so11937455e9.0\n for <u-boot@lists.denx.de>; Fri, 01 Aug 2025 04:59:41 -0700 (PDT)", "from artemis2.elfringham.co.uk\n ([2a0a:ef40:f9e:3c01:cc6e:5422:ab75:92e8])\n by smtp.gmail.com with ESMTPSA id\n ffacd0b85a97d-3b79c467994sm5629653f8f.50.2025.08.01.04.59.40\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Fri, 01 Aug 2025 04:59:40 -0700 (PDT)" ], "X-Spam-Checker-Version": "SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de", "X-Spam-Level": "", "X-Spam-Status": "No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED,\n DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED,\n SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.2", "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=linaro.org; s=google; t=1754049581; x=1754654381; darn=lists.denx.de;\n h=cc:to:message-id:content-transfer-encoding:mime-version:subject\n :date:from:from:to:cc:subject:date:message-id:reply-to;\n bh=x86om6SlYg8xti+03S2SLtaJcTDs1dORAsnwrJpTQDk=;\n b=S9ocA58tz+V0DRq0SPmb3xy35wZFN3z9PSFbnbiBQz8YvBENVtOIjG85oHlViB+oJm\n jZTl1xglXzNpCzeCe1WF7kpMG0PpU7xDRdepjrIrDa0tbxQCFtENrIbhPMCZMJ0JTwB8\n CRCmIuTdVb0BWd2Q1I23ktBlhW0KQBrBLJjcTpjjuCPuUDXRclIuEf7DwIow7zlqpFFv\n gcZg61feCXn3gUxfB8hePiD03rhNUPQ+0vC+PC7kveMg8GqHndAhR7qfRroDtSP9AEXV\n pWfbWM5lk3e3Rz6RxFoL477CvSyal40M0voe+M6FeQMSF9M0H6tOXpIu2xsYKzC9gcoj\n HCyQ==", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20230601; t=1754049581; x=1754654381;\n h=cc:to:message-id:content-transfer-encoding:mime-version:subject\n :date:from:x-gm-message-state:from:to:cc:subject:date:message-id\n :reply-to;\n bh=x86om6SlYg8xti+03S2SLtaJcTDs1dORAsnwrJpTQDk=;\n b=AIEG6JIN31gBFhLy58SGKERtFox9iEF/r+iK6G6pne176zoniR1YJf+IGJ178boiso\n NbKinZ40YjH2SK+1k7aLn44EpDGmubVBLc8sLEfOxL2C61Ff4QqjcS8TX1vBdaEhnYs9\n /ugLbuFX0KiEtpZ1SHcRkeHbXVXZ9O6MhCsOwg8RXdVKIVbPyMyxJWMOFkIigZsGpmYd\n IGHRB+4rqzywrIaaCKWp4Agay/tCV7fp4iALE2Mn/hqjtC4+ootcO999yhDibqh9+Cu0\n S710ywnEWquWRi2TlSQwI1kNG2YKlh2cdQHVyMIh8X+L72K1KbYxfUMroVXW9mFE9HUe\n Wfqw==", "X-Gm-Message-State": "AOJu0Yxs05u7HFwaMMiBsIO0EyU13sSEcsJdMiifOCdOm/2UINZHdcY+\n e6bdIqoITSyK7n/0/uLyaBDV84RGgTz2QVjktNrFogPAZuesfJ+Sb82ljR7/PWqikcA=", "X-Gm-Gg": "ASbGncuSv3yk+vIN5cc7qQ101dJzEVGfjTmoRy0waLnuDT8cIswb4nY5+ACbw6hKRhC\n bhpbUaxTqxCOwrHBe2g8h24cFLzR/1VaJ4+2Gxi7L/enXp310mOOWnoPlF8k5rzF8uJ+FiKLDRs\n VF9w/DMMucdqRI1J18Aaazy/MLIPNecZvtqEfe0jvCngHXzRM4Brg9J3ZOO6pWRNPAFL1PZzow4\n P+zJqS/1VHt3u+aKqc/pXE1dUgi67PeX9nkb6X4yuOI5fnWEVc+KdiU3YQy/RAB/MyO8agcnL4d\n GRotWliBA1/wcmAi3Xq+KIp6Q56JocK5ZNuSLggRvEaPjkqBn5RHbTmXBWLbBZ2nAOiXQHG5u0K\n rgilaJoY7MbLmFqyOFrkdqdzHoWMBiut3SB+2+0JoqmwYXPshcsvRIxtoMhkbwg==", "X-Google-Smtp-Source": "\n AGHT+IEl0GxlKWtNe5qFtSBa5fD7AQLGonQz5kHlDgF1B08+RFFIyXa/JbB0uySobqbC+Ne5L4udIA==", "X-Received": "by 2002:a05:600c:470e:b0:43d:4e9:27ff with SMTP id\n 5b1f17b1804b1-458aa318403mr23672065e9.7.1754049581391;\n Fri, 01 Aug 2025 04:59:41 -0700 (PDT)", "From": "Andrew Goodbody <andrew.goodbody@linaro.org>", "Date": "Fri, 01 Aug 2025 12:59:40 +0100", "Subject": "[PATCH] net: cortina_ni: Fix typo accessing wrong phy", "MIME-Version": "1.0", "Content-Type": "text/plain; charset=\"utf-8\"", "Content-Transfer-Encoding": "7bit", "Message-Id": "<20250801-net_cortina_ni-v1-1-2e492a59fe09@linaro.org>", "X-B4-Tracking": "v=1; b=H4sIACusjGgC/x2NQQqDQAwAvyI5dyHaVWq/UorENWoOjSVZSkH8e\n 9ceh2GYHZxN2OFe7WD8EZdNC9SXCtJKunCQqTA02LR4wzoo5yFtlkVpUAnxyl3bx4gYeyjRSM5\n hNNK0ntmLPLOd4m08y/d/ejyP4wemnoa4eQAAAA==", "To": "Alex Nemirovsky <alex.nemirovsky@cortina-access.com>,\n Joe Hershberger <joe.hershberger@ni.com>,\n Ramon Fried <rfried.dev@gmail.com>, Tom Rini <trini@konsulko.com>", "Cc": "u-boot@lists.denx.de, Andrew Goodbody <andrew.goodbody@linaro.org>", "X-Mailer": "b4 0.12.0", "X-BeenThere": "u-boot@lists.denx.de", "X-Mailman-Version": "2.1.39", "Precedence": "list", "List-Id": "U-Boot discussion <u-boot.lists.denx.de>", "List-Unsubscribe": "<https://lists.denx.de/options/u-boot>,\n <mailto:u-boot-request@lists.denx.de?subject=unsubscribe>", "List-Archive": "<https://lists.denx.de/pipermail/u-boot/>", "List-Post": "<mailto:u-boot@lists.denx.de>", "List-Help": "<mailto:u-boot-request@lists.denx.de?subject=help>", "List-Subscribe": "<https://lists.denx.de/listinfo/u-boot>,\n <mailto:u-boot-request@lists.denx.de?subject=subscribe>", "Errors-To": "u-boot-bounces@lists.denx.de", "Sender": "\"U-Boot\" <u-boot-bounces@lists.denx.de>", "X-Virus-Scanned": "clamav-milter 0.103.8 at phobos.denx.de", "X-Virus-Status": "Clean" }, "content": "In ca_phy_probe when checking for an external phy it uses a field from\nthe internal phy due to what is assumed to be a copy/paste typo. Make\nthe obvious fix to use the field from the external phy.\n\nThis issue was found by Smatch.\n\nSigned-off-by: Andrew Goodbody <andrew.goodbody@linaro.org>\n---\n drivers/net/cortina_ni.c | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)\n\n\n---\nbase-commit: f5e968a28e7cdc2c4365f5a382e02f074ee03fac\nchange-id: 20250801-net_cortina_ni-43e659440049\n\nBest regards,", "diff": "diff --git a/drivers/net/cortina_ni.c b/drivers/net/cortina_ni.c\nindex 79026882800..21b7089176c 100644\n--- a/drivers/net/cortina_ni.c\n+++ b/drivers/net/cortina_ni.c\n@@ -499,7 +499,7 @@ static int ca_phy_probe(struct udevice *dev)\n \t\t\t\t dev, priv->phy_interface);\n \tif (ext_phydev) {\n \t\text_phydev->supported &= PHY_GBIT_FEATURES;\n-\t\text_phydev->advertising = int_phydev->supported;\n+\t\text_phydev->advertising = ext_phydev->supported;\n \t\tphy_config(ext_phydev);\n \t} else {\n \t\tprintf(\"CA NI %s: There is no external phy device\\n\", __func__);\n", "prefixes": [] }