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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0A265C61DA4 for ; Mon, 6 Feb 2023 21:48:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230033AbjBFVs5 (ORCPT ); Mon, 6 Feb 2023 16:48:57 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54874 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229601AbjBFVsz (ORCPT ); Mon, 6 Feb 2023 16:48:55 -0500 Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4DF142C643 for ; Mon, 6 Feb 2023 13:48:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1675720134; x=1707256134; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=R0l6UzainEHuY8Gp+55Dezyq3VCxm4aQHg/HyHZTH1M=; b=WT88cmk6Id3WF2E53mlfkOZTM0+WdD0WTHPeR8aggqwG+QQEZQJtoph7 3LATjqIFO2svoKQWha7z7MwBaDzNubj2i3ynz83fFTrBndS6p3E/GXqgy OKYiXg3MtqzO+vlV7yFyUiyjyLbHiZ/YdZGcpxcw9HqkpVuZbJWph91fk waDjbhftqiP9X/317IGF5NG8K1TQw7TMmp0ZpAg/+NLswJdOYC6AkXf6H bxPDyXc6C78STiFxl80QXMa3zQDZgFxno63x99tSs0TQjugNMngiYcydp XInFOovghUFWV5pe4AyUNKqP1sxRe/qdUd84/XJHNL84Qt+1TpFMRxwWh w==; X-IronPort-AV: E=McAfee;i="6500,9779,10613"; a="317338094" X-IronPort-AV: E=Sophos;i="5.97,276,1669104000"; d="scan'208";a="317338094" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Feb 2023 13:48:32 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10613"; a="616576184" X-IronPort-AV: E=Sophos;i="5.97,276,1669104000"; d="scan'208";a="616576184" Received: from anguy11-upstream.jf.intel.com ([10.166.9.133]) by orsmga003.jf.intel.com with ESMTP; 06 Feb 2023 13:48:32 -0800 From: Tony Nguyen To: davem@davemloft.net, kuba@kernel.org, pabeni@redhat.com, edumazet@google.com Cc: Jacob Keller , netdev@vger.kernel.org, anthony.l.nguyen@intel.com, Michal Swiatkowski Subject: [PATCH net-next 02/13] ice: fix function comment referring to ice_vsi_alloc Date: Mon, 6 Feb 2023 13:48:02 -0800 Message-Id: <20230206214813.20107-3-anthony.l.nguyen@intel.com> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20230206214813.20107-1-anthony.l.nguyen@intel.com> References: <20230206214813.20107-1-anthony.l.nguyen@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org From: Jacob Keller Since commit 1d2e32275de7 ("ice: split ice_vsi_setup into smaller functions") ice_vsi_alloc has not been responsible for all of the behavior implied by the comment for ice_vsi_setup_vector_base. Fix the comment to refer to the new function ice_vsi_alloc_def(). Signed-off-by: Jacob Keller Reviewed-by: Michal Swiatkowski Signed-off-by: Tony Nguyen --- drivers/net/ethernet/intel/ice/ice_lib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/intel/ice/ice_lib.c b/drivers/net/ethernet/intel/ice/ice_lib.c index 1f770a15d1a4..d81f89f420ed 100644 --- a/drivers/net/ethernet/intel/ice/ice_lib.c +++ b/drivers/net/ethernet/intel/ice/ice_lib.c @@ -1527,7 +1527,7 @@ static int ice_get_vf_ctrl_res(struct ice_pf *pf, struct ice_vsi *vsi) * ice_vsi_setup_vector_base - Set up the base vector for the given VSI * @vsi: ptr to the VSI * - * This should only be called after ice_vsi_alloc() which allocates the + * This should only be called after ice_vsi_alloc_def() which allocates the * corresponding SW VSI structure and initializes num_queue_pairs for the * newly allocated VSI. * -- 2.38.1