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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8BB02C77B72 for ; Thu, 20 Apr 2023 04:03:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231603AbjDTED4 (ORCPT ); Thu, 20 Apr 2023 00:03:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45908 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231218AbjDTEDz (ORCPT ); Thu, 20 Apr 2023 00:03:55 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C188DE5F for ; Wed, 19 Apr 2023 21:03:53 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 5AD61643D4 for ; Thu, 20 Apr 2023 04:03:53 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 49045C433EF; Thu, 20 Apr 2023 04:03:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1681963432; bh=ggcePdRBvDcfz+32CwypFAPRKKQBSAWsZyHWK6xW9VU=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=XpOV4UALJXBvX0NFr4cSnkjh0lW+m9dDOXEdigh2Fh31Khr8dEZJ/cJ0tCpJDf1fH zzEcrWWvZyD0vWQ8iA0Ky23WKVr/4vuXUlaVMGIAlRlQNrrxDvev0vjNm2w00L6snx hRhVeI9PojgGkMXkdeouFlgk8eGdd/tN2TswwNWpCWEjW76/JECTCtMkmr0swp3+8Q 5/Y/MI1msJhFZi/BXPzI47X1CJRf+a2xbhIDv9iHWqUxm3AUdI6HZFlBXxDktI+rob ya8rNqh1/sUQ2VOcVbSaHzqB7GLHkGkSwnZSdL9Y/MG5gosOrvzl5AEhc2eSTi0z7N ZBLRtUNXMSeng== Date: Wed, 19 Apr 2023 21:03:48 -0700 From: Saeed Mahameed To: Jakub Kicinski Cc: davem@davemloft.net, netdev@vger.kernel.org, edumazet@google.com, pabeni@redhat.com, saeedm@nvidia.com, leon@kernel.org Subject: Re: [PATCH net-next] eth: mlx5: avoid iterator use outside of a loop Message-ID: References: <20230420015802.815362-1-kuba@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <20230420015802.815362-1-kuba@kernel.org> Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org On 19 Apr 18:58, Jakub Kicinski wrote: >Fix the following warning about risky iterator use: > >drivers/net/ethernet/mellanox/mlx5/core/eq.c:1010 mlx5_comp_irq_get_affinity_mask() warn: iterator used outside loop: 'eq' > Acked-by: Saeed Mahameed