Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp1638085ybt; Mon, 15 Jun 2020 05:49:28 -0700 (PDT) X-Google-Smtp-Source: ABdhPJynmBjJLtrgvWaRc2S4lB2x2uBB5DEWUL1LboYWKPAL/eHjRTGl/IW/3bc99F0L4mdRe6vO X-Received: by 2002:aa7:d952:: with SMTP id l18mr23247059eds.151.1592225368028; Mon, 15 Jun 2020 05:49:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592225368; cv=none; d=google.com; s=arc-20160816; b=OU4zPtausfSmGQX32+yyVpZzAUpHQFOpWVIaXEiBnhZuH5hqhmVlg3bETmCGqcN01M BZglvVDp41uxxBEfam+oTLzoeItNbPGOYz3HaKKp0IjNU/K0EdttUv5EYy8zLZcG3bTJ W9ddmlUDoLDTvoCFIBKuMZSJ6H4NY8bxTvJ8B7VS2WiuPTC+WoJvIGpIDawg6H1Fokxm GWgm4cMLzAK5tSXZ4NHdXEXB7rWAsL13hT9T0qGK6pBmvlT4d6LnFvT7j8i5r/C3Pn9C frXbSwTZj7/yOtKg3mCwW142mmyZVL9VZdFlmoDTaLIPSo4LbNvHE5cwNe2rs9Y4D3m3 3qbg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=Ex4ahxPfnRJtHhHWkEbgHyzFGza84a5R1pjXHVBwv1k=; b=wXo2A5Di51xsL5EXFTvUadGoffjf3Lv9HUKHFY9pAU9sVTAVeVzBxKrCIej3dqJeZn 1nrCREPqiUtegK15hGcyM8spKmpYLcEacqUw/P1jL2f3/Hr7zHMZ8UP6icVaOiqBpD26 nhOmLJHKCOD41B+IA3QL9B1Cmly3IgshfGp85QKoW85AFyRnhii5ZTX+T43fJsebZh6c kPjsTseOZjjVZeJrN9BcYRpfKZIL2UQfECSt5q9raLv69s60p2tIisvE5dIMSObNneSj JJGdllunbG9ChMmlyFEzHdzplK9sP/w4ncdHAoYYFtvcrw5etirwF+WkuEjrOmvoWY4i 4KxQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=qKfY5RcZ; 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 q26si8657789edi.415.2020.06.15.05.49.05; Mon, 15 Jun 2020 05:49:28 -0700 (PDT) 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=20161025 header.b=qKfY5RcZ; 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 S1730076AbgFOMqw (ORCPT + 99 others); Mon, 15 Jun 2020 08:46:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50132 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728285AbgFOMqu (ORCPT ); Mon, 15 Jun 2020 08:46:50 -0400 Received: from mail-il1-x141.google.com (mail-il1-x141.google.com [IPv6:2607:f8b0:4864:20::141]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F380DC061A0E; Mon, 15 Jun 2020 05:46:49 -0700 (PDT) Received: by mail-il1-x141.google.com with SMTP id p5so15112220ile.6; Mon, 15 Jun 2020 05:46:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=Ex4ahxPfnRJtHhHWkEbgHyzFGza84a5R1pjXHVBwv1k=; b=qKfY5RcZwunYOBi349HPaH9pICMNxGTeYVJuxlg2OASzshTxktOUuR2xF4VOxC+gPh /m6dq5sc5Zq6O9NEbWCvAuasEFmQUvbH+z36wkqubUp+gJ7qQkatmsqJhbE5j0ETipu6 oxMEy6xor4+CfJZXMtsT+BIR/6iVSk6EYbBAoq1SVtmUJyj61610y5a1sULkMdxWnKDv +mjIRlj519zIpp2eNy3kqE/t/28gLV8iqkjXml8KnpSgTkgGRT/hEy938A8SdKMvDdBN DKWdA5hwlb4r2IOpBjsYa80zrdpp4UJ8hBAAUjdryK1VjIj++blPq6733ZB6oNLJFLCa yE9g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=Ex4ahxPfnRJtHhHWkEbgHyzFGza84a5R1pjXHVBwv1k=; b=boSdQhD/R1FMZi91wCOBLb9EJeOzTAHknzWpGP7dMU3Hx7cHdKUZ5Uz2YiF72mu0c7 cG1kVmpvf6umFtzffGj6h2srFy+mQqI6ejnH75OvGUCdvX4UA9SPAAXYeiRdeKVUUoTo C9PhND2nB9eEXwaJ3ehA9nZ1gl7yizbF5VQxT6iCdUi1AfXwmNob0i07HTjTgD+I1Ph4 9XNYYpYrisNb+xPSLzcg5+V2OF6P4W+6+0PuHX+AOplEj7axS/G1B5ouK3dOyMQZqxrc 002brSnfi5ICoPs9NKhVwQYhy1HDT4AtaJKMWN4yTDM2qSU1eeK7r1ubVjbwxxdr6juH sJQA== X-Gm-Message-State: AOAM533OeG/Kw/UZbfZwR4+GWLI+bKHO4oVbzSGertI0zpsOqA6sgJ0A BmAqAQfSBQYM/1qkAgxzipvUc3qkvYr9i0ZKsKc= X-Received: by 2002:a05:6e02:12b3:: with SMTP id f19mr27719137ilr.13.1592225209461; Mon, 15 Jun 2020 05:46:49 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Syed Nayyar Waris Date: Mon, 15 Jun 2020 18:16:37 +0530 Message-ID: Subject: Re: [PATCH v7 0/4] Introduce the for_each_set_clump macro To: Bartosz Golaszewski Cc: Linus Walleij , Andrew Morton , Andy Shevchenko , William Breathitt Gray , Michal Simek , Arnd Bergmann , rrichter@marvell.com, Masahiro Yamada , Zhang Rui , Daniel Lezcano , Amit Kucheria , Linux-Arch , linux-gpio , LKML , arm-soc , linux-pm Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, May 25, 2020 at 3:06 PM Bartosz Golaszewski wrote: > > niedz., 24 maj 2020 o 07:00 Syed Nayyar Waris napi= sa=C5=82(a): > > > > Hello Linus, > > > > Since this patchset primarily affects GPIO drivers, would you like > > to pick it up through your GPIO tree? > > > > This patchset introduces a new generic version of for_each_set_clump. > > The previous version of for_each_set_clump8 used a fixed size 8-bit > > clump, but the new generic version can work with clump of any size but > > less than or equal to BITS_PER_LONG. The patchset utilizes the new macr= o > > in several GPIO drivers. > > > > The earlier 8-bit for_each_set_clump8 facilitated a > > for-loop syntax that iterates over a memory region entire groups of set > > bits at a time. > > > > The GPIO part looks good to me. Linus: how do we go about merging it > given the bitops dependency? > > Bart A minor change has been done in patch [2/4] to fix compilation warning. Kindly refer patchset v8 in future. Thanks Syed Nayyar Waris