Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/801957/?format=api
{ "id": 801957, "url": "http://patchwork.ozlabs.org/api/patches/801957/?format=api", "web_url": "http://patchwork.ozlabs.org/project/linux-i2c/patch/20170816091659.10738-1-colin.king@canonical.com/", "project": { "id": 35, "url": "http://patchwork.ozlabs.org/api/projects/35/?format=api", "name": "Linux I2C development", "link_name": "linux-i2c", "list_id": "linux-i2c.vger.kernel.org", "list_email": "linux-i2c@vger.kernel.org", "web_url": "", "scm_url": "", "webscm_url": "", "list_archive_url": "", "list_archive_url_format": "", "commit_url_format": "" }, "msgid": "<20170816091659.10738-1-colin.king@canonical.com>", "list_archive_url": null, "date": "2017-08-16T09:16:59", "name": "[i2c-next] i2c-cht-wc: make cht_wc_i2c_adap_driver static", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": false, "hash": "c67f31976954740597d142b6c945cfb44854e0dc", "submitter": { "id": 2900, "url": "http://patchwork.ozlabs.org/api/people/2900/?format=api", "name": "Colin Ian King", "email": "colin.king@canonical.com" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/linux-i2c/patch/20170816091659.10738-1-colin.king@canonical.com/mbox/", "series": [], "comments": "http://patchwork.ozlabs.org/api/patches/801957/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/801957/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<linux-i2c-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-i2c-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 3xXNyl3PyNz9sRg\n\tfor <incoming@patchwork.ozlabs.org>;\n\tWed, 16 Aug 2017 19:17:03 +1000 (AEST)", "(majordomo@vger.kernel.org) by vger.kernel.org via listexpand\n\tid S1751370AbdHPJRB (ORCPT <rfc822;incoming@patchwork.ozlabs.org>);\n\tWed, 16 Aug 2017 05:17:01 -0400", "from youngberry.canonical.com ([91.189.89.112]:58698 \"EHLO\n\tyoungberry.canonical.com\" rhost-flags-OK-OK-OK-OK) by vger.kernel.org\n\twith ESMTP id S1751196AbdHPJRB (ORCPT\n\t<rfc822; linux-i2c@vger.kernel.org>); Wed, 16 Aug 2017 05:17:01 -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 1dhuRf-0000Zi-Rq; Wed, 16 Aug 2017 09:16:59 +0000" ], "From": "Colin King <colin.king@canonical.com>", "To": "Wolfram Sang <wsa@the-dreams.de>, linux-i2c@vger.kernel.org", "Cc": "kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org", "Subject": "[PATCH][i2c-next] i2c-cht-wc: make cht_wc_i2c_adap_driver static", "Date": "Wed, 16 Aug 2017 10:16:59 +0100", "Message-Id": "<20170816091659.10738-1-colin.king@canonical.com>", "X-Mailer": "git-send-email 2.11.0", "MIME-Version": "1.0", "Content-Type": "text/plain; charset=\"utf-8\"", "Content-Transfer-Encoding": "8bit", "Sender": "linux-i2c-owner@vger.kernel.org", "Precedence": "bulk", "List-ID": "<linux-i2c.vger.kernel.org>", "X-Mailing-List": "linux-i2c@vger.kernel.org" }, "content": "From: Colin Ian King <colin.king@canonical.com>\n\nThe structure cht_wc_i2c_adap_driver is local to the source\nand does not need to be in global scope, so make it static.\n\nCleans up sparse warning:\nsymbol 'cht_wc_i2c_adap_driver' was not declared. Should it be static?\n\nSigned-off-by: Colin Ian King <colin.king@canonical.com>\n---\n drivers/i2c/busses/i2c-cht-wc.c | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)", "diff": "diff --git a/drivers/i2c/busses/i2c-cht-wc.c b/drivers/i2c/busses/i2c-cht-wc.c\nindex fe5caf70c7fe..01c94c918d4c 100644\n--- a/drivers/i2c/busses/i2c-cht-wc.c\n+++ b/drivers/i2c/busses/i2c-cht-wc.c\n@@ -322,7 +322,7 @@ static struct platform_device_id cht_wc_i2c_adap_id_table[] = {\n };\n MODULE_DEVICE_TABLE(platform, cht_wc_i2c_adap_id_table);\n \n-struct platform_driver cht_wc_i2c_adap_driver = {\n+static struct platform_driver cht_wc_i2c_adap_driver = {\n \t.probe = cht_wc_i2c_adap_i2c_probe,\n \t.remove = cht_wc_i2c_adap_i2c_remove,\n \t.driver = {\n", "prefixes": [ "i2c-next" ] }