{"id":810435,"url":"http://patchwork.ozlabs.org/api/patches/810435/?format=json","web_url":"http://patchwork.ozlabs.org/project/intel-wired-lan/patch/4d27bbb33031ac1489fe6d969edd74d44155136c.1504684488.git.sbrivio@redhat.com/","project":{"id":46,"url":"http://patchwork.ozlabs.org/api/projects/46/?format=json","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":"<4d27bbb33031ac1489fe6d969edd74d44155136c.1504684488.git.sbrivio@redhat.com>","list_archive_url":null,"date":"2017-09-06T08:11:38","name":"[net,1/2] i40e: Fix comment about locking for __i40e_read_nvm_word()","commit_ref":null,"pull_url":null,"state":"accepted","archived":false,"hash":"b1e30b2592f0a63fd242a69f74bea23a58131ae9","submitter":{"id":72032,"url":"http://patchwork.ozlabs.org/api/people/72032/?format=json","name":"Stefano Brivio","email":"sbrivio@redhat.com"},"delegate":{"id":68,"url":"http://patchwork.ozlabs.org/api/users/68/?format=json","username":"jtkirshe","first_name":"Jeff","last_name":"Kirsher","email":"jeffrey.t.kirsher@intel.com"},"mbox":"http://patchwork.ozlabs.org/project/intel-wired-lan/patch/4d27bbb33031ac1489fe6d969edd74d44155136c.1504684488.git.sbrivio@redhat.com/mbox/","series":[{"id":1717,"url":"http://patchwork.ozlabs.org/api/series/1717/?format=json","web_url":"http://patchwork.ozlabs.org/project/intel-wired-lan/list/?series=1717","date":"2017-09-06T08:11:37","name":"i40e: Two trivial fixes for 09f79fd49d94","version":1,"mbox":"http://patchwork.ozlabs.org/series/1717/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/patches/810435/comments/","check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/810435/checks/","tags":{},"related":[],"headers":{"Return-Path":"<intel-wired-lan-bounces@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"],"Authentication-Results":["ozlabs.org;\n\tspf=pass (mailfrom) smtp.mailfrom=osuosl.org\n\t(client-ip=140.211.166.136; helo=silver.osuosl.org;\n\tenvelope-from=intel-wired-lan-bounces@osuosl.org;\n\treceiver=<UNKNOWN>)","ext-mx06.extmail.prod.ext.phx2.redhat.com;\n\tdmarc=none (p=none dis=none) header.from=redhat.com","ext-mx06.extmail.prod.ext.phx2.redhat.com;\n\tspf=fail smtp.mailfrom=sbrivio@redhat.com"],"Received":["from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136])\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 3xnGXF6LfWz9s8J\n\tfor <incoming@patchwork.ozlabs.org>;\n\tWed,  6 Sep 2017 18:12:13 +1000 (AEST)","from localhost (localhost [127.0.0.1])\n\tby silver.osuosl.org (Postfix) with ESMTP id 1274C30AE5;\n\tWed,  6 Sep 2017 08:12:12 +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 6pdTHbmbdLiY; Wed,  6 Sep 2017 08:12:10 +0000 (UTC)","from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby silver.osuosl.org (Postfix) with ESMTP id 796A2307D5;\n\tWed,  6 Sep 2017 08:12:10 +0000 (UTC)","from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133])\n\tby ash.osuosl.org (Postfix) with ESMTP id 79ACD1BFE90\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tWed,  6 Sep 2017 08:12:06 +0000 (UTC)","from localhost (localhost [127.0.0.1])\n\tby hemlock.osuosl.org (Postfix) with ESMTP id 7428289A80\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tWed,  6 Sep 2017 08:12:06 +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 WfMAV1XODD7a for <intel-wired-lan@lists.osuosl.org>;\n\tWed,  6 Sep 2017 08:12:05 +0000 (UTC)","from mx1.redhat.com (mx1.redhat.com [209.132.183.28])\n\tby hemlock.osuosl.org (Postfix) with ESMTPS id AA96389A7E\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tWed,  6 Sep 2017 08:12:05 +0000 (UTC)","from smtp.corp.redhat.com\n\t(int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11])\n\t(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))\n\t(No client certificate requested)\n\tby mx1.redhat.com (Postfix) with ESMTPS id 1D78E356CD;\n\tWed,  6 Sep 2017 08:12:05 +0000 (UTC)","from elisabeth.redhat.com (unknown [10.33.36.13])\n\tby smtp.corp.redhat.com (Postfix) with ESMTP id B52FA19CB9;\n\tWed,  6 Sep 2017 08:12:03 +0000 (UTC)"],"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.30]); Wed, 06 Sep 2017 08:12:05 +0000 (UTC)"],"DMARC-Filter":"OpenDMARC Filter v1.3.2 mx1.redhat.com 1D78E356CD","From":"Stefano Brivio <sbrivio@redhat.com>","To":"Jeff Kirsher <jeffrey.t.kirsher@intel.com>, netdev@vger.kernel.org,\n\tintel-wired-lan@lists.osuosl.org","Date":"Wed,  6 Sep 2017 10:11:38 +0200","Message-Id":"<4d27bbb33031ac1489fe6d969edd74d44155136c.1504684488.git.sbrivio@redhat.com>","In-Reply-To":"<cover.1504684488.git.sbrivio@redhat.com>","References":"<cover.1504684488.git.sbrivio@redhat.com>","X-Scanned-By":"MIMEDefang 2.79 on 10.5.11.11","Cc":"\"David S . Miller\" <davem@davemloft.net>","Subject":"[Intel-wired-lan] [PATCH net 1/2] i40e: Fix comment about locking\n\tfor __i40e_read_nvm_word()","X-BeenThere":"intel-wired-lan@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.osuosl.org>","List-Unsubscribe":"<https://lists.osuosl.org/mailman/options/intel-wired-lan>, \n\t<mailto:intel-wired-lan-request@osuosl.org?subject=unsubscribe>","List-Archive":"<http://lists.osuosl.org/pipermail/intel-wired-lan/>","List-Post":"<mailto:intel-wired-lan@osuosl.org>","List-Help":"<mailto:intel-wired-lan-request@osuosl.org?subject=help>","List-Subscribe":"<https://lists.osuosl.org/mailman/listinfo/intel-wired-lan>, \n\t<mailto:intel-wired-lan-request@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@osuosl.org","Sender":"\"Intel-wired-lan\" <intel-wired-lan-bounces@osuosl.org>"},"content":"Caller needs to acquire the lock. Called functions will not.\n\nFixes: 09f79fd49d94 (\"i40e: avoid NVM acquire deadlock during NVM update\")\nSigned-off-by: Stefano Brivio <sbrivio@redhat.com>\n---\n drivers/net/ethernet/intel/i40e/i40e_nvm.c | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)","diff":"diff --git a/drivers/net/ethernet/intel/i40e/i40e_nvm.c b/drivers/net/ethernet/intel/i40e/i40e_nvm.c\nindex 26d7e9fe6220..200779d5c124 100644\n--- a/drivers/net/ethernet/intel/i40e/i40e_nvm.c\n+++ b/drivers/net/ethernet/intel/i40e/i40e_nvm.c\n@@ -281,7 +281,7 @@ static i40e_status i40e_read_nvm_word_aq(struct i40e_hw *hw, u16 offset,\n }\n \n /**\n- * __i40e_read_nvm_word - Reads nvm word, assumes called does the locking\n+ * __i40e_read_nvm_word - Reads nvm word, assumes caller does the locking\n  * @hw: pointer to the HW structure\n  * @offset: offset of the Shadow RAM word to read (0x000000 - 0x001FFF)\n  * @data: word read from the Shadow RAM\n","prefixes":["net","1/2"]}