Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/652912/?format=api
{ "id": 652912, "url": "http://patchwork.ozlabs.org/api/patches/652912/?format=api", "web_url": "http://patchwork.ozlabs.org/project/intel-wired-lan/patch/1469545110-32553-1-git-send-email-weiyj.lk@gmail.com/", "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": "<1469545110-32553-1-git-send-email-weiyj.lk@gmail.com>", "list_archive_url": null, "date": "2016-07-26T14:58:30", "name": "[-next] i40e: Use list_move instead of list_del/list_add", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": false, "hash": "1d5f6c6618f632c028e00a5485c7fae20be379a1", "submitter": { "id": 8445, "url": "http://patchwork.ozlabs.org/api/people/8445/?format=api", "name": "Wei Yongjun", "email": "weiyj.lk@gmail.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/1469545110-32553-1-git-send-email-weiyj.lk@gmail.com/mbox/", "series": [], "comments": "http://patchwork.ozlabs.org/api/patches/652912/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/652912/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 whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138])\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 3rzVJy5CmQz9stY\n\tfor <incoming@patchwork.ozlabs.org>;\n\tWed, 27 Jul 2016 06:36:34 +1000 (AEST)", "from localhost (localhost [127.0.0.1])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id 574978B6EE;\n\tTue, 26 Jul 2016 20:36:33 +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 B3acs2mXGhzP; Tue, 26 Jul 2016 20:36:31 +0000 (UTC)", "from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id 531AB8B6B9;\n\tTue, 26 Jul 2016 20:36:29 +0000 (UTC)", "from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133])\n\tby ash.osuosl.org (Postfix) with ESMTP id A34871C0F89\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tTue, 26 Jul 2016 14:58:39 +0000 (UTC)", "from localhost (localhost [127.0.0.1])\n\tby hemlock.osuosl.org (Postfix) with ESMTP id 9B7A689816\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tTue, 26 Jul 2016 14:58:39 +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 kcBWhhINg1Xm for <intel-wired-lan@lists.osuosl.org>;\n\tTue, 26 Jul 2016 14:58:39 +0000 (UTC)", "from mail-pa0-f66.google.com (mail-pa0-f66.google.com\n\t[209.85.220.66])\n\tby hemlock.osuosl.org (Postfix) with ESMTPS id 0267F88A36\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tTue, 26 Jul 2016 14:58:39 +0000 (UTC)", "by mail-pa0-f66.google.com with SMTP id hh10so114224pac.1\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tTue, 26 Jul 2016 07:58:38 -0700 (PDT)", "from localhost.localdomain.localdomain\n\t(ec2-52-192-197-227.ap-northeast-1.compute.amazonaws.com.\n\t[52.192.197.227]) by smtp.gmail.com with ESMTPSA id\n\td2sm2346175pat.6.2016.07.26.07.58.33\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tTue, 26 Jul 2016 07:58:38 -0700 (PDT)" ], "Authentication-Results": "ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=gmail.com header.i=@gmail.com header.b=a/LkfAAU;\n\tdkim-atps=neutral", "X-Virus-Scanned": [ "amavisd-new at osuosl.org", "amavisd-new at osuosl.org" ], "X-Greylist": "domain auto-whitelisted by SQLgrey-1.7.6", "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;\n\th=from:to:cc:subject:date:message-id:mime-version\n\t:content-transfer-encoding;\n\tbh=u3oNDwSmVvPhawITjUyNXSIkTFm5crHp4Aux9nVDs+U=;\n\tb=a/LkfAAUyFuKhHaNtV1+VeF2Z0wYfely41M2yI+9s5i14V2RbsHaC+20+rkvAIL3mq\n\tFEMY7b+LdSq5l5VspsIk66zc8FHUflx0VODmVq2WCt83It9fPnCtMvG2qf8QSKh8zqvB\n\t02bmOfIMTdfvSGXoE6GV+omnlY/qetLn65hvthAGZpscj7XUmXryPFxUUV+heHymYF9Z\n\tZFTyQ4JMeNqz9eNRmmwVhCfByDuihfghp+PtTWBErw4GBaPYu8iP94Ze4yTr51hJHNGk\n\tyDEL/gRIOPtYIHs8SLycAPIZQwh/DcQD4ph8G6iaXWeJxz+knPLnVUeV3fsAY91xsle8\n\tV0NA==", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20130820;\n\th=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version\n\t:content-transfer-encoding;\n\tbh=u3oNDwSmVvPhawITjUyNXSIkTFm5crHp4Aux9nVDs+U=;\n\tb=X2x5EMSS+4Prm5NgMzA859d/0UcG6NTT9lJm2/JBBbJ2ZMU9X/zNo8sFf5ck+N9coy\n\ttah9DntKx5zRyzJufE2PpCZjE2a18VtJDW/eak+yBU8FVHCe7y5gnCh+j0vR6aAs2TE1\n\t58xZpsvseVuKy3KLSpsiFI6jDJFwVJtXF2ambJEEP+AKBgSWB1zr3NTYZTuyvCZ/QSw2\n\taEmWCagAdhLZVL3lrqwdf4QvF0lkN9H9CVidAjJMmUxK5v2XUl7vCribrWUOnCp7odxW\n\texpCP7W1rBib47M8bXrzUQpVAl45BwyeXb5Ibaj6D2e6RKbOfZzj3Ry7l4vOoEEcVk4m\n\t71fg==", "X-Gm-Message-State": "AEkoouuHhdzvUKXWmvHfZqamhCK0gqfNqAs2evNOnaCqqfFWomtY52/Mz8nQUA5KL85FMw==", "X-Received": "by 10.66.138.74 with SMTP id qo10mr40063294pab.135.1469545118644;\n\tTue, 26 Jul 2016 07:58:38 -0700 (PDT)", "From": "Wei Yongjun <weiyj.lk@gmail.com>", "To": "Jeff Kirsher <jeffrey.t.kirsher@intel.com>", "Date": "Tue, 26 Jul 2016 14:58:30 +0000", "Message-Id": "<1469545110-32553-1-git-send-email-weiyj.lk@gmail.com>", "X-Mailer": "git-send-email 2.7.4", "MIME-Version": "1.0", "X-Mailman-Approved-At": "Tue, 26 Jul 2016 20:36:27 +0000", "Cc": "intel-wired-lan@lists.osuosl.org, Wei Yongjun <weiyj.lk@gmail.com>,\n\tnetdev@vger.kernel.org", "Subject": "[Intel-wired-lan] [PATCH -next] i40e: Use list_move instead of\n\tlist_del/list_add", "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": "Using list_move() instead of list_del() + list_add().\n\nSigned-off-by: Wei Yongjun <weiyj.lk@gmail.com>\n---\n drivers/net/ethernet/intel/i40e/i40e_client.c | 3 +--\n 1 file changed, 1 insertion(+), 2 deletions(-)", "diff": "diff --git a/drivers/net/ethernet/intel/i40e/i40e_client.c b/drivers/net/ethernet/intel/i40e/i40e_client.c\nindex e1370c5..e6b9263 100644\n--- a/drivers/net/ethernet/intel/i40e/i40e_client.c\n+++ b/drivers/net/ethernet/intel/i40e/i40e_client.c\n@@ -662,8 +662,7 @@ static int i40e_client_release(struct i40e_client *client)\n \t\t\t\t client->name, pf->hw.pf_id);\n \t\t}\n \t\t/* delete the client instance from the list */\n-\t\tlist_del(&cdev->list);\n-\t\tlist_add(&cdev->list, &cdevs_tmp);\n+\t\tlist_move(&cdev->list, &cdevs_tmp);\n \t\tatomic_dec(&client->ref_cnt);\n \t\tdev_info(&pf->pdev->dev, \"Deleted client instance of Client %s\\n\",\n \t\t\t client->name);\n", "prefixes": [ "-next" ] }