Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/655557/?format=api
{ "id": 655557, "url": "http://patchwork.ozlabs.org/api/patches/655557/?format=api", "web_url": "http://patchwork.ozlabs.org/project/intel-wired-lan/patch/20160803190107.GC775@mwanda/", "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": "<20160803190107.GC775@mwanda>", "list_archive_url": null, "date": "2016-08-03T19:01:07", "name": "i40e: remove a stray unlock", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": false, "hash": "1faafe906d631dc492c78a7157a9631d3d4a2e44", "submitter": { "id": 9327, "url": "http://patchwork.ozlabs.org/api/people/9327/?format=api", "name": "Dan Carpenter", "email": "dan.carpenter@oracle.com" }, "delegate": { "id": 68, "url": "http://patchwork.ozlabs.org/api/users/68/?format=api", "username": "jtkirshe", "first_name": "Jeff", "last_name": "Kirsher", "email": "jeffrey.t.kirsher@intel.com" }, "mbox": "http://patchwork.ozlabs.org/project/intel-wired-lan/patch/20160803190107.GC775@mwanda/mbox/", "series": [], "comments": "http://patchwork.ozlabs.org/api/patches/655557/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/655557/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<intel-wired-lan-bounces@lists.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" ], "Received": [ "from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133])\n\t(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))\n\t(No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3s4MqZ4q41z9s9Z\n\tfor <incoming@patchwork.ozlabs.org>;\n\tThu, 4 Aug 2016 05:01:30 +1000 (AEST)", "from localhost (localhost [127.0.0.1])\n\tby hemlock.osuosl.org (Postfix) with ESMTP id 2CD6786D56;\n\tWed, 3 Aug 2016 19:01:29 +0000 (UTC)", "from hemlock.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id h-I+on44O83c; Wed, 3 Aug 2016 19:01:26 +0000 (UTC)", "from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby hemlock.osuosl.org (Postfix) with ESMTP id 7C4F886C9E;\n\tWed, 3 Aug 2016 19:01:26 +0000 (UTC)", "from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138])\n\tby ash.osuosl.org (Postfix) with ESMTP id 837EC1C206C\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tWed, 3 Aug 2016 19:01:25 +0000 (UTC)", "from localhost (localhost [127.0.0.1])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id 7EB168ACDC\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tWed, 3 Aug 2016 19:01:25 +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 8mEK+skgDKSg for <intel-wired-lan@lists.osuosl.org>;\n\tWed, 3 Aug 2016 19:01:24 +0000 (UTC)", "from userp1040.oracle.com (userp1040.oracle.com [156.151.31.81])\n\tby whitealder.osuosl.org (Postfix) with ESMTPS id 393168ADF7\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tWed, 3 Aug 2016 19:01:24 +0000 (UTC)", "from aserv0022.oracle.com (aserv0022.oracle.com [141.146.126.234])\n\tby userp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2)\n\twith ESMTP id u73J1LVe006218\n\t(version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK);\n\tWed, 3 Aug 2016 19:01:21 GMT", "from userv0122.oracle.com (userv0122.oracle.com [156.151.31.75])\n\tby aserv0022.oracle.com (8.13.8/8.13.8) with ESMTP id u73J1KRv012841\n\t(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK);\n\tWed, 3 Aug 2016 19:01:21 GMT", "from abhmp0013.oracle.com (abhmp0013.oracle.com [141.146.116.19])\n\tby userv0122.oracle.com (8.14.4/8.14.4) with ESMTP id\n\tu73J1J2v002498; Wed, 3 Aug 2016 19:01:20 GMT", "from mwanda (/154.0.139.178) by default (Oracle Beehive Gateway\n\tv4.0) with ESMTP ; Wed, 03 Aug 2016 12:01:19 -0700" ], "X-Virus-Scanned": [ "amavisd-new at osuosl.org", "amavisd-new at osuosl.org" ], "X-Greylist": "domain auto-whitelisted by SQLgrey-1.7.6", "Date": "Wed, 3 Aug 2016 22:01:07 +0300", "From": "Dan Carpenter <dan.carpenter@oracle.com>", "To": "Jeff Kirsher <jeffrey.t.kirsher@intel.com>,\n\tCatherine Sullivan <catherine.sullivan@intel.com>", "Message-ID": "<20160803190107.GC775@mwanda>", "MIME-Version": "1.0", "Content-Disposition": "inline", "User-Agent": "Mutt/1.6.0 (2016-04-01)", "X-Source-IP": "aserv0022.oracle.com [141.146.126.234]", "Cc": "netdev@vger.kernel.org, kernel-janitors@vger.kernel.org,\n\tintel-wired-lan@lists.osuosl.org", "Subject": "[Intel-wired-lan] [patch] i40e: remove a stray unlock", "X-BeenThere": "intel-wired-lan@lists.osuosl.org", "X-Mailman-Version": "2.1.18-1", "Precedence": "list", "List-Id": "Intel Wired Ethernet Linux Kernel Driver Development\n\t<intel-wired-lan.lists.osuosl.org>", "List-Unsubscribe": "<http://lists.osuosl.org/mailman/options/intel-wired-lan>, \n\t<mailto:intel-wired-lan-request@lists.osuosl.org?subject=unsubscribe>", "List-Archive": "<http://lists.osuosl.org/pipermail/intel-wired-lan/>", "List-Post": "<mailto:intel-wired-lan@lists.osuosl.org>", "List-Help": "<mailto:intel-wired-lan-request@lists.osuosl.org?subject=help>", "List-Subscribe": "<http://lists.osuosl.org/mailman/listinfo/intel-wired-lan>, \n\t<mailto:intel-wired-lan-request@lists.osuosl.org?subject=subscribe>", "Content-Type": "text/plain; charset=\"us-ascii\"", "Content-Transfer-Encoding": "7bit", "Errors-To": "intel-wired-lan-bounces@lists.osuosl.org", "Sender": "\"Intel-wired-lan\" <intel-wired-lan-bounces@lists.osuosl.org>" }, "content": "We shifted the locking around a bit but forgot to delete this unlock so\nnow it can unlock twice.\n\nFixes: cd3be169a5ff ('i40e: Move the mutex lock in i40e_client_unregister')\nSigned-off-by: Dan Carpenter <dan.carpenter@oracle.com>", "diff": "diff --git a/drivers/net/ethernet/intel/i40e/i40e_client.c b/drivers/net/ethernet/intel/i40e/i40e_client.c\nindex e1370c5..1a9682f 100644\n--- a/drivers/net/ethernet/intel/i40e/i40e_client.c\n+++ b/drivers/net/ethernet/intel/i40e/i40e_client.c\n@@ -990,7 +990,6 @@ int i40e_unregister_client(struct i40e_client *client)\n \tif (!i40e_client_is_registered(client)) {\n \t\tpr_info(\"i40e: Client %s has not been registered\\n\",\n \t\t\tclient->name);\n-\t\tmutex_unlock(&i40e_client_mutex);\n \t\tret = -ENODEV;\n \t\tgoto out;\n \t}\n", "prefixes": [] }