Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/1314631/?format=api
{ "id": 1314631, "url": "http://patchwork.ozlabs.org/api/patches/1314631/?format=api", "web_url": "http://patchwork.ozlabs.org/project/intel-wired-lan/patch/20200622100056.10151-10-brgl@bgdev.pl/", "project": { "id": 46, "url": "http://patchwork.ozlabs.org/api/projects/46/?format=api", "name": "Intel Wired Ethernet development", "link_name": "intel-wired-lan", "list_id": "intel-wired-lan.osuosl.org", "list_email": "intel-wired-lan@osuosl.org", "web_url": "", "scm_url": "", "webscm_url": "", "list_archive_url": "", "list_archive_url_format": "", "commit_url_format": "" }, "msgid": "<20200622100056.10151-10-brgl@bgdev.pl>", "list_archive_url": null, "date": "2020-06-22T10:00:54", "name": "[09/11] of: mdio: remove the 'extern' keyword from function declarations", "commit_ref": null, "pull_url": null, "state": "awaiting-upstream", "archived": false, "hash": "9f7681046a30a0b166421de7018e1a25e289b543", "submitter": { "id": 71346, "url": "http://patchwork.ozlabs.org/api/people/71346/?format=api", "name": "Bartosz Golaszewski", "email": "brgl@bgdev.pl" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/intel-wired-lan/patch/20200622100056.10151-10-brgl@bgdev.pl/mbox/", "series": [ { "id": 185056, "url": "http://patchwork.ozlabs.org/api/series/185056/?format=api", "web_url": "http://patchwork.ozlabs.org/project/intel-wired-lan/list/?series=185056", "date": "2020-06-22T10:00:52", "name": "net: improve devres helpers", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/185056/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/1314631/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/1314631/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<intel-wired-lan-bounces@osuosl.org>", "X-Original-To": [ "incoming@patchwork.ozlabs.org", "intel-wired-lan@lists.osuosl.org" ], "Delivered-To": [ "patchwork-incoming@bilbo.ozlabs.org", "intel-wired-lan@lists.osuosl.org" ], "Authentication-Results": [ "ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=osuosl.org\n (client-ip=140.211.166.138; helo=whitealder.osuosl.org;\n envelope-from=intel-wired-lan-bounces@osuosl.org; receiver=<UNKNOWN>)", "ozlabs.org;\n dmarc=none (p=none dis=none) header.from=bgdev.pl", "ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n unprotected) header.d=bgdev-pl.20150623.gappssmtp.com\n header.i=@bgdev-pl.20150623.gappssmtp.com header.a=rsa-sha256\n header.s=20150623 header.b=MxEnyo50;\n\tdkim-atps=neutral" ], "Received": [ "from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))\n\t(No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 49rFh84Chwz9sRf\n\tfor <incoming@patchwork.ozlabs.org>; Tue, 23 Jun 2020 02:47:36 +1000 (AEST)", "from localhost (localhost [127.0.0.1])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id 2F02788730;\n\tMon, 22 Jun 2020 16:47:35 +0000 (UTC)", "from whitealder.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id BTI6gDVkNcbC; Mon, 22 Jun 2020 16:47:31 +0000 (UTC)", "from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id B2F438874B;\n\tMon, 22 Jun 2020 16:47:29 +0000 (UTC)", "from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137])\n by ash.osuosl.org (Postfix) with ESMTP id CBF621BF3C8\n for <intel-wired-lan@lists.osuosl.org>; Mon, 22 Jun 2020 11:02:47 +0000 (UTC)", "from localhost (localhost [127.0.0.1])\n by fraxinus.osuosl.org (Postfix) with ESMTP id C6DD586925\n for <intel-wired-lan@lists.osuosl.org>; Mon, 22 Jun 2020 11:02:47 +0000 (UTC)", "from fraxinus.osuosl.org ([127.0.0.1])\n by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n with ESMTP id nIpeZ3msdDRY for <intel-wired-lan@lists.osuosl.org>;\n Mon, 22 Jun 2020 11:02:44 +0000 (UTC)", "from mail-ej1-f66.google.com (mail-ej1-f66.google.com\n [209.85.218.66])\n by fraxinus.osuosl.org (Postfix) with ESMTPS id A425886920\n for <intel-wired-lan@lists.osuosl.org>; Mon, 22 Jun 2020 11:02:44 +0000 (UTC)", "by mail-ej1-f66.google.com with SMTP id dp18so17551890ejc.8\n for <intel-wired-lan@lists.osuosl.org>; Mon, 22 Jun 2020 04:02:44 -0700 (PDT)", "from localhost.localdomain (lfbn-nic-1-65-232.w2-15.abo.wanadoo.fr.\n [2.15.156.232])\n by smtp.gmail.com with ESMTPSA id x205sm16822187wmx.21.2020.06.22.03.01.19\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Mon, 22 Jun 2020 03:01:20 -0700 (PDT)" ], "X-Virus-Scanned": [ "amavisd-new at osuosl.org", "amavisd-new at osuosl.org" ], "X-Greylist": "delayed 00:34:10 by SQLgrey-1.7.6", "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=bgdev-pl.20150623.gappssmtp.com; s=20150623;\n h=from:to:cc:subject:date:message-id:in-reply-to:references\n :mime-version:content-transfer-encoding;\n bh=eg4utbhrf/3v6wZhuPotuFpmqRh7IC4ZAOzFVoP+DSU=;\n b=MxEnyo505JlU2NM71Ns3rqf71HG9d+3e0DSgBr4zrwK8k/6QZkxukBWBPbXD0U7DOU\n LTkBY0EmU2E4b1wfmzJjeUMAcwEQbL6bY0Hxl0Zle/ZEIhZf9HVji4mYG9zx7e5CQY4u\n CCATyRl6NEWhTBKaJ58QnmPlrIe3Dpoz9v76MGezVbZdpfDsY8bQjSRNfPy0117mdmc7\n ZWOILTIDUcfXtXy0/X7HXWgBFDWAUDVKV9VQFgANzt2cc9PVEsPMYZoVDpe/q0TWrtQm\n vP1dPPAeTocwkUNR3FXFR7z6gj9eEexFguHwDu10Lr43tHqCkUMFiBLt0giJs6h4sjhU\n 4RRw==", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20161025;\n h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to\n :references:mime-version:content-transfer-encoding;\n bh=eg4utbhrf/3v6wZhuPotuFpmqRh7IC4ZAOzFVoP+DSU=;\n b=SzNhfAgitbq7eXgRqXtZJmAYg7ynCn0HZUoI/5zw5818VU0mdRU5sX5plCR3BI3aOW\n XQPZSUdHJArxNZZGNiWt63SY+t1Gni1e1/th2cUJNIyVdT6MG9/oN0ualqEVvRInjgIc\n 6odkDxydeBxS8dlaffekd20JZY0AJpRDlHtxa/nls+IdOQkHEO88D9H0++kSOHcj+/Lj\n gVGNlxj71EdhgIALY9Hu7HvuKSEBz8bkiDhnrIdGiTWkSsLJFhqyIMtMLN0zRWGRCvNc\n gXGpLHqLm6N0hxhFOTS0bQ5WYo4KSKteefP+/4Xq6+fg/ceB4IQosGd09m7ur5x9P5y4\n gpjw==", "X-Gm-Message-State": "AOAM530iB9C9BTFjenK1HpgVgqqVhic7deFxqyqCWp8XeV9e40Aa8ZjS\n SGKbmkMbW4Sqy7TLLAGbJ3vVAVru/uc=", "X-Google-Smtp-Source": "\n ABdhPJzUx9/chMNKmLzAYZpTwQ9uy6yZYRBRjyWPOHP+aXvq3C4Pttlm2e9Adw57f6qs+y2AureErg==", "X-Received": "by 2002:adf:dd83:: with SMTP id x3mr16132134wrl.292.1592820080518;\n Mon, 22 Jun 2020 03:01:20 -0700 (PDT)", "From": "Bartosz Golaszewski <brgl@bgdev.pl>", "To": "Jonathan Corbet <corbet@lwn.net>,\n Jeff Kirsher <jeffrey.t.kirsher@intel.com>,\n \"David S . Miller\" <davem@davemloft.net>, Jakub Kicinski <kuba@kernel.org>,\n John Crispin <john@phrozen.org>, Sean Wang <sean.wang@mediatek.com>,\n Mark Lee <Mark-MC.Lee@mediatek.com>,\n Matthias Brugger <matthias.bgg@gmail.com>,\n Realtek linux nic maintainers <nic_swsd@realtek.com>,\n Heiner Kallweit <hkallweit1@gmail.com>, Andrew Lunn <andrew@lunn.ch>,\n Florian Fainelli <f.fainelli@gmail.com>,\n Russell King <linux@armlinux.org.uk>, Rob Herring <robh+dt@kernel.org>,\n Frank Rowand <frowand.list@gmail.com>", "Date": "Mon, 22 Jun 2020 12:00:54 +0200", "Message-Id": "<20200622100056.10151-10-brgl@bgdev.pl>", "X-Mailer": "git-send-email 2.26.1", "In-Reply-To": "<20200622100056.10151-1-brgl@bgdev.pl>", "References": "<20200622100056.10151-1-brgl@bgdev.pl>", "MIME-Version": "1.0", "X-Mailman-Approved-At": "Mon, 22 Jun 2020 16:47:24 +0000", "Subject": "[Intel-wired-lan] [PATCH 09/11] of: mdio: remove the 'extern'\n keyword from function declarations", "X-BeenThere": "intel-wired-lan@osuosl.org", "X-Mailman-Version": "2.1.29", "Precedence": "list", "List-Id": "Intel Wired Ethernet Linux Kernel Driver Development\n <intel-wired-lan.osuosl.org>", "List-Unsubscribe": "<https://lists.osuosl.org/mailman/options/intel-wired-lan>,\n <mailto:intel-wired-lan-request@osuosl.org?subject=unsubscribe>", "List-Archive": "<http://lists.osuosl.org/pipermail/intel-wired-lan/>", "List-Post": "<mailto:intel-wired-lan@osuosl.org>", "List-Help": "<mailto:intel-wired-lan-request@osuosl.org?subject=help>", "List-Subscribe": "<https://lists.osuosl.org/mailman/listinfo/intel-wired-lan>,\n <mailto:intel-wired-lan-request@osuosl.org?subject=subscribe>", "Cc": "devicetree@vger.kernel.org,\n Bartosz Golaszewski <bgolaszewski@baylibre.com>,\n Stephane Le Provost <stephane.leprovost@mediatek.com>,\n linux-doc@vger.kernel.org, netdev@vger.kernel.org,\n linux-kernel@vger.kernel.org, Fabien Parent <fparent@baylibre.com>,\n linux-mediatek@lists.infradead.org,\n Andrew Perepech <andrew.perepech@mediatek.com>,\n Pedro Tsai <pedro.tsai@mediatek.com>, intel-wired-lan@lists.osuosl.org,\n linux-arm-kernel@lists.infradead.org", "Content-Type": "text/plain; charset=\"us-ascii\"", "Content-Transfer-Encoding": "7bit", "Errors-To": "intel-wired-lan-bounces@osuosl.org", "Sender": "\"Intel-wired-lan\" <intel-wired-lan-bounces@osuosl.org>" }, "content": "From: Bartosz Golaszewski <bgolaszewski@baylibre.com>\n\nThe 'extern' keyword in headers doesn't have any benefit. Remove them\nall from the of_mdio.h header.\n\nSigned-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>\n---\n include/linux/of_mdio.h | 37 ++++++++++++++++++-------------------\n 1 file changed, 18 insertions(+), 19 deletions(-)", "diff": "diff --git a/include/linux/of_mdio.h b/include/linux/of_mdio.h\nindex 0f61a4ac6bcf..ba8e157f24ad 100644\n--- a/include/linux/of_mdio.h\n+++ b/include/linux/of_mdio.h\n@@ -12,27 +12,26 @@\n #include <linux/of.h>\n \n #if IS_ENABLED(CONFIG_OF_MDIO)\n-extern bool of_mdiobus_child_is_phy(struct device_node *child);\n-extern int of_mdiobus_register(struct mii_bus *mdio, struct device_node *np);\n-extern struct phy_device *of_phy_find_device(struct device_node *phy_np);\n-extern struct phy_device *of_phy_connect(struct net_device *dev,\n-\t\t\t\t\t struct device_node *phy_np,\n-\t\t\t\t\t void (*hndlr)(struct net_device *),\n-\t\t\t\t\t u32 flags, phy_interface_t iface);\n-extern struct phy_device *\n+bool of_mdiobus_child_is_phy(struct device_node *child);\n+int of_mdiobus_register(struct mii_bus *mdio, struct device_node *np);\n+struct phy_device *of_phy_find_device(struct device_node *phy_np);\n+struct phy_device *\n+of_phy_connect(struct net_device *dev, struct device_node *phy_np,\n+\t void (*hndlr)(struct net_device *), u32 flags,\n+\t phy_interface_t iface);\n+struct phy_device *\n of_phy_get_and_connect(struct net_device *dev, struct device_node *np,\n \t\t void (*hndlr)(struct net_device *));\n-struct phy_device *of_phy_attach(struct net_device *dev,\n-\t\t\t\t struct device_node *phy_np, u32 flags,\n-\t\t\t\t phy_interface_t iface);\n-\n-extern struct mii_bus *of_mdio_find_bus(struct device_node *mdio_np);\n-extern int of_phy_register_fixed_link(struct device_node *np);\n-extern void of_phy_deregister_fixed_link(struct device_node *np);\n-extern bool of_phy_is_fixed_link(struct device_node *np);\n-extern int of_mdiobus_phy_device_register(struct mii_bus *mdio,\n-\t\t\t\t struct phy_device *phy,\n-\t\t\t\t struct device_node *child, u32 addr);\n+struct phy_device *\n+of_phy_attach(struct net_device *dev, struct device_node *phy_np,\n+\t u32 flags, phy_interface_t iface);\n+\n+struct mii_bus *of_mdio_find_bus(struct device_node *mdio_np);\n+int of_phy_register_fixed_link(struct device_node *np);\n+void of_phy_deregister_fixed_link(struct device_node *np);\n+bool of_phy_is_fixed_link(struct device_node *np);\n+int of_mdiobus_phy_device_register(struct mii_bus *mdio, struct phy_device *phy,\n+\t\t\t\t struct device_node *child, u32 addr);\n \n static inline int of_mdio_parse_addr(struct device *dev,\n \t\t\t\t const struct device_node *np)\n", "prefixes": [ "09/11" ] }