Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp827398ybg; Wed, 3 Jun 2020 15:00:53 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyPnEUWwkJM12U8O6al7JLy4bwxbG+g9OE9P2Kfg5Ek63H74GS62wB1WMoCJSjZ8PnvPmhA X-Received: by 2002:a17:906:cd06:: with SMTP id oz6mr1333667ejb.434.1591221652983; Wed, 03 Jun 2020 15:00:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591221652; cv=none; d=google.com; s=arc-20160816; b=lezlPkFPEhWDEyaL4YKBx/7iEJ16fUiJg3PHfcqwLP70uOAo8TyNciZNRYyCrMxdKU wKFjZDpkhPwVZzpUNcxrkhXrJuSj11ftm8yrWWUr2R7uszjvhqKnQsOzH9EUgq+0Cucf rjK7/HUMAJFrvA/9W/PDaKvCmcM54XSRX77JsqfAOmcl3z/ADjMfqMxVONqFS/PZXj3G JTvjD6oiHQYeMWG6XMXf6kIkEZYPNrtPox7Q+zDxdfrOPdiVPK0OQNblDCaPY5qtnI7x XzMAYWbBRBTEt9flFoJ5Parmnr+sUOOkcCMTRoXbwFPQK6vERt0X9/cI/wKHTGLmlVWZ 4sig== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=qmgJt4PdsESH6tmBmwTOPwDVV1Ll9TPCWH5ByqNZkOs=; b=HOeThQpgKQT8p0Dfz8SraSzq+M/4w4U3HxYPvyCylDpEwfSEOwXS/vhd72Eg7A/qWX gnvoY+VWNkyT0CLapBtARwWOGrYac1c27zKCbv06c6opnclj9/yXAU87b4rZ7p2R1aOo 9CY/CF38GUolU6dxSLDcVKJPrOUCmvKxXJes8xfrvRtLET0L7Dq8fLCVtC3n3M0kz93R UUJSgfd0dbiyi/UfaYuq+0E3ObNBbYO7L/sX6Bhe4OX1hKgSatjaljuCG3eYbVGONYlG xcOwqLOaJRSNnVe7Oa5DLuxZ7MkHk3JccXC41Egd1APOwRv0HCupg6NBz09R7k9iHXWX OB3A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=TCQcSsFl; 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 w17si431003edt.490.2020.06.03.15.00.29; Wed, 03 Jun 2020 15:00:52 -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=TCQcSsFl; 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 S1726575AbgFCV6h (ORCPT + 99 others); Wed, 3 Jun 2020 17:58:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41168 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725922AbgFCV6h (ORCPT ); Wed, 3 Jun 2020 17:58:37 -0400 Received: from mail-pl1-x641.google.com (mail-pl1-x641.google.com [IPv6:2607:f8b0:4864:20::641]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E7872C08C5C0; Wed, 3 Jun 2020 14:58:36 -0700 (PDT) Received: by mail-pl1-x641.google.com with SMTP id y17so1289894plb.8; Wed, 03 Jun 2020 14:58:36 -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; bh=qmgJt4PdsESH6tmBmwTOPwDVV1Ll9TPCWH5ByqNZkOs=; b=TCQcSsFl3qKkBj4YlGE4aC9Pbuf+moem+PaECr4bQzj/BobeofHt3xbI+d27DkcVNB 40WjJqIcxTwfiGAI9XP/DuJEG1GLB9tb8FgXRaxkTjPfAG8ZYxTipspSxVw7uRHCbB0C WQ/m7tv6LToRIKoj7UVhUQwcGQkGMv/pbR2EdPjUP9LAjLo/va+qGx0NMiXMWWqjhS25 eIXf9j1WnsLm7jhtI0fK0o+cilB+vRAdZaYxlJcjP6+6eN5oB8ZXRBNgkZxmC7f1Mdko JmI7ZYp4r6Ep6p4hI+sc8ThlePsd69HLNiq+tB8WIlzgq+0BlXRNKn+GLW3STgQf6VOQ i1QA== 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; bh=qmgJt4PdsESH6tmBmwTOPwDVV1Ll9TPCWH5ByqNZkOs=; b=GPECeNRyJTSy/Mg4h/n0vp7X1BoSAdg+OUT8nJmWWGG77mb00bqGVZn0CaxsE1RG6W 0ZhQu0tkgW7TMw6R55RUKjwFScqxWXi+g1jkqdsUsccj44iPL37ko/cQnicgR8cVuxbX 4xaPfyY1QjdeIVBONKL9MRF+cpuYGPwT0DwB96UQO6cKFxxDAAln7vHUr6GA2F9dEX+8 gXf/5oW1G4+TLrAut3CNvHG6UTalVc1TmG5cM2CNvU2Odpxv842YxJGlLpAkQnFqhYlg HpkJIEEIBM3rO49XPaivKewtOCCJaEirC4rPSjsXIjJHfr/dYcChVuzK2+CLuAjI6Qor U6kg== X-Gm-Message-State: AOAM533uxPuOTVPKDbEKHM9STMrtOhWALDBHZuqNRTqZkhoExIs3H/aK i4yZfjjo0aBFCMhpoFoAdrm3T9DUQCQmTHXBLio= X-Received: by 2002:a17:90a:220f:: with SMTP id c15mr2313884pje.129.1591221516321; Wed, 03 Jun 2020 14:58:36 -0700 (PDT) MIME-Version: 1.0 References: <20200531223716.GA20752@rikard> <20200601083330.GB1634618@smile.fi.intel.com> <20200602190136.GA913@rikard> <20200603215314.GA916134@rikard> In-Reply-To: <20200603215314.GA916134@rikard> From: Andy Shevchenko Date: Thu, 4 Jun 2020 00:58:19 +0300 Message-ID: Subject: Re: [PATCH v7 1/4] bitops: Introduce the the for_each_set_clump macro To: Rikard Falkeborn Cc: Emil Velikov , Syed Nayyar Waris , Masahiro Yamada , Kees Cook , Linus Walleij , Andrew Morton , William Breathitt Gray , Arnd Bergmann , Linux-Arch , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jun 4, 2020 at 12:53 AM Rikard Falkeborn wrote: > On Wed, Jun 03, 2020 at 11:49:37AM +0300, Andy Shevchenko wrote: > > On Tue, Jun 2, 2020 at 10:01 PM Rikard Falkeborn > > wrote: ... > I'd be very surprised if compilers warned for explicit casts but I'll > send a proper patch soon to let the build robot try it. I noticed that you should have received kbuild bot report about a driver where it appears. You patch broke all cases where (l) = 0 and (h) is type of unsigned (not a const from compiler point of view). -- With Best Regards, Andy Shevchenko