Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/1.2/patches/804908/?format=api
{ "id": 804908, "url": "http://patchwork.ozlabs.org/api/1.2/patches/804908/?format=api", "web_url": "http://patchwork.ozlabs.org/project/linux-pci/patch/20170823094752.26962-1-colin.king@canonical.com/", "project": { "id": 28, "url": "http://patchwork.ozlabs.org/api/1.2/projects/28/?format=api", "name": "Linux PCI development", "link_name": "linux-pci", "list_id": "linux-pci.vger.kernel.org", "list_email": "linux-pci@vger.kernel.org", "web_url": null, "scm_url": null, "webscm_url": null, "list_archive_url": "", "list_archive_url_format": "", "commit_url_format": "" }, "msgid": "<20170823094752.26962-1-colin.king@canonical.com>", "list_archive_url": null, "date": "2017-08-23T09:47:52", "name": "misc: pci_endpoint_test: make boolean no_msi static", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": false, "hash": "033e2fa1730368e118c8eb54ed8d5fba85069c5c", "submitter": { "id": 2900, "url": "http://patchwork.ozlabs.org/api/1.2/people/2900/?format=api", "name": "Colin Ian King", "email": "colin.king@canonical.com" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/linux-pci/patch/20170823094752.26962-1-colin.king@canonical.com/mbox/", "series": [], "comments": "http://patchwork.ozlabs.org/api/patches/804908/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/804908/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<linux-pci-owner@vger.kernel.org>", "X-Original-To": "incoming@patchwork.ozlabs.org", "Delivered-To": "patchwork-incoming@bilbo.ozlabs.org", "Authentication-Results": "ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=vger.kernel.org\n\t(client-ip=209.132.180.67; helo=vger.kernel.org;\n\tenvelope-from=linux-pci-owner@vger.kernel.org;\n\treceiver=<UNKNOWN>)", "Received": [ "from vger.kernel.org (vger.kernel.org [209.132.180.67])\n\tby ozlabs.org (Postfix) with ESMTP id 3xcjKR0Cp3z9s8J\n\tfor <incoming@patchwork.ozlabs.org>;\n\tWed, 23 Aug 2017 19:48:11 +1000 (AEST)", "(majordomo@vger.kernel.org) by vger.kernel.org via listexpand\n\tid S1753593AbdHWJr4 (ORCPT <rfc822;incoming@patchwork.ozlabs.org>);\n\tWed, 23 Aug 2017 05:47:56 -0400", "from youngberry.canonical.com ([91.189.89.112]:46557 \"EHLO\n\tyoungberry.canonical.com\" rhost-flags-OK-OK-OK-OK) by vger.kernel.org\n\twith ESMTP id S1751168AbdHWJrz (ORCPT\n\t<rfc822; linux-pci@vger.kernel.org>); Wed, 23 Aug 2017 05:47:55 -0400", "from 1.general.cking.uk.vpn ([10.172.193.212] helo=localhost)\n\tby youngberry.canonical.com with esmtpsa\n\t(TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.76)\n\t(envelope-from <colin.king@canonical.com>)\n\tid 1dkSGP-0001iY-AU; Wed, 23 Aug 2017 09:47:53 +0000" ], "From": "Colin King <colin.king@canonical.com>", "To": "Arnd Bergmann <arnd@arndb.de>,\n\tGreg Kroah-Hartman <gregkh@linuxfoundation.org>,\n\tKishon Vijay Abraham I <kishon@ti.com>, linux-pci@vger.kernel.org", "Cc": "kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org", "Subject": "[PATCH] misc: pci_endpoint_test: make boolean no_msi static", "Date": "Wed, 23 Aug 2017 10:47:52 +0100", "Message-Id": "<20170823094752.26962-1-colin.king@canonical.com>", "X-Mailer": "git-send-email 2.14.1", "MIME-Version": "1.0", "Content-Type": "text/plain; charset=\"utf-8\"", "Content-Transfer-Encoding": "8bit", "Sender": "linux-pci-owner@vger.kernel.org", "Precedence": "bulk", "List-ID": "<linux-pci.vger.kernel.org>", "X-Mailing-List": "linux-pci@vger.kernel.org" }, "content": "From: Colin Ian King <colin.king@canonical.com>\n\nThe boolean no_msi is local to the source and does not need to be in\nglobal scope, so make it static.\n\nCleans up sparse warning:\nsymbol 'no_msi' was not declared. Should it be static?\n\nSigned-off-by: Colin Ian King <colin.king@canonical.com>\n---\n drivers/misc/pci_endpoint_test.c | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)", "diff": "diff --git a/drivers/misc/pci_endpoint_test.c b/drivers/misc/pci_endpoint_test.c\nindex 1f64d943794d..deb203026496 100644\n--- a/drivers/misc/pci_endpoint_test.c\n+++ b/drivers/misc/pci_endpoint_test.c\n@@ -73,7 +73,7 @@ static DEFINE_IDA(pci_endpoint_test_ida);\n #define to_endpoint_test(priv) container_of((priv), struct pci_endpoint_test, \\\n \t\t\t\t\t miscdev)\n \n-bool no_msi;\n+static bool no_msi;\n module_param(no_msi, bool, 0444);\n MODULE_PARM_DESC(no_msi, \"Disable MSI interrupt in pci_endpoint_test\");\n \n", "prefixes": [] }