From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E49AC182CD for ; Mon, 12 Jun 2023 10:32:39 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 66A96C433A0; Mon, 12 Jun 2023 10:32:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1686565959; bh=Tyco2/frODmM11+aSp8BZ4JqeKefzybVQDxmZCHymYE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=H8De3rFyFG0uVsmBtjUKy3GOiQ++CW5N6gS5lsWa/Ja8KYRGuOHOTGZjPiwTO/L90 UPpulh5Hy/BkkD7Mquc1CqVeiOFh9jtn1a4HPPxI0ErHqP/A407kS/pBK4JRYXH1Tu z7hAbr6K+Qm505Cqx3Mf1vCDjcf4ZHUb+9jzJ+GU= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev Subject: [PATCH 5.10 11/68] i40e: fix build warning in ice_fltr_add_mac_to_list() Date: Mon, 12 Jun 2023 12:26:03 +0200 Message-ID: <20230612101658.942299030@linuxfoundation.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230612101658.437327280@linuxfoundation.org> References: <20230612101658.437327280@linuxfoundation.org> User-Agent: quilt/0.67 Precedence: bulk X-Mailing-List: patches@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Not upstream as this was fixed in a much larger change in commit 5e24d5984c80 ("ice: Use int for ice_status") The function ice_fltr_add_mac_to_list() has the wrong prototype match from the .h file to the .c declaration, so fix it up, otherwise gcc-13 complains (rightfully) that the type is incorrect. Signed-off-by: Greg Kroah-Hartman --- drivers/net/ethernet/intel/ice/ice_fltr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/drivers/net/ethernet/intel/ice/ice_fltr.c +++ b/drivers/net/ethernet/intel/ice/ice_fltr.c @@ -128,7 +128,7 @@ void ice_fltr_remove_all(struct ice_vsi * @mac: MAC address to add * @action: filter action */ -int +enum ice_status ice_fltr_add_mac_to_list(struct ice_vsi *vsi, struct list_head *list, const u8 *mac, enum ice_sw_fwd_act_type action) {