Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/2112966/?format=api
{ "id": 2112966, "url": "http://patchwork.ozlabs.org/api/patches/2112966/?format=api", "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/20250718011534.1333906-1-trini@konsulko.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": "<20250718011534.1333906-1-trini@konsulko.com>", "list_archive_url": null, "date": "2025-07-18T01:15:34", "name": "drivers/net/ftgmac100.c: Fix a debug print", "commit_ref": "3a5da11ffe8de98251828221e18c4fad46cbd669", "pull_url": null, "state": "accepted", "archived": false, "hash": "e988e3e918bec1ee63cee7b1b16c648c3575cb82", "submitter": { "id": 65875, "url": "http://patchwork.ozlabs.org/api/people/65875/?format=api", "name": "Tom Rini", "email": "trini@konsulko.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/20250718011534.1333906-1-trini@konsulko.com/mbox/", "series": [ { "id": 465712, "url": "http://patchwork.ozlabs.org/api/series/465712/?format=api", "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=465712", "date": "2025-07-18T01:15:34", "name": "drivers/net/ftgmac100.c: Fix a debug print", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/465712/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/2112966/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/2112966/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 (1024-bit key;\n unprotected) header.d=konsulko.com header.i=@konsulko.com header.a=rsa-sha256\n header.s=google header.b=LV86pWtU;\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=konsulko.com", "phobos.denx.de;\n spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de", "phobos.denx.de;\n\tdkim=pass (1024-bit key;\n unprotected) header.d=konsulko.com header.i=@konsulko.com\n header.b=\"LV86pWtU\";\n\tdkim-atps=neutral", "phobos.denx.de;\n dmarc=pass (p=none dis=none) header.from=konsulko.com", "phobos.denx.de;\n spf=pass smtp.mailfrom=trini@konsulko.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))\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4bjsLG4vPyz1xrF\n\tfor <incoming@patchwork.ozlabs.org>; Fri, 18 Jul 2025 11:15:50 +1000 (AEST)", "from h2850616.stratoserver.net (localhost [IPv6:::1])\n\tby phobos.denx.de (Postfix) with ESMTP id 83616835B6;\n\tFri, 18 Jul 2025 03:15:40 +0200 (CEST)", "by phobos.denx.de (Postfix, from userid 109)\n id 346BE835D0; Fri, 18 Jul 2025 03:15:39 +0200 (CEST)", "from mail-oi1-x22e.google.com (mail-oi1-x22e.google.com\n [IPv6:2607:f8b0:4864:20::22e])\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 1D08C8357D\n for <u-boot@lists.denx.de>; Fri, 18 Jul 2025 03:15:37 +0200 (CEST)", "by mail-oi1-x22e.google.com with SMTP id\n 5614622812f47-41b8e41a2bdso1035954b6e.1\n for <u-boot@lists.denx.de>; Thu, 17 Jul 2025 18:15:37 -0700 (PDT)", "from bill-the-cat.. (fixed-189-203-97-42.totalplay.net.\n [189.203.97.42]) by smtp.gmail.com with ESMTPSA id\n 006d021491bc7-615bcab4e9esm76624eaf.12.2025.07.17.18.15.34\n for <u-boot@lists.denx.de>\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Thu, 17 Jul 2025 18:15:34 -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=konsulko.com; s=google; t=1752801336; x=1753406136; darn=lists.denx.de;\n h=content-transfer-encoding:mime-version:message-id:date:subject:to\n :from:from:to:cc:subject:date:message-id:reply-to;\n bh=gThS/jTEAxoKi9QmMAnvBZEj+E7D6C1y1JsUSu/Qx4Q=;\n b=LV86pWtUd0Bm5mCGQFrQAh7vOcOF16tlrcgucLzPugqd/Z1z2sRD0p9b+5r/RGsvsw\n LGANk4sEue+wUbP4V/Hwij6+GAMZlR/6S7sRlK0RtCdnM3Oj+NibeMXGXm6dtpib5UMy\n c/43tLKDd/gfKdfvbB3AcREpAolGVpV8kXAgU=", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20230601; t=1752801336; x=1753406136;\n h=content-transfer-encoding:mime-version:message-id:date:subject:to\n :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;\n bh=gThS/jTEAxoKi9QmMAnvBZEj+E7D6C1y1JsUSu/Qx4Q=;\n b=OIJV7yWEvbyt/kCSoZRwD0MUZv0SydRtak23MKGCGTxoD5OJAh/uPKl7mf/riKXOCu\n BIIsyX4ENv2eAonHsZYbbk+/3HkK6GJpEShpdYdS5qt+HfDpw8x9HqZIHdnOAkcXkJUL\n QNGA2Mc/3HEpGqG+tnGAOqkI3tNZCfkTgssRikdhedDIQDpjNDF4BPDjeJLtIU+R2j25\n lXrHm2WMfVJLuIpoqih6Xog/1m2BKUH4yyF89ZwX41Lvchc+YAxGb1cIFGYC5DlYTY7S\n tii1O9hOqFxszF8HSYq6BaD5kvlM/71pSlFOMeKmWu47RinlhqmVfcg7c2U5dZJjmc9q\n xK1w==", "X-Gm-Message-State": "AOJu0Yx/+ZZk4GCXTDJlsylTU72drzl54sSxgrWH0pyo6K38dV8pGWHG\n ehBg7NaDv5fu5J4ghOLQtstvKTwW/UoC1hqYnA4JrS/M3tEkQwVVMVq7+dKdNvxxLsJlJhR0fS1\n VGL4AzmE=", "X-Gm-Gg": "ASbGncsWo26GFMV0FFo/Q1SNOZ3s2stg759r0rtog/73E9qHB2+7hznPTWgUUSldf7N\n lV52mOI55Awgzrl9SfQ6Ja91rSh/acWYrtMaPAwhLQpmpL3q1fDHJw4S3IPRZYxSlrkLNF6QRaH\n MLIgLE7apfnwsEouMmUOgGhfc7m9+J/4YEbMcZaplcWluvCBYugx//yJMwx+f8Z5bdpOSUctTA4\n lzDLaTQxDqDj3mXYVo3ZVixXb8eAYyAC9lytXM3gQ70cuRYSe9n1/E9wk7ISjf4sZLBZMkVMT8u\n 6L6MJyf6h0YhEOi4A6S+K5Vq5o8wGa9ceeTrBK5F9yy7Z1EWg4RYCH/PyT1haHvT4Hb7Mz6Y5wh\n Lr0lMNWVkr+tLD+VpPXGfgZmmZUoa2+jilpoRFAdbpmYafunZPk0jEnmF6e0=", "X-Google-Smtp-Source": "\n AGHT+IHOR4MOaXXptgq7BGd4F6XCFCae0JaoILElM2862EHlOUkOtVwxS3NQzUMpqc5ykSu/RymbtQ==", "X-Received": "by 2002:a05:6808:218b:b0:3f8:bbf3:3a18 with SMTP id\n 5614622812f47-41f61a660bfmr1564444b6e.16.1752801335742;\n Thu, 17 Jul 2025 18:15:35 -0700 (PDT)", "From": "Tom Rini <trini@konsulko.com>", "To": "u-boot@lists.denx.de", "Subject": "[PATCH] drivers/net/ftgmac100.c: Fix a debug print", "Date": "Thu, 17 Jul 2025 19:15:34 -0600", "Message-ID": "<20250718011534.1333906-1-trini@konsulko.com>", "X-Mailer": "git-send-email 2.43.0", "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": "In the debug print in ftgmac100_send we want to say where the packet is\nin memory and what the length is, so use %p to print that.\n\nSigned-off-by: Tom Rini <trini@konsulko.com>\n---\n drivers/net/ftgmac100.c | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)", "diff": "diff --git a/drivers/net/ftgmac100.c b/drivers/net/ftgmac100.c\nindex f5ea2e72d1bb..33d1f7da3d76 100644\n--- a/drivers/net/ftgmac100.c\n+++ b/drivers/net/ftgmac100.c\n@@ -546,7 +546,7 @@ static int ftgmac100_send(struct udevice *dev, void *packet, int length)\n \t\treturn -EPERM;\n \t}\n \n-\tdebug(\"%s(%x, %x)\\n\", __func__, (int)packet, length);\n+\tdebug(\"%s(%p, %x)\\n\", __func__, packet, length);\n \n \tlength = (length < ETH_ZLEN) ? ETH_ZLEN : length;\n \n", "prefixes": [] }