Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp1291807ybg; Fri, 18 Oct 2019 15:19:37 -0700 (PDT) X-Google-Smtp-Source: APXvYqxKH511u6lLKHhslu/dm+Ry1kV/oIoud393sYcY1No0m0KwBrFZ9K5qdpA8AnWv+Bl34vWj X-Received: by 2002:a17:906:76c9:: with SMTP id q9mr10914370ejn.53.1571437177354; Fri, 18 Oct 2019 15:19:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571437177; cv=none; d=google.com; s=arc-20160816; b=Nt9bJMIc95CRLjzCJ+8mhiO8OGESNsN6bNXhoYcfXDF4DQmBUPxIgifh2p01tG36Ev FfVfFItwX4YfcyswMZI59+3etZt1bGrAOHz9sZYjGHt6N63brTgeFtnX6rz06s/BqXG/ qZ46hEi1F67vbqplSiyWisvttzArvz7JCJnJIbUwPK0DOKzSQ+teEbH5ZmMqmiOJzhi7 kwlSCrbcoFbLhzUEi1aWzj/zDyngaKpSx7OweyxA8PO51wYcWwU+mwT11OjxYzDdiS5c DeEtCvdFHNCuHP+Bzca2InZ2J6Gw4qg+sDfdiUdi6v0lD7fwN9MAysvlmXoEwrVG8EvP ZCCw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:date:user-agent:subject:cc:to:from :references:in-reply-to:content-transfer-encoding:mime-version :message-id:dkim-signature; bh=gx3DSxvx8ltZUKzpBMBDSoOp0YvfoQmYP1b2jQLzjTA=; b=SILnUqpXdKUWWffFRqpAWh3sjicCmEha4jGyHNS75Tco+Kbu6kSsp6bkTPFzS9IbiC E/TBh6mLrii6NTIfRFsZCQhyWWdjb9cfPzBCDuSAvbiz+8A5+M4vdoYE/Wk3Rv5Et6J8 0VW8RAXwwgeRvQWqoM3PkiyuB8ixj4/HTatsRP8W7L8vBJFqBoiYa93OlMPwP/nbAWhT aOX3fx0w2BVag36oe9LW9v5A+JfWTy2yfw+h6tlTuw4LB7i7hVUGL8MOXh+2hBkPjwFg DzTI0Ww7GC7fWdZnZDWUFM5zQyqzghEhjq5BOZNSMeF1aromGquQKgThf1oUAwB80Pj5 toGA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=LyDa0ifV; 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=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id qq19si4259401ejb.85.2019.10.18.15.19.14; Fri, 18 Oct 2019 15:19:37 -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=@chromium.org header.s=google header.b=LyDa0ifV; 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=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2394942AbfJQUsK (ORCPT + 99 others); Thu, 17 Oct 2019 16:48:10 -0400 Received: from mail-pg1-f196.google.com ([209.85.215.196]:46823 "EHLO mail-pg1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728420AbfJQUsJ (ORCPT ); Thu, 17 Oct 2019 16:48:09 -0400 Received: by mail-pg1-f196.google.com with SMTP id e15so2006718pgu.13 for ; Thu, 17 Oct 2019 13:48:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=message-id:mime-version:content-transfer-encoding:in-reply-to :references:from:to:cc:subject:user-agent:date; bh=gx3DSxvx8ltZUKzpBMBDSoOp0YvfoQmYP1b2jQLzjTA=; b=LyDa0ifVkL7+cRQNqU4ahaZLAGNiBCG/A79JhFoz/TB2ib8zIIK/XQtdy+aseHDQDV AI0T254tfPYqcV5PK+RSNavvydgC04gJCgKSlg4fCdL4DsFkCYLHReAjCu+5OOR8yQao hwnAEOLSelUCfBqxKCYO2Holpza4y+F5VNbEc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:mime-version :content-transfer-encoding:in-reply-to:references:from:to:cc:subject :user-agent:date; bh=gx3DSxvx8ltZUKzpBMBDSoOp0YvfoQmYP1b2jQLzjTA=; b=V0oYAceKYtubn/7frAeCLjb+BFA8OE4vDrDBo8ZIRBgeKMI5vjTfjneV2lPzVlNq6m OwuiQm8ymtBhOoDdRnmoeSb0uMICb/fHRJ4Sp6GLynjsnk7DfQz2te1y0cqzNBeChXBk Gp4wJ4kpWJFDetVjQiur7SrUaZIdhKGVAfLE+oWpDYyrYqPCuQyg5CL9NsL3Vi7op0YZ ccUrSOuRlk1m+8P/WspLFSmvyAVBmXaF/PZMOkNJDHlXHkPxQvsIDem8g3V0OSmlGAQX iMV21ZVysXJmURYCHHiT7QJ2zZ01sSfSGhCSkX9UmA1aMd9F6C1pQsLOQxSqatQWkMKV tCDA== X-Gm-Message-State: APjAAAWuJxlv3jHnBzqE65AHhcKVpyzu7VZtcz5LjmPJPL2R47n5urZE HT63lpgVI/6+Fdii70O1kDL5gQ== X-Received: by 2002:a63:d757:: with SMTP id w23mr5839776pgi.19.1571345287356; Thu, 17 Oct 2019 13:48:07 -0700 (PDT) Received: from chromium.org ([2620:15c:202:1:fa53:7765:582b:82b9]) by smtp.gmail.com with ESMTPSA id w134sm3979527pfd.4.2019.10.17.13.48.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 17 Oct 2019 13:48:06 -0700 (PDT) Message-ID: <5da8d386.1c69fb81.4cb85.a19a@mx.google.com> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable In-Reply-To: References: <20191004214334.149976-1-swboyd@chromium.org> <20191004214334.149976-11-swboyd@chromium.org> <6ce47827-55e4-dd15-6a05-f25a2f8a8bb7@gmail.com> From: Stephen Boyd To: Rob Herring Cc: "linux-kernel@vger.kernel.org" , Arnd Bergmann , Geert Uytterhoeven , Frank Rowand Subject: Re: [PATCH 10/10] of/device: Don't NULLify match table in of_match_device() with CONFIG_OF=n User-Agent: alot/0.8.1 Date: Thu, 17 Oct 2019 13:48:06 -0700 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Quoting Rob Herring (2019-10-17 13:24:23) > On Thu, Oct 17, 2019 at 12:48 PM Frank Rowand wr= ote: > > > > On 10/04/2019 16:43, Stephen Boyd wrote: > > > This effectively reverts 1db73ae39a97 ("of/device: Nullify match table > > > in of_match_device() for CONFIG_OF=3Dn") because that commit makes it= more > > > surprising to users of this API that the arguments may never be > > > referenced by any code. This is because the pre-processor will replace > > > the argument with NULL and then the match table will be left unrefere= nced > > > by any code but the compiler optimizer doesn't know to drop it. This = can > > > lead to compilers warning that match tables are unused, when we really > > > want to pass the match table to the API but have the compiler see that > > > it's all inlined and not used and then drop the match table while > > > silencing the warning. We're being too smart here and not giving the > > > compiler the chance to do dead code elimination. > > > > > > Cc: Arnd Bergmann > > > Cc: Geert Uytterhoeven > > > Cc: Rob Herring > > > Cc: Frank Rowand > > > Signed-off-by: Stephen Boyd > > > --- > > > > > > Please ack or pick for immediate merge so the last patch can be merge= d. >=20 > As this one is the last patch, I guess you don't want it picked up by its= elf. >=20 > It seems everyone has acked rather than applying. Do you want me to > take the series? >=20 It would be great if you could take the series. Mark applied the ASoC and spi patches. I guess you can try to see if those merged into mainline and then base on top, or just apply the same patches on your tree and let the duplicates drop out in the merge path.