Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp929945ybb; Wed, 1 Apr 2020 12:15:42 -0700 (PDT) X-Google-Smtp-Source: ADFU+vvJtmqpXG9ZI08xPOVN/C35LzJj+dLnF0/sL/ZuNsfviVeQfCCJrXjCcgmFPvEl7vcmU+T5 X-Received: by 2002:a05:6830:148d:: with SMTP id s13mr17651461otq.342.1585768542269; Wed, 01 Apr 2020 12:15:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585768542; cv=none; d=google.com; s=arc-20160816; b=N0QNMo7R2kwdg13BtNY9xr3OPhZ7LrwmOcieXVsKte/7DTxoqhCHyHcFLzPKAapfPo zBbQb5S5EJngNBd9fCNdtbVcPwoWYQCkSgyczAkoXSYPHMUI/3bexegalY/X9U2hyZ05 TH7qAVyIQZzTA6Lj9WzJkfQ2SsHoKVFj55D5P7M8bEEiF2JOaZ6tpsU6WLzlLRQTWMeK mU+t+iuPOnhjvvjv5klxg55hLicGvHMiMn+D/wjW91usybp+Io1M42yZtGI2OXu00eOm MnjtWXDS4g0f3zwMgL5NECewEezOPVBP3RqkNH3IsVRoQ/der3se6Uid44/aWxpQH7e/ 4aNg== 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=wNYVdF5491dP8rMRSZ9Zg0VHFbTIYSk256yUrM73mAw=; b=I9IA/FMMzHvsvH5xSmh73x5VSYYexVcCdVXo4rDO5UdX8c4+m2aMebwG4fElEuo2P9 kXyccQ7AUGB/BVThP+fsF5xW8ZKqcSjJJlAT5YEO/pH7itIJAkdugQ/RkvBLgzF1uHxq qQCfhTD0SdpG+kGxZD8Ql2nknqTBUKVyKikKoSvkb1GykWKRFudbtTz6Mu9buA+BjGvZ n01cZCJrrf4kmUYbeE5dx2jSdRDx9sI6o2/baWNX45tPBEWGS+8l0KHIVHEyim8YFZhg D9YDGdbgIpNETvaXYA0kMZ4pUQxmFtpaIT1ubH8Y6B1vZ5XI6FLTz/j8H1r9zlrWfJO3 MShg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=o3klgpKg; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t6si1285243oib.255.2020.04.01.12.15.29; Wed, 01 Apr 2020 12:15:42 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=o3klgpKg; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732554AbgDATOO (ORCPT + 99 others); Wed, 1 Apr 2020 15:14:14 -0400 Received: from mail-pj1-f67.google.com ([209.85.216.67]:35843 "EHLO mail-pj1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732535AbgDATOO (ORCPT ); Wed, 1 Apr 2020 15:14:14 -0400 Received: by mail-pj1-f67.google.com with SMTP id nu11so472788pjb.1 for ; Wed, 01 Apr 2020 12:14:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=wNYVdF5491dP8rMRSZ9Zg0VHFbTIYSk256yUrM73mAw=; b=o3klgpKgVeN3pY/ZLaoDGCkpGyHv17CcfbYzgNt1LZpo6ooacRjeKKa8ZRvfhpAmGI 2Z8GZJpjM9LqGfIrTsqlchGqcKVTaIGzk3IUFGy1WhKEkhPRGq79L8bPmJrStEKmZ+rp ARK/hZZvRMSWYOQxvSo1MWeR2KfXL11/Ce+Qxn3RQxq+dX18dtZaneP8u/mg+cC+aVzm +k6GcoKHzQefZdC2Ybjp0k9v2xrlHDa5V5rt4+gzLz3/AoumEF4ThJq2vVvpQ4dR8zk5 FE5r8mAu5RK4t/y9RHJgCy7XtREkcn54LAxG/Yy72rriDZjfG5lvQseQIE0AKLYOQzRU bOnA== 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=wNYVdF5491dP8rMRSZ9Zg0VHFbTIYSk256yUrM73mAw=; b=aO2bb7cFws/VqJ/mxOtKeovs2gIVV3cLFqYl+drGa0uSKLwvDXzB23M4bDZUpYr5Il mN1Ax6/J1a8nu4zmYSjYHmvB3/hKfulhbwSXXRNbMHx5rIepv+rTdkZ2b4drGGGlNpSp MZ8Q5If2NU+0KxH0/EUH3XwT2rurg/G+489rH5YM+ImXJhp/1hA40fv8OjOU9Xf5XyHg NOmPZ7fdNw2B67vs82Pl8VhnGEENYkdMbOMK4EVOk8NEHnd33EamVkphyJGVNLcXeokN uPgBPVbvNjnXzqj3qs1eJ3gbndZJUJUpgwbk/nvwv0RH0mmmp3KEDdSrOz7qzUfL3aRY 45uQ== X-Gm-Message-State: AGi0Pubwcg/mBTb9AZME1QKzdHLVmghRK/peSvdgZ8DkgSaAYN5cNQfR PTobyWO0eC0BH6Zpj3JiDA/APp0HeeEkSV+vhJEKWQ== X-Received: by 2002:a17:90a:c08c:: with SMTP id o12mr1413488pjs.27.1585768451078; Wed, 01 Apr 2020 12:14:11 -0700 (PDT) MIME-Version: 1.0 References: <20200311024240.26834-1-elder@linaro.org> <20200401173515.142249-1-ndesaulniers@google.com> <3659efd7-4e72-6bff-5657-c1270e8553f4@linaro.org> In-Reply-To: <3659efd7-4e72-6bff-5657-c1270e8553f4@linaro.org> From: Nick Desaulniers Date: Wed, 1 Apr 2020 12:13:59 -0700 Message-ID: Subject: Re: [PATCH v3] bitfield.h: add FIELD_MAX() and field_max() To: Alex Elder Cc: Maxim Kuvyrkov , Arnd Bergmann , Bjorn Andersson , "David S. Miller" , Johannes Berg , Jakub Kicinski , LKML , Masahiro Yamada , Nathan Chancellor , Network Development , Alexander Viro 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 Wed, Apr 1, 2020 at 11:24 AM Alex Elder wrote: > > On 4/1/20 12:35 PM, Nick Desaulniers wrote: > >> Define FIELD_MAX(), which supplies the maximum value that can be > >> represented by a field value. Define field_max() as well, to go > >> along with the lower-case forms of the field mask functions. > >> > >> Signed-off-by: Alex Elder > >> Acked-by: Jakub Kicinski > >> --- > >> v3: Rebased on latest netdev-next/master. > >> > >> David, please take this into net-next as soon as possible. When the > >> IPA code was merged the other day this prerequisite patch was not > >> included, and as a result the IPA driver fails to build. Thank you. > >> > >> See: https://lkml.org/lkml/2020/3/10/1839 > >> > >> -Alex > > > > In particular, this seems to now have regressed into mainline for the 5.7 > > merge window as reported by Linaro's ToolChain Working Group's CI. > > Link: https://github.com/ClangBuiltLinux/linux/issues/963 > > Is the problem you're referring to the result of a build done > in the midst of a bisect? > > The fix for this build error is currently present in the > torvalds/linux.git master branch: > 6fcd42242ebc soc: qcom: ipa: kill IPA_RX_BUFFER_ORDER Is that right? That patch is in mainline, but looks unrelated to what I'm referring to. https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=6fcd42242ebcc98ebf1a9a03f5e8cb646277fd78 From my github link above, the issue I'm referring to is a -Wimplicit-function-declaration warning related to field_max. 6fcd42242ebc doesn't look related. > > I may be mistaken, but I believe this is the same problem I discussed > with Maxim Kuvyrkov this morning. A different build problem led to > an automated bisect, which conluded this was the cause because it > landed somewhere between the initial pull of the IPA code and the fix > I reference above. Yes, Maxim runs Linaro's ToolChain Working Group (IIUC, but you work there, so you probably know better than I do), that's the CI I was referring to. I'm more concerned when I see reports of regressions *in mainline*. The whole point of -next is that warnings reported there get fixed BEFORE the merge window opens, so that we don't regress mainline. Or we drop the patches in -next. -- Thanks, ~Nick Desaulniers