Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp844307ybb; Wed, 1 Apr 2020 10:39:20 -0700 (PDT) X-Google-Smtp-Source: ADFU+vv7rkW1M/3tcaPViJko1xfz9B0nZz9yRkb6wR2SBs94++ld1dzVjk+f3Q4ihXfTZ9sBZt+Q X-Received: by 2002:a9d:5781:: with SMTP id q1mr18399095oth.258.1585762759854; Wed, 01 Apr 2020 10:39:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585762759; cv=none; d=google.com; s=arc-20160816; b=qfCOc0nlMJZgsSHwkBxkAwjDMt0onSbBfzHqTUP739NJp+IbFdZfC96mOthxT4OiTc 23bw8xPQI9RljUtexAUEEr2k8GvnwB0PwOyM16l5GnvqCX00pgfh2GEoChGZqSs2Bk7X vWt6IQ9GnIQSUhzTavAD0VQwMklRRFHgmgzDCq3uC6xwCL1/Yz51qa2ahMXrwm9X2egd 2gTHqAcVoVg7ZRYWGSe5tuByzt+fFG55fS0apV113qz/p4TosvOhiAgAijxC3//MtJeB IzBdxWAqU2Aj4QpY6YVqJpFFUSZYplAb0rtBasjjQ6J7mtGcYfCzZ36Qe/IEyDIlJ9ww VIcw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:from:subject:references :mime-version:message-id:in-reply-to:date:dkim-signature; bh=llCpE/mG94XbxehHcS3fpQs9KrEDWRDGRcAjU8ExJ4U=; b=p1jSQErWKPyceVCyvUmR4rSujVbhAbsxR+bOqJNwa+WaK2ZgVPFcQxTl56tvrKAVUc 94Uf3w9kAbawGnWvLzugkrT/6qp438bilxbv9Nyx9v3DnZlz+Vmbu7uMQeATbma5gmL9 8imoJbBcnSybcWKU2UFfeEXUnMTcd4YUXqPIknQ6xf1Yav59DV0k3bi4BzFFfLxLEWKO graCtPJwCr7EnwsL0yMyEu1Ht4h1f4IuixJNzhTP/2/TmNTB3/DZKm8hpZNnBUwzqoBI arnsQNvhJrUA6cH97sfVFSsD7HqaaIDBHeP23pjH0jAf/M+MNVOgK0vb+YuBCNaLg1lv 51Rg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=pyJh3p8R; 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 g7si1145518ots.270.2020.04.01.10.39.05; Wed, 01 Apr 2020 10:39:19 -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=pyJh3p8R; 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 S1732376AbgDARfT (ORCPT + 99 others); Wed, 1 Apr 2020 13:35:19 -0400 Received: from mail-pj1-f73.google.com ([209.85.216.73]:44948 "EHLO mail-pj1-f73.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732179AbgDARfT (ORCPT ); Wed, 1 Apr 2020 13:35:19 -0400 Received: by mail-pj1-f73.google.com with SMTP id t7so682876pjb.9 for ; Wed, 01 Apr 2020 10:35:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=date:in-reply-to:message-id:mime-version:references:subject:from:to :cc; bh=llCpE/mG94XbxehHcS3fpQs9KrEDWRDGRcAjU8ExJ4U=; b=pyJh3p8RNFxDvJu+8EyOfw0HwzsQdsKrm1/g59jSqy3qBfZYhOVFUSj2vHGn0RxbBr CZ921nfgLnwQcGXqh2nSa8URFicaU26aZjpXA59A79Erkmi3SxtxSFNayBBJ3axdaVF8 +FBufOynExC0/8Dx9l+nIO4C43a7imucMwVElT50ASuSOzVpF9i2fEeHE29vzdnP3iIC 6dhjx/a2Kw6UsLtEa7Dh1pmxz1gcQqVJMcAA2qfUxRfaGII3HpaYHx77bp91xj7Vb/G9 efL7biRNwPDgPqWp+W65Clg9EkyL/ojnsZ8r2SJFULs8QbExqfdyvZFCByfo+JUUu7y7 HJow== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:in-reply-to:message-id:mime-version :references:subject:from:to:cc; bh=llCpE/mG94XbxehHcS3fpQs9KrEDWRDGRcAjU8ExJ4U=; b=tz1v2ix2eU//S8abbVr0bsh8u7OFRCKtLBJwf4yycpjZ+H7zxy/cGAqxlc3WwINSM/ 12DCtasuWZmXk5Cr848rMzNoHG3nqUtuvs26S23mtTVcgssx8WynYm/1CiY3WMwoaphH eSTpIHis8ajj3My7TTPPUzZosN9dgKUNhAvDpAcVDSpz7pk/dl3wyNFt4cUQw4Fc6rZV o6X/Dd56drVNZ8mkJCxoLbYTeNVQ5E7QghVA7Qj/s5dsj8Y7Mm9cphSEOPsw8TfuC4cd rb7EOMkaXIEp/HCY5zFeovqiuasRyKOUvY621+frWjEY7WVj00KigrEiT4GOvAceaJIh /Qog== X-Gm-Message-State: AGi0PuYuMCvxkjZu0lEitZ4aWWb7Z6wSMMll8f+KPWD6sKhuxfsi4+YW 0Nxn94Q9u5HDmJqUI8zKJ3gFE2Eu+b+cO5fIo9Q= X-Received: by 2002:a17:90a:bf03:: with SMTP id c3mr6413183pjs.12.1585762517679; Wed, 01 Apr 2020 10:35:17 -0700 (PDT) Date: Wed, 1 Apr 2020 10:35:15 -0700 In-Reply-To: <20200311024240.26834-1-elder@linaro.org> Message-Id: <20200401173515.142249-1-ndesaulniers@google.com> Mime-Version: 1.0 References: <20200311024240.26834-1-elder@linaro.org> X-Mailer: git-send-email 2.26.0.rc2.310.g2932bb562d-goog Subject: Re: [PATCH v3] bitfield.h: add FIELD_MAX() and field_max() From: Nick Desaulniers To: elder@linaro.org Cc: arnd@arndb.de, bjorn.andersson@linaro.org, davem@davemloft.net, johannes@sipsolutions.net, kuba@kernel.org, linux-kernel@vger.kernel.org, masahiroy@kernel.org, natechancellor@gmail.com, netdev@vger.kernel.org, viro@zeniv.linux.org.uk 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 > 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