Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp5464997pxb; Wed, 26 Jan 2022 12:37:34 -0800 (PST) X-Google-Smtp-Source: ABdhPJy6pHn4yMcIj0YD+QmOr2i4s3LF7oiG5HdTb2ASjIDtB7ufQjiRkWyGBS32XbH3/n0p5K9t X-Received: by 2002:a17:90b:128f:: with SMTP id fw15mr650833pjb.149.1643229454155; Wed, 26 Jan 2022 12:37:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643229454; cv=none; d=google.com; s=arc-20160816; b=Zci2kA0rskKAHS4cLnPzggPRQ05KSPAqVhx80AfJyI0sEqvd0Vaogw8uyiOuo4EcsD 4moOvTzCYYwip+0cJNSxmG5+fRZIAK8Vq5kt8OIpJkKiP4JQGfu58zm1WF89e/kTJtQQ +G4miKwB7LvHonLP4tph8Ac+Nms2EI7Zi5DoLBb2mLT6TlZR///bf1G6xhg4Vr2osSQT eSWyDhiOVTTTw31BsZq4Vlbpl/IrSu4tLvtLg8wPwnilZIiLDlRQ32K+pQ6Sc3ApV0v9 WmvhGZRA9AZ2GfFBWcj5eoI3azw0Z4tDaQc3OOdCOXvhvww9uwbQhNYJVF3/RwKPplmP +H4A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:to:content-language:subject:user-agent:mime-version:date :message-id:dkim-signature; bh=RdwXEu1MmztLKU47ICnLL8SgBU/757WIk4pxla2J/ik=; b=LDl1fdFz4/U5V+q6P/m/v1DivuHQMwFHG3RSCsYONli0xFFK2Xg+BvVnRe7YQ3KDL2 mSc4YMo5nuKPp56IN5BqrJ4k5oV7V/DaIJen3vXB2CwtM944Vf/iftH9yEHq+gcb89I7 8QkWnTBBSy8cAvttoUwejmEFsWRiBpOXk2//m6PYHuS6msfj8nNsNd0jJ+JU8zTiglWM Jm5N7CU3M7R1A6UCulOc2pTdPYyHSBKkswPh4uy2W3aL0LMANS+MuOyOzCPy4/L6V4gI PivoCn1NGHse+s2vktLVlSyQtKFdgQBf7joBch3zqMFk97xuxhZgpdw/4QmonKnTsz3G fGKg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=YHc0sRTz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s14si231213plg.205.2022.01.26.12.37.21; Wed, 26 Jan 2022 12:37:34 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=YHc0sRTz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238696AbiAZJBk (ORCPT + 99 others); Wed, 26 Jan 2022 04:01:40 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37390 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231352AbiAZJBj (ORCPT ); Wed, 26 Jan 2022 04:01:39 -0500 Received: from mail-ej1-x62a.google.com (mail-ej1-x62a.google.com [IPv6:2a00:1450:4864:20::62a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C520BC06161C; Wed, 26 Jan 2022 01:01:38 -0800 (PST) Received: by mail-ej1-x62a.google.com with SMTP id me13so37507596ejb.12; Wed, 26 Jan 2022 01:01:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:date:mime-version:user-agent:subject:content-language:to :references:from:in-reply-to:content-transfer-encoding; bh=RdwXEu1MmztLKU47ICnLL8SgBU/757WIk4pxla2J/ik=; b=YHc0sRTz05ilJCKIaZRtpdWg34iSw3Lm/r+U5Ew6FeIwqVE2cW++4sUu1im21RpvDg znYRBMg8HaYQafLOp5aRQQoso7uaKNJbMLDGx96kg/C2bRrjZ3DYPrHrAJEqkq20ubII 3nH6Wwk+zMBUZzk5JjmNupEF3iPJiFdO7qWwmLoMUlu5CpvtHL/iajjSnvzVTX+9Ohj1 894xblkbcJGfd/4Ue2QhFqDohuV3POuaKUz5HO11bFEUBNKmvh32E3JkxxF1AgruwSpC yS1eDRyv5dW7e4e4uqDPA/X8PlE9TVAO4tBvJt7/3Po59OeyMgpyKVw2YAYlzzRrHuTW ehaQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:references:from:in-reply-to :content-transfer-encoding; bh=RdwXEu1MmztLKU47ICnLL8SgBU/757WIk4pxla2J/ik=; b=h7oyXTg1IlNr7K81p7DQ/p4RDyVv/LxxhWhCMZJsIXoBE2DCj6RswLafx+mldfrlJI thg/9yERUQ2sIfm9HCUb7/02JQDyGTAtmFnH19AjzaqIb4KNvCviGMuin9Y2gAZq2nVV fWT1utbnXvR8Es0hpQ8yZMqQPhyPgPDLvRv8RTaGMy4SDr82lvq7+Tje4f+KZxbuTZxn +D/fdVffNt2dwPt8vN23Ymq0d9EPiR58Q7oDcxKt9QrqJ1PAEiGgrRals1w3trIRLRl5 Rp37I5umS4upXi9khp9fr0CRz6xR7LM/WniUdwue5OwIvLpDyvAOfqXW/6hXMsTUY3RU CqDg== X-Gm-Message-State: AOAM533/sfjaUvVPr3kUUbF8x6mWJVxBD0Kg8aFRHe/v5j9LAe6iiw/t fhuWhs2eAFe+UOBR1yUfvWY= X-Received: by 2002:a17:907:c1f:: with SMTP id ga31mr7326520ejc.529.1643187697302; Wed, 26 Jan 2022 01:01:37 -0800 (PST) Received: from [192.168.0.108] ([77.126.86.139]) by smtp.gmail.com with ESMTPSA id l3sm7121170ejg.44.2022.01.26.01.01.34 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 26 Jan 2022 01:01:36 -0800 (PST) Message-ID: Date: Wed, 26 Jan 2022 11:01:32 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 Subject: Re: [PATCH 04/54] net: mellanox: fix open-coded for_each_set_bit() Content-Language: en-US To: Yury Norov , Andy Shevchenko , Rasmus Villemoes , Andrew Morton , =?UTF-8?B?TWljaGHFgiBNaXJvc8WCYXc=?= , Greg Kroah-Hartman , Peter Zijlstra , David Laight , Joe Perches , Dennis Zhou , Emil Renner Berthing , Nicholas Piggin , Matti Vaittinen , Alexey Klimov , linux-kernel@vger.kernel.org, Tariq Toukan , "David S. Miller" , Jakub Kicinski , netdev@vger.kernel.org, linux-rdma@vger.kernel.org References: <20220123183925.1052919-1-yury.norov@gmail.com> <20220123183925.1052919-5-yury.norov@gmail.com> From: Tariq Toukan In-Reply-To: <20220123183925.1052919-5-yury.norov@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 1/23/2022 8:38 PM, Yury Norov wrote: > Mellanox driver has an open-coded for_each_set_bit(). Fix it. > > Signed-off-by: Yury Norov > --- > drivers/net/ethernet/mellanox/mlx4/cmd.c | 23 ++++++----------------- > 1 file changed, 6 insertions(+), 17 deletions(-) > Reviewed-by: Tariq Toukan Thanks, Tariq