From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from smtp2.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 1BA72C4332F for ; Tue, 1 Nov 2022 22:53:18 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id BBC33400EF; Tue, 1 Nov 2022 22:53:17 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp2.osuosl.org BBC33400EF DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=osuosl.org; s=default; t=1667343197; bh=Zu21KgGsAWjiWbqeaC1BZ/Pz29Lgb367uh7YGBqaFCg=; h=From:To:Date:In-Reply-To:References:Subject:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=u/o7hLef1CRkKNqQUgs7VKl1STM12JVwDlN6JK9lgsUlYYnVOdtxQ6f3XFo2kxQpI rWizP7UxlUT/GbE2VsQy1W1pc0IqOQ53rHgznXSs4X01TS0WQuNgn1nl2Y2B/Fw84Q 1K1+LNkVVH6riV0NKp/YK8aN6MFGCf2drWF4r3z2JXvZu4vb0rKYIU+XuauSv+qiKN HoguXpMkKdC8+C8u2K36fAmZFuk1MTLBZyHe7WxYvHVFrKO40EysVr5Rk+f/9GwaAQ AI17eqBextq2PINKsBXujY5mOyqaiuIHSgXMeAwhPabmmJs3h5u2jmhhbaQnuM4fra uzpLvbAIb+DkA== X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp2.osuosl.org ([127.0.0.1]) by localhost (smtp2.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id L1oKzc9h0p1X; Tue, 1 Nov 2022 22:53:17 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp2.osuosl.org (Postfix) with ESMTP id B394040643; Tue, 1 Nov 2022 22:53:16 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp2.osuosl.org B394040643 Received: from smtp2.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id 2838E1BF3E8 for ; Tue, 1 Nov 2022 22:53:12 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id C39044074E for ; Tue, 1 Nov 2022 22:53:11 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp2.osuosl.org C39044074E X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp2.osuosl.org ([127.0.0.1]) by localhost (smtp2.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id r-2is6B0bdtD for ; Tue, 1 Nov 2022 22:53:11 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.8.0 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp2.osuosl.org 34B2F4055A Received: from mga06.intel.com (mga06b.intel.com [134.134.136.31]) by smtp2.osuosl.org (Postfix) with ESMTPS id 34B2F4055A for ; Tue, 1 Nov 2022 22:53:11 +0000 (UTC) X-IronPort-AV: E=McAfee;i="6500,9779,10518"; a="371348109" X-IronPort-AV: E=Sophos;i="5.95,232,1661842800"; d="scan'208";a="371348109" Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 Nov 2022 15:53:09 -0700 X-IronPort-AV: E=McAfee;i="6500,9779,10518"; a="723324025" X-IronPort-AV: E=Sophos;i="5.95,232,1661842800"; d="scan'208";a="723324025" Received: from jekeller-desk.amr.corp.intel.com ([10.166.241.7]) by fmsmga003-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 Nov 2022 15:53:09 -0700 From: Jacob Keller To: Intel Wired LAN Date: Tue, 1 Nov 2022 15:52:29 -0700 Message-Id: <20221101225240.421525-5-jacob.e.keller@intel.com> X-Mailer: git-send-email 2.38.0.83.gd420dda05763 In-Reply-To: <20221101225240.421525-1-jacob.e.keller@intel.com> References: <20221101225240.421525-1-jacob.e.keller@intel.com> MIME-Version: 1.0 X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1667343191; x=1698879191; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=zoO5icx6agb3nHi2fzl/CNPsPc6q1j0SZBa8x9sWGmQ=; b=nMgOP9TONY/MuPW18pKElWFvL/TF+Z3ZT4nptAJRZx8QcELUNawj63EC GDzC0Sf1W0BznHE3mwJfb6HsYpg9XLspkWGy3hB0LfnXTpWtd54QBpztn cZZ9+BsR6c49kVrZaa5G6EfCBstmOPjgvHEvTJyA4pkPHZlfZJIgNOlJz ihcWj6rKQi8VwK6Ar427AaNhNoFOizPxj62DoVrVu3g3leE/seug612RL 7tlxiZmpT4i/2iJmd96asSNL/Ry8JkvaJI+xF9B5XH2iI5KaFoEUm2VW7 NZMmSd8eBxlvpBOSQSN8FUx0b9eOQMaF1HtH6S0pWQ+UpHmEq+it5E1H6 w==; X-Mailman-Original-Authentication-Results: smtp2.osuosl.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=nMgOP9TO Subject: [Intel-wired-lan] [PATCH net-next 04/15] ice: fix misuse of "link err" with "link status" X-BeenThere: intel-wired-lan@osuosl.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Intel Wired Ethernet Linux Kernel Driver Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: intel-wired-lan-bounces@osuosl.org Sender: "Intel-wired-lan" The ice_ptp_link_change function has a comment which mentions "link err" when referring to the current link status. We are storing the status of whether link is up or down, which is not an error. It is appears that this use of err accidentally got included due to an overzealous search and replace when removing the ice_status enum and local status variable. Fix the wording to use the correct term. Signed-off-by: Jacob Keller --- drivers/net/ethernet/intel/ice/ice_ptp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/intel/ice/ice_ptp.c b/drivers/net/ethernet/intel/ice/ice_ptp.c index 40606fa0c1d9..6a36256748fe 100644 --- a/drivers/net/ethernet/intel/ice/ice_ptp.c +++ b/drivers/net/ethernet/intel/ice/ice_ptp.c @@ -1324,7 +1324,7 @@ int ice_ptp_link_change(struct ice_pf *pf, u8 port, bool linkup) if (ptp_port->port_num != port) return -EINVAL; - /* Update cached link err for this port immediately */ + /* Update cached link status for this port immediately */ ptp_port->link_up = linkup; if (!test_bit(ICE_FLAG_PTP, pf->flags)) -- 2.38.0.83.gd420dda05763 _______________________________________________ Intel-wired-lan mailing list Intel-wired-lan@osuosl.org https://lists.osuosl.org/mailman/listinfo/intel-wired-lan