Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp3147607pxj; Mon, 10 May 2021 20:26:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwr7NYvjKqfm07VdSSjdGG7rS+zEIUcJrZNdSl8locsLmF3qYwtQon77PIuHKOaudoaRrWt X-Received: by 2002:aa7:d658:: with SMTP id v24mr32706489edr.290.1620703564599; Mon, 10 May 2021 20:26:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620703564; cv=none; d=google.com; s=arc-20160816; b=KZ3PT+oCeDql4iT/rmAqG1vdjJ5tmaH53qhCa4kcQdUHvAta2MScrGebMLEvtkEQcd NJQenNnjyTv1DWag4pKHFgloJ7W9weqrsUQuTaVjpWuFiYwGqMf2NPtg1g1j0DvkRz8u f8EW3ZCXE30pn55oTl+X/00Ge4qZ+UW3LgCdCBYMQaxk48CvT6WMvASJl/2m7ke7zf40 Y5q+svO7WAzkPaLD82DIQmwT95RKD6cuQM/j08ZESfB9Z7IZznrTbtYKTMkSFoGZnIPg Uyri/DiVzTbTeDcSZiI2OtJzXXeA/M5B8ecy2Pz/iQwIqxGiWtLPwdA2zOzqwPpkLjtp ClQA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:user-agent:date :mime-version:references:in-reply-to:cc:to:reply-to:from:subject :message-id; bh=t5dihwh6taxcRIhzyzPXuTSAxXGXraKDtiK/9X4Jh/Y=; b=TnCtkq+srbMBxySIBROEbRMAUIqYUQxlLk5cApe7oV+nq8or1DIDbGNu7kqkN9v8iy ISmCvMty5wy1XM6SMjo4zp+l/dsT01qlY7xtNx4xAMqQC/+CWzadzvl1k0HUo8ADzj7z nCcZJWhh04iknB/bEh4sBCeIQQN7FRx2s+fz/h70YXr4PUjK4B/yOl+g1EmbCfNo96DU txuKv9QALcjth1mr23HKV2D1O0xUSDe3yhzGpsdCVoyzvhUOwXsgy33z9jQdmeLAJ2jz QOacG1/g2H9mxoJixAoSPFjDNYATsQ17BQv+0aW/1Mk0391cvS+gO/jPzbT+Xc4Gvnsv hR2w== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id sd25si1596564ejb.349.2021.05.10.20.25.40; Mon, 10 May 2021 20:26:04 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229900AbhEKDZx (ORCPT + 99 others); Mon, 10 May 2021 23:25:53 -0400 Received: from mail-lj1-f177.google.com ([209.85.208.177]:36399 "EHLO mail-lj1-f177.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229465AbhEKDZw (ORCPT ); Mon, 10 May 2021 23:25:52 -0400 Received: by mail-lj1-f177.google.com with SMTP id o16so23362877ljp.3; Mon, 10 May 2021 20:24:45 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:subject:from:reply-to:to:cc :in-reply-to:references:mime-version:date:user-agent :content-transfer-encoding; bh=t5dihwh6taxcRIhzyzPXuTSAxXGXraKDtiK/9X4Jh/Y=; b=JqcF7yLJ1Tp42uiWQltIBHjIKDzcN8bYpR3dzB7Uo0lE7CBjXyMuirE1ni7OVTZ8HN IbGpnmbrJME2NEw8lw1CGmfzKORKqGa0vKNdquU43OcP3nEEQFkrJ7XTqX2NGs9q9dA/ QjVRTbU5dR6iG8sY3N55lAgTbXOqO/WZnpaBB3aG2wZlvbHFD7+3NwLm6R8boJqPtI9a zCUxdKy6JkKmOWqVxTz7Iwqxg3Dc+8TlYn8Mxah9ua/nmSeiTdHV0buJaAC8nyRyeH3d 14NJZGIXyLPmxUM7xW2e3We7311Sb94bp6t2TaZkZ2qVKgnIwXf358rV66fhbCzKSN7t MGLA== X-Gm-Message-State: AOAM531iFfpQbCV5R2rncKOBAUq2r00MdVhWSVxXQ99qphUgD+PNeF8S syB05KsIK1D8SLOYulzAfXblsJT619JtMw== X-Received: by 2002:a2e:9dc3:: with SMTP id x3mr23213877ljj.206.1620703484941; Mon, 10 May 2021 20:24:44 -0700 (PDT) Received: from dc7vkhyyyyyyyyyyyyyby-3.rev.dnainternet.fi (dc7vkhyyyyyyyyyyyyyby-3.rev.dnainternet.fi. [2001:14ba:16e2:8300::2]) by smtp.gmail.com with ESMTPSA id f22sm835673lfc.102.2021.05.10.20.24.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 10 May 2021 20:24:44 -0700 (PDT) Message-ID: <6121a55d7db8cc4376c068e289fb29b9d4479dbd.camel@fi.rohmeurope.com> Subject: Re: [PATCH v9 05/10] regulator: IRQ based event/error notification helpers From: Matti Vaittinen Reply-To: matti.vaittinen@fi.rohmeurope.com To: Andy Shevchenko , kernel test robot Cc: kbuild-all@lists.01.org, Mark Brown , Kees Cook , Zhang Rui , Guenter Roeck , "agross@kernel.org" , "devicetree@vger.kernel.org" , linux-power , "linux-kernel@vger.kernel.org" In-Reply-To: References: <202105110342.Oembupaq-lkp@intel.com> Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Date: Tue, 11 May 2021 06:24:32 +0300 User-Agent: Evolution 3.34.4 (3.34.4-1.fc31) Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Andy, All, On Mon, 2021-05-10 at 23:20 +0300, Andy Shevchenko wrote: > On Mon, May 10, 2021 at 10:46 PM kernel test robot > wrote: > > > > include/linux/bitops.h:35:2: warning: this 'for' clause does not > > guard... [-Wmisleading-indentation] > > 35 | for ((bit) = find_first_bit((addr), (size)); \ > > | ^~~ > > drivers/regulator/irq_helpers.c:242:3: note: in expansion of > > macro 'for_each_set_bit' > > 242 | for_each_set_bit(j, &stat->notifs, BITS_PER_TYPE(stat- > > >notifs)) > > | ^~~~~~~~~~~~~~~~ > > drivers/regulator/irq_helpers.c:244:4: note: ...this statement, > > but the latter is misleadingly indented as if it were guarded by > > the 'for' > > Seems like missed {} > > Matti, there is a serious question: how had you tested this... I actually did. I did not just run rebase for the series and threw new version but I actually did run this in real HW, with real break-out board and with a fresh info print to see the event being sent. > (besides obvious compilation error) > Perhaps you have to fix your process somewhere to avoid missing > important steps? Yes. Can't deny this. And process fix should be simple. If code/patch needs a change (even a print removal/print severity change/parameter change) - then it needs to be tested again prior formatting the patches. Sorry folks. --Matti