Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/2143568/?format=api
{ "id": 2143568, "url": "http://patchwork.ozlabs.org/api/patches/2143568/?format=api", "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/20250929192149.3735435-1-tharvey@gateworks.com/", "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": "<20250929192149.3735435-1-tharvey@gateworks.com>", "list_archive_url": null, "date": "2025-09-29T19:21:49", "name": "net: lwip: ensure alignment of packet buffers", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": false, "hash": "64bc18c254ff20de2b17d23a71561fb062e3bfd4", "submitter": { "id": 41730, "url": "http://patchwork.ozlabs.org/api/people/41730/?format=api", "name": "Tim Harvey", "email": "tharvey@gateworks.com" }, "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/20250929192149.3735435-1-tharvey@gateworks.com/mbox/", "series": [ { "id": 475640, "url": "http://patchwork.ozlabs.org/api/series/475640/?format=api", "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=475640", "date": "2025-09-29T19:21:49", "name": "net: lwip: ensure alignment of packet buffers", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/475640/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/2143568/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/2143568/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=fail reason=\"signature verification failed\" (2048-bit key;\n unprotected) header.d=gateworks.com header.i=@gateworks.com\n header.a=rsa-sha256 header.s=gwtrack header.b=bsmwlUlz;\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=fail (p=none dis=none) header.from=gateworks.com", "phobos.denx.de;\n spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de", "phobos.denx.de;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n unprotected) header.d=gateworks.com header.i=@gateworks.com\n header.b=\"bsmwlUlz\";\n\tdkim-atps=neutral", "phobos.denx.de;\n dmarc=pass (p=none dis=none) header.from=gateworks.com", "phobos.denx.de;\n spf=pass smtp.mailfrom=tharvey@gateworks.com" ], "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) server-digest SHA384)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4cb9zs6YhVz1yFn\n\tfor <incoming@patchwork.ozlabs.org>; Tue, 30 Sep 2025 05:22:01 +1000 (AEST)", "from h2850616.stratoserver.net (localhost [IPv6:::1])\n\tby phobos.denx.de (Postfix) with ESMTP id A596A8319C;\n\tMon, 29 Sep 2025 21:21:58 +0200 (CEST)", "by phobos.denx.de (Postfix, from userid 109)\n id A8102832AD; Mon, 29 Sep 2025 21:21:56 +0200 (CEST)", "from mace.gateworks.com (mace.gateworks.com [174.136.5.171])\n (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))\n (No client certificate requested)\n by phobos.denx.de (Postfix) with ESMTPS id 5CC7B82A9E\n for <u-boot@lists.denx.de>; Mon, 29 Sep 2025 21:21:54 +0200 (CEST)", "from syn-068-189-091-139.biz.spectrum.com ([68.189.91.139]\n helo=chewbacca.pdc.gateworks.com)\n by mace.gateworks.com with esmtps (TLS1.3) tls\n TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95)\n (envelope-from <tharvey@gateworks.com>) id 1v3JRW-00ARBW-Sf;\n Mon, 29 Sep 2025 19:21:51 +0000", "by chewbacca.pdc.gateworks.com (Postfix, from userid 1154)\n id 9B66D3083326; Mon, 29 Sep 2025 12:21:50 -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 RCVD_IN_VALIDITY_RPBL_BLOCKED,RCVD_IN_VALIDITY_SAFE_BLOCKED,\n SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.2", "DKIM-Signature": "v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;\n d=gateworks.com; s=gwtrack; h=Content-Transfer-Encoding:MIME-Version:\n Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type:Content-ID:\n Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc\n :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:\n List-Subscribe:List-Post:List-Owner:List-Archive;\n bh=T59WYALRxZMEOhaWpr5T08hzGvo6aGrBL+28J/62QIg=; b=bsmwlUlz5dKX+iOZk6NJAFnLPJ\n gfl+ge0ym11KrxpB70K8bY6G3ROwinexAtC0zLnYaP9nr6m9JZR1nLLN4BEjLNA351MZkw73ZBRHr\n XpEtAgboF/fbB9twZsurItlZjg2P1+nwpsFzPYJK/wIA5+frHTdIGbWS6aPO6jqBKv3M/lW7WTgUC\n 3nTV2kwhBZDA4z6Pop10ICmzbRkb9gk2MAHbw2KSXkhLNg+qQKrfelr8EzBoX/2nr7Tbb6UTcYyWD\n XNTAuv26oPeZp2TusRsx8bnyyrTXTFfbDvcqlKkLF55ExLXI7LyknTIiEu+GIwmPLeGCl2oDHHJbk\n KfJklm4A==;", "From": "Tim Harvey <tharvey@gateworks.com>", "To": "Joe Hershberger <joe.hershberger@ni.com>,\n Ramon Fried <rfried.dev@gmail.com>", "Cc": "Tom Rini <trini@konsulko.com>,\n Ilias Apalodimas <ilias.apalodimas@linaro.org>, u-boot@lists.denx.de,\n Tim Harvey <tharvey@gateworks.com>", "Subject": "[PATCH] net: lwip: ensure alignment of packet buffers", "Date": "Mon, 29 Sep 2025 12:21:49 -0700", "Message-Id": "<20250929192149.3735435-1-tharvey@gateworks.com>", "X-Mailer": "git-send-email 2.34.1", "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 <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": "Network packet buffers should be aligned to PKTALIGN. Add a compiler\nattribute to ensure this.\n\nSigned-off-by: Tim Harvey <tharvey@gateworks.com>\n---\n net/lwip/net-lwip.c | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)", "diff": "diff --git a/net/lwip/net-lwip.c b/net/lwip/net-lwip.c\nindex 660ceb10cbe..aec05d55de6 100644\n--- a/net/lwip/net-lwip.c\n+++ b/net/lwip/net-lwip.c\n@@ -30,7 +30,7 @@ void (*push_packet)(void *, int len) = 0;\n static int net_try_count;\n static int net_restarted;\n int net_restart_wrap;\n-static uchar net_pkt_buf[(PKTBUFSRX) * PKTSIZE_ALIGN + PKTALIGN];\n+static uchar net_pkt_buf[(PKTBUFSRX) * PKTSIZE_ALIGN + PKTALIGN] __attribute__((aligned(PKTALIGN)));\n uchar *net_rx_packets[PKTBUFSRX];\n uchar *net_rx_packet;\n const u8 net_bcast_ethaddr[6] = { 0xff, 0xff, 0xff, 0xff, 0xff, 0xff };\n", "prefixes": [] }