Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/460941/?format=api
{ "id": 460941, "url": "http://patchwork.ozlabs.org/api/patches/460941/?format=api", "web_url": "http://patchwork.ozlabs.org/project/intel-wired-lan/patch/1428916512-25559-2-git-send-email-makita.toshiaki@lab.ntt.co.jp/", "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": "<1428916512-25559-2-git-send-email-makita.toshiaki@lab.ntt.co.jp>", "list_archive_url": null, "date": "2015-04-13T09:15:11", "name": "[net,2/2] igb: Fix NULL assignment to incorrect variable in igb_reset_q_vector", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": false, "hash": "9c0eb8c8826d0de94346709bbfff819e66efe640", "submitter": { "id": 22461, "url": "http://patchwork.ozlabs.org/api/people/22461/?format=api", "name": "Toshiaki Makita", "email": "makita.toshiaki@lab.ntt.co.jp" }, "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/1428916512-25559-2-git-send-email-makita.toshiaki@lab.ntt.co.jp/mbox/", "series": [], "comments": "http://patchwork.ozlabs.org/api/patches/460941/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/460941/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 (whitealder.osuosl.org\n\t[140.211.166.138])\n\tby ozlabs.org (Postfix) with ESMTP id C8024140281\n\tfor <incoming@patchwork.ozlabs.org>;\n\tTue, 14 Apr 2015 06:56:50 +1000 (AEST)", "from localhost (localhost [127.0.0.1])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id 225328D764;\n\tMon, 13 Apr 2015 20:56:50 +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 yhnH3CN1kEFp; Mon, 13 Apr 2015 20:56:49 +0000 (UTC)", "from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id 36E648C902;\n\tMon, 13 Apr 2015 20:56:49 +0000 (UTC)", "from whitealder.osuosl.org (whitealder.osuosl.org\n\t[140.211.166.138])\n\tby ash.osuosl.org (Postfix) with ESMTP id 775E41C1FC8\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tMon, 13 Apr 2015 09:28:28 +0000 (UTC)", "from localhost (localhost [127.0.0.1])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id 73AFA8B932\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tMon, 13 Apr 2015 09:28:28 +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 IYVd2f2xcKw9 for <intel-wired-lan@lists.osuosl.org>;\n\tMon, 13 Apr 2015 09:28:26 +0000 (UTC)", "from tama50.ecl.ntt.co.jp (tama50.ecl.ntt.co.jp [129.60.39.147])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id 67F948B930\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tMon, 13 Apr 2015 09:28:24 +0000 (UTC)", "from vc2.ecl.ntt.co.jp (vc2.ecl.ntt.co.jp [129.60.86.154])\n\tby tama50.ecl.ntt.co.jp (8.13.8/8.13.8) with ESMTP id t3D9FS1u012926; \n\tMon, 13 Apr 2015 18:15:28 +0900", "from vc2.ecl.ntt.co.jp (localhost [127.0.0.1])\n\tby vc2.ecl.ntt.co.jp (Postfix) with ESMTP id 6E04B5F612;\n\tMon, 13 Apr 2015 18:15:28 +0900 (JST)", "from imail3.m.ecl.ntt.co.jp (imail3.m.ecl.ntt.co.jp [129.60.5.248])\n\tby vc2.ecl.ntt.co.jp (Postfix) with ESMTP id 535165F594;\n\tMon, 13 Apr 2015 18:15:28 +0900 (JST)", "from ubuntu-vm-makita ([129.60.241.251])\n\tby imail3.m.ecl.ntt.co.jp (8.13.8/8.13.8) with ESMTP id\n\tt3D9FLZe026273; Mon, 13 Apr 2015 18:15:28 +0900", "by ubuntu-vm-makita (Postfix, from userid 1000)\n\tid A353E1E6427; Mon, 13 Apr 2015 18:15:18 +0900 (JST)" ], "X-Virus-Scanned": [ "amavisd-new at osuosl.org", "amavisd-new at osuosl.org" ], "X-Greylist": "delayed 00:12:51 by SQLgrey-1.7.6", "From": "Toshiaki Makita <makita.toshiaki@lab.ntt.co.jp>", "To": "Jeff Kirsher <jeffrey.t.kirsher@intel.com>", "Date": "Mon, 13 Apr 2015 18:15:11 +0900", "Message-Id": "<1428916512-25559-2-git-send-email-makita.toshiaki@lab.ntt.co.jp>", "X-Mailer": "git-send-email 1.8.1.2", "In-Reply-To": "<1428916512-25559-1-git-send-email-makita.toshiaki@lab.ntt.co.jp>", "References": "<1428916512-25559-1-git-send-email-makita.toshiaki@lab.ntt.co.jp>", "X-TM-AS-MML": "disable", "X-Mailman-Approved-At": "Mon, 13 Apr 2015 20:56:46 +0000", "Cc": "intel-wired-lan@lists.osuosl.org,\n\tToshiaki Makita <makita.toshiaki@lab.ntt.co.jp>", "Subject": "[Intel-wired-lan] [PATCH net 2/2] igb: Fix NULL assignment to\n\tincorrect variable in igb_reset_q_vector", "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>", "MIME-Version": "1.0", "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": "adapter->tx_ring is set to NULL where rx_ring should be.\n\nFixes: 5536d2102a2d (\"igb: Combine q_vector and ring allocation into a single function\")\nSigned-off-by: Toshiaki Makita <makita.toshiaki@lab.ntt.co.jp>\n---\n drivers/net/ethernet/intel/igb/igb_main.c | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)", "diff": "diff --git a/drivers/net/ethernet/intel/igb/igb_main.c b/drivers/net/ethernet/intel/igb/igb_main.c\nindex 010ddcb..b664512 100644\n--- a/drivers/net/ethernet/intel/igb/igb_main.c\n+++ b/drivers/net/ethernet/intel/igb/igb_main.c\n@@ -1036,7 +1036,7 @@ static void igb_reset_q_vector(struct igb_adapter *adapter, int v_idx)\n \t\tadapter->tx_ring[q_vector->tx.ring->queue_index] = NULL;\n \n \tif (q_vector->rx.ring)\n-\t\tadapter->tx_ring[q_vector->rx.ring->queue_index] = NULL;\n+\t\tadapter->rx_ring[q_vector->rx.ring->queue_index] = NULL;\n \n \tnetif_napi_del(&q_vector->napi);\n \n", "prefixes": [ "net", "2/2" ] }