Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp2370484ybi; Thu, 18 Jul 2019 07:23:21 -0700 (PDT) X-Google-Smtp-Source: APXvYqxTYvcrcHCHxHkwnnXLZr4OECuvwd1tvUo92v6z/cJzvarMdlJ489bUTc3llnHFWdBCT9us X-Received: by 2002:a63:4f51:: with SMTP id p17mr24350088pgl.333.1563459800952; Thu, 18 Jul 2019 07:23:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563459800; cv=none; d=google.com; s=arc-20160816; b=ysls6EsbTFZBZ+FYRBYe08vrWRIleXQ5GIt1CQYvdXCmO1sai2vlSNnL3x3V66fJJQ cTIOfyeGurihK8wyMzgiow1ocTJLdBU3JOv+k0SNULtaXZlhE6RPQ8cm0cpe8bD0lOhg 3GaMaQuwPNSedbt24fsAs/i4GvoYYp1ZdQRgjImMn0AEtGERiUUPHKT9BLwFImBkYqJo Lq1AqtWVkHT/MM3lUBS2OEHfuJXBEgU232H9x25RUiWB/roqTfV9nt1zKvxkZDkAQbMc iHb/IDLBFXgEwEjveJRCRiDFHHWHiAlI/IiHrdRNdBN5ohjtTxjBbyJ1sF4QgL7y63Ad lPcA== 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; bh=KJSn3w0n1j2YNOpQyI6dRVDfYepa6cxkjB5g4haixAc=; b=U4pobKnSzUsUTMStb4hb+aUTMPYVj2u9qgNZLgFQEbF6pSWzfhQrOTtCIxzwx/3MNK OPptA1UsEZqISB4sB7gn6wudGStl0egvw4LGn/xhr8OvCjKSdWr17o48PW/pxuNR7ht5 HxxT8+XjCsQWsmMUNPlutIHo0TE9hbcW6oJyD11IipuSuC16zHsBOpicfs+cWr6s7tXR 0oSqjsiG24w6Euq+MmzUk6julliEexotcSnYMMmF8mH1Hej9vgyaFoyqSmuRJ+4Tj2za UARflqnWUhJZmiLYqyi/WxeBSzWo8hLo3faTQUx0joGlpfazmcSxaJjgG05SGC3AYqrF CuSg== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k4si439030pgq.293.2019.07.18.07.23.04; Thu, 18 Jul 2019 07:23:20 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2390581AbfGROV3 (ORCPT + 99 others); Thu, 18 Jul 2019 10:21:29 -0400 Received: from mail-qt1-f195.google.com ([209.85.160.195]:41554 "EHLO mail-qt1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2390350AbfGROV3 (ORCPT ); Thu, 18 Jul 2019 10:21:29 -0400 Received: by mail-qt1-f195.google.com with SMTP id d17so27293134qtj.8 for ; Thu, 18 Jul 2019 07:21:29 -0700 (PDT) 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=KJSn3w0n1j2YNOpQyI6dRVDfYepa6cxkjB5g4haixAc=; b=eZwT6b2RrUdS0CxzfQ/6RHCKYADIChLwEPneob9Eun2nYxkMFHuhGsO2XgbqwTrE53 FhnHOnQbUHKoHPB6lmdF/yWp/rYEH8msnDT3T0Ea9pXWWjgGs2fOdn4uS8xR7C17mf1+ +9wV8Zj0/nUJGwwgyQhli+d79W+HY1i2z6KEYOnhYmPBdA43AHRLYCMfMslDLUNvWuH+ ++x2SjiWSJTAKyOZTCDYQcMFXqP0y0kDqOhmZ3DnX+dnr6ePiwTzBVooR3OKbvA24Y6V qQIERa2euY4K7Wdwi5regi8mErNBPKBz4dmVCpjGG0NEvm0rfnInkLdHs2r2ddzwJUMH clmQ== X-Gm-Message-State: APjAAAVlyXa4IESWIU+vfkydDNniRTdLsu218M+otP1mThF+TVOGg4Cl 9VLrlWLlt6vteLh9HqcMhVXrfjAUZvhaDlfsd7k= X-Received: by 2002:a0c:b88e:: with SMTP id y14mr31941430qvf.93.1563459688451; Thu, 18 Jul 2019 07:21:28 -0700 (PDT) MIME-Version: 1.0 References: <20190718134240.2265724-1-arnd@arndb.de> In-Reply-To: From: Arnd Bergmann Date: Thu, 18 Jul 2019 16:21:11 +0200 Message-ID: Subject: Re: [PATCH] drm/bridge: fix RC_CORE dependency To: Andrzej Hajda Cc: David Airlie , Daniel Vetter , =?UTF-8?Q?Ronald_Tschal=C3=A4r?= , Dmitry Torokhov , Laurent Pinchart , Sean Paul , dri-devel , 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, Jul 18, 2019 at 4:16 PM Andrzej Hajda wrote: > > Hi Arnd, > > On 18.07.2019 15:42, Arnd Bergmann wrote: > > Using 'imply' causes a new problem, as it allows the case of > > CONFIG_INPUT=m with RC_CORE=y, which fails to link: > > > > drivers/media/rc/rc-main.o: In function `ir_do_keyup': > > rc-main.c:(.text+0x2b4): undefined reference to `input_event' > > drivers/media/rc/rc-main.o: In function `rc_repeat': > > rc-main.c:(.text+0x350): undefined reference to `input_event' > > drivers/media/rc/rc-main.o: In function `rc_allocate_device': > > rc-main.c:(.text+0x90c): undefined reference to `input_allocate_device' > > > > Add a 'depends on' that allows building both with and without > > CONFIG_RC_CORE, but disallows combinations that don't link. > > > > Fixes: 5023cf32210d ("drm/bridge: make remote control optional") > > Signed-off-by: Arnd Bergmann > > > Proper solution has been already merged via input tree[1]. > > > [1]: > https://lore.kernel.org/lkml/CAKdAkRTGXNbUsuKASNGLfwUwC7Asod9K5baYLPWPU7EX-42-yA@mail.gmail.com/ At that link, I only see the patch that caused the regression, not the solution. Are you sure it's fixed? Arnd