From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751153AbdAMDkN (ORCPT ); Thu, 12 Jan 2017 22:40:13 -0500 Received: from mx1.redhat.com ([209.132.183.28]:35212 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751098AbdAMDkM (ORCPT ); Thu, 12 Jan 2017 22:40:12 -0500 From: Fam Zheng To: linux-kernel@vger.kernel.org Cc: famz@redhat.com, Johannes Thumshirn , linux-scsi@vger.kernel.org, "James E.J. Bottomley" , "Martin K. Petersen" , fcoe-devel@open-fcoe.org Subject: [PATCH] libfc: Fix variable name in fc_set_wwpn Date: Fri, 13 Jan 2017 11:40:01 +0800 Message-Id: <20170113034001.29202-1-famz@redhat.com> X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.27]); Fri, 13 Jan 2017 03:40:12 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The parameter name should be wwpn instead of wwnn. Signed-off-by: Fam Zheng --- include/scsi/libfc.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/scsi/libfc.h b/include/scsi/libfc.h index 96dd0b3..da5033d 100644 --- a/include/scsi/libfc.h +++ b/include/scsi/libfc.h @@ -809,11 +809,11 @@ static inline void fc_set_wwnn(struct fc_lport *lport, u64 wwnn) /** * fc_set_wwpn() - Set the World Wide Port Name of a local port * @lport: The local port whose WWPN is to be set - * @wwnn: The new WWPN + * @wwpn: The new WWPN */ -static inline void fc_set_wwpn(struct fc_lport *lport, u64 wwnn) +static inline void fc_set_wwpn(struct fc_lport *lport, u64 wwpn) { - lport->wwpn = wwnn; + lport->wwpn = wwpn; } /** -- 2.9.3