Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/612831/?format=api
{ "id": 612831, "url": "http://patchwork.ozlabs.org/api/patches/612831/?format=api", "web_url": "http://patchwork.ozlabs.org/project/intel-wired-lan/patch/1461167156-6737-1-git-send-email-dvlasenk@redhat.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": "<1461167156-6737-1-git-send-email-dvlasenk@redhat.com>", "list_archive_url": null, "date": "2016-04-20T15:45:54", "name": "[1/3] e1000e: e1000e_cyclecounter_read(): incvalue is 32 bits, not 64", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": false, "hash": "8b0d2d24852d2961b1c57d5dc3cfc2bd593d4927", "submitter": { "id": 11718, "url": "http://patchwork.ozlabs.org/api/people/11718/?format=api", "name": "Denys Vlasenko", "email": "dvlasenk@redhat.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/1461167156-6737-1-git-send-email-dvlasenk@redhat.com/mbox/", "series": [], "comments": "http://patchwork.ozlabs.org/api/patches/612831/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/612831/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 silver.osuosl.org (smtp3.osuosl.org [140.211.166.136])\n\tby ozlabs.org (Postfix) with ESMTP id 3qqsRQ5Y8Rz9t3Z\n\tfor <incoming@patchwork.ozlabs.org>;\n\tThu, 21 Apr 2016 05:30:26 +1000 (AEST)", "from localhost (localhost [127.0.0.1])\n\tby silver.osuosl.org (Postfix) with ESMTP id A0013316EA;\n\tWed, 20 Apr 2016 19:30:25 +0000 (UTC)", "from silver.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id 6NrkStkYrGz6; Wed, 20 Apr 2016 19:30:24 +0000 (UTC)", "from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby silver.osuosl.org (Postfix) with ESMTP id 5C6F7303F5;\n\tWed, 20 Apr 2016 19:30:24 +0000 (UTC)", "from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133])\n\tby ash.osuosl.org (Postfix) with ESMTP id 35C681C174C\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tWed, 20 Apr 2016 15:46:03 +0000 (UTC)", "from localhost (localhost [127.0.0.1])\n\tby hemlock.osuosl.org (Postfix) with ESMTP id 2FC019627B\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tWed, 20 Apr 2016 15:46:03 +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 swNVusqm79pv for <intel-wired-lan@lists.osuosl.org>;\n\tWed, 20 Apr 2016 15:46:02 +0000 (UTC)", "from mx1.redhat.com (mx1.redhat.com [209.132.183.28])\n\tby hemlock.osuosl.org (Postfix) with ESMTPS id 5C23B9626E\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tWed, 20 Apr 2016 15:46:02 +0000 (UTC)", "from int-mx13.intmail.prod.int.phx2.redhat.com\n\t(int-mx13.intmail.prod.int.phx2.redhat.com [10.5.11.26])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256\n\tbits)) (No client certificate requested)\n\tby mx1.redhat.com (Postfix) with ESMTPS id DD5AE6264C\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tWed, 20 Apr 2016 15:46:01 +0000 (UTC)", "from localhost.localdomain (dhcp-1-191.brq.redhat.com\n\t[10.34.1.191])\n\tby int-mx13.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with\n\tESMTP id u3KFk0ar001773; Wed, 20 Apr 2016 11:46:01 -0400" ], "X-Virus-Scanned": [ "amavisd-new at osuosl.org", "amavisd-new at osuosl.org" ], "X-Greylist": [ "domain auto-whitelisted by SQLgrey-1.7.6", "Sender IP whitelisted, not delayed by milter-greylist-4.5.16\n\t(mx1.redhat.com [10.5.110.39]); Wed, 20 Apr 2016 15:46:01 +0000 (UTC)" ], "From": "Denys Vlasenko <dvlasenk@redhat.com>", "To": "intel-wired-lan@lists.osuosl.org", "Date": "Wed, 20 Apr 2016 17:45:54 +0200", "Message-Id": "<1461167156-6737-1-git-send-email-dvlasenk@redhat.com>", "X-Scanned-By": "MIMEDefang 2.68 on 10.5.11.26", "X-Mailman-Approved-At": "Wed, 20 Apr 2016 19:30:21 +0000", "Cc": "Denys Vlasenko <dvlasenk@redhat.com>", "Subject": "[Intel-wired-lan] [PATCH 1/3] e1000e: e1000e_cyclecounter_read():\n\tincvalue is 32 bits, not 64", "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": "\"incvalue\" variable holds a result of \"er32(TIMINCA) & E1000_TIMINCA_INCVALUE_MASK\"\nand used in \"do_div(temp, incvalue)\" as a divisor.\n\nThus, \"u64 incvalue\" declaration is probably a mistake.\nEven though it seems to be a harmless one, let's fix it.\n\nSigned-off-by: Denys Vlasenko <dvlasenk@redhat.com>\nCC: intel-wired-lan@lists.osuosl.org\n---\n drivers/net/ethernet/intel/e1000e/netdev.c | 3 ++-\n 1 file changed, 2 insertions(+), 1 deletion(-)", "diff": "diff --git a/drivers/net/ethernet/intel/e1000e/netdev.c b/drivers/net/ethernet/intel/e1000e/netdev.c\nindex 9b4ec13..967311b 100644\n--- a/drivers/net/ethernet/intel/e1000e/netdev.c\n+++ b/drivers/net/ethernet/intel/e1000e/netdev.c\n@@ -4300,7 +4300,8 @@ static cycle_t e1000e_cyclecounter_read(const struct cyclecounter *cc)\n \t}\n \n \tif ((hw->mac.type == e1000_82574) || (hw->mac.type == e1000_82583)) {\n-\t\tu64 incvalue, time_delta, rem, temp;\n+\t\tu64 time_delta, rem, temp;\n+\t\tu32 incvalue;\n \t\tint i;\n \n \t\t/* errata for 82574/82583 possible bad bits read from SYSTIMH/L\n", "prefixes": [ "1/3" ] }