Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp2406323ybi; Thu, 18 Jul 2019 07:57:03 -0700 (PDT) X-Google-Smtp-Source: APXvYqxUn77ejOv7a8WoVT39VAbQNkWaGxavf4xpbqlo4O3epdLIuL+qcFhxhH81pQlbMuvP82c/ X-Received: by 2002:a17:902:900a:: with SMTP id a10mr51203451plp.281.1563461823220; Thu, 18 Jul 2019 07:57:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563461823; cv=none; d=google.com; s=arc-20160816; b=yOWYWGwh4TLDDAunz9nVaq0U+I2LFLl9nNmt6+u35KABEC0wDgl1OpfLIWLs6GwjKY 1Q+7pAwtHr8KGgRKDyyzt3LLbB4/glWmhhS/so+yIpchE9hVddb43OyLmMH4CN+e2vel l3AlMsfZcfPedql4FW//elJYOSD1Q5mwJe7r4dFsBV/wb36GK2KWOdhrfpT+TKJ7W+ob wv57hpg66DzwGR22i1sFZ+cR3urxU4RiUPyjm3WwKEz9yM8M6/8CakWME8R7q2a1nUdf xhSX0YfSxCbonN32GWq/WRo6PrwW3tcoGOe2Csxc+NbCB8bD/Y5G1ip37B3uLM27Mupv C1MA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:cms-type:content-language :content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:from:cc:to:subject:dkim-signature:dkim-filter; bh=BWVW0fKTFihsP0lM43tVLHndB+z6WqLVgsWkRd4FhEM=; b=oi1TJKV2NdE09BwBFEitFn5dCqHYSIE3QNr8CJLnKH2Ts8TGXbNRRSJRzPxrU1RLck qUYFfpQxKNJggM7s9glBrQTSdy9z4na6aJmvlIyZqeEk8QJv1SlVGwtUs89wtT739KUj Eu2kMRpQnYP75Dl7j8ot4W373wz7hD7hx5VOTQP6YlF90cv/nxXm5XbUt6yMmO9V74sH YT9a3f9cNI+xVZjf2zRFtBwoSgT5VmcmwhWL68pjMqEDV/n+9XsXqREat9HTonI5tn3L h+BqLstUkpYVshASxt2qNg/1QWuBnEUJCkHD05vIOEwuTh/KpPPmIGKnrXwfXeoHj0Rv OaKw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=hTEl5gPJ; 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=samsung.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x9si1290296plv.182.2019.07.18.07.56.47; Thu, 18 Jul 2019 07:57:03 -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=@samsung.com header.s=mail20170921 header.b=hTEl5gPJ; 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=samsung.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2390636AbfGRO4B (ORCPT + 99 others); Thu, 18 Jul 2019 10:56:01 -0400 Received: from mailout2.w1.samsung.com ([210.118.77.12]:60530 "EHLO mailout2.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726513AbfGRO4A (ORCPT ); Thu, 18 Jul 2019 10:56:00 -0400 Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20190718145558euoutp02b916395886e575e85e364e1700923690~yiC_bS8ZT1224712247euoutp02N for ; Thu, 18 Jul 2019 14:55:58 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20190718145558euoutp02b916395886e575e85e364e1700923690~yiC_bS8ZT1224712247euoutp02N DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1563461758; bh=BWVW0fKTFihsP0lM43tVLHndB+z6WqLVgsWkRd4FhEM=; h=Subject:To:Cc:From:Date:In-Reply-To:References:From; b=hTEl5gPJFS8KPlF28walMtHkRYMldjDqLXaC94OnkYQaKKNyeTlGxX5EADnRHCB3u bjUPOi4ePV6c15r/tSiLCmsa8b3nfipf7oA6NnNsZl04iIsiARR9lOYpavSgCzqVBD n3ATy9iHi2mNKWnwiRZMfA1andWJkHpH3Z7I9md0= Received: from eusmges1new.samsung.com (unknown [203.254.199.242]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20190718145557eucas1p110f12b7f20e86ba9ffa81dbf6ccb2f3b~yiC9vjnAF1109211092eucas1p1E; Thu, 18 Jul 2019 14:55:57 +0000 (GMT) Received: from eucas1p2.samsung.com ( [182.198.249.207]) by eusmges1new.samsung.com (EUCPMTA) with SMTP id AD.B8.04298.D78803D5; Thu, 18 Jul 2019 15:55:57 +0100 (BST) Received: from eusmtrp2.samsung.com (unknown [182.198.249.139]) by eucas1p1.samsung.com (KnoxPortal) with ESMTPA id 20190718145557eucas1p15a48800d76400fa564f5e153212c010d~yiC9IKDYm1366213662eucas1p1I; Thu, 18 Jul 2019 14:55:57 +0000 (GMT) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eusmtrp2.samsung.com (KnoxPortal) with ESMTP id 20190718145557eusmtrp2f5d1c3349bcbf8d88cb3306d5f7c67fe~yiC86EM231858018580eusmtrp2k; Thu, 18 Jul 2019 14:55:57 +0000 (GMT) X-AuditID: cbfec7f2-f13ff700000010ca-66-5d30887d22fb Received: from eusmtip2.samsung.com ( [203.254.199.222]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id EE.79.04140.C78803D5; Thu, 18 Jul 2019 15:55:57 +0100 (BST) Received: from [106.120.51.74] (unknown [106.120.51.74]) by eusmtip2.samsung.com (KnoxPortal) with ESMTPA id 20190718145556eusmtip29fbe69b16a5dbc623a31d5527f3093e7~yiC8cM-g63238732387eusmtip2A; Thu, 18 Jul 2019 14:55:56 +0000 (GMT) Subject: Re: [PATCH] drm/bridge: fix RC_CORE dependency To: Arnd Bergmann Cc: David Airlie , Daniel Vetter , =?UTF-8?Q?Ronald_Tschal=c3=a4r?= , Dmitry Torokhov , Laurent Pinchart , Sean Paul , dri-devel , Linux Kernel Mailing List From: Andrzej Hajda Message-ID: <7da08013-5ee0-1c39-e16b-8b6843a28381@samsung.com> Date: Thu, 18 Jul 2019 16:55:55 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.0 MIME-Version: 1.0 In-Reply-To: Content-Transfer-Encoding: 7bit Content-Language: en-US X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrOKsWRmVeSWpSXmKPExsWy7djP87q1HQaxBhfOa1v0njvJZPF30jF2 i//bJjJbHF70gtHiytf3bBadE5ewW1zeNYfN4sW9t0wWdycfYXTg9Pj9axKjx95vC1g8ds66 y+4xu2Mmq8eUTgmP7d8esHrc7z7O5HF81y12j8+b5AI4o7hsUlJzMstSi/TtErgyfnxtZCtY yFPxa8Nv5gbGiVxdjBwcEgImEkdeyHYxcnEICaxglHj8bQ4jhPOFUeLp0RPsEM5nRonWgxtY YTqmnTeGiC9nlFg5q4kJwnnLKLHu9l6gdk4OYQFziV2zH7GC2CICihJTXzxjBiliFnjHJPFm UhcTSIJNQFPi7+abbCA2r4CdRPP332BxFgFViZU3P4HFRQXCJH4u6ISqEZQ4OfMJC4jNKRAo cevSerAFzALyEtvfzmGGsMUlbj2ZD3aRhMAjdompd+eBXSQh4CKx7fVhNghbWOLV8S3sELaM xP+d85kg7HqJ+ytamCGaOxgltm7YyQyRsJY4fPwi2P/MQFev36UPEXaUOHt3DQskWPgkbrwV hLiBT2LStunMEGFeiY42IYhqRYn7Z7dCDRSXWHrhK9sERqVZSD6bheS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Y3NjMwslcd4OgYMxQgLpiSWp2ampBalFMH1M HJxSDYwbpSptbmiq8VX9ed877+LmYJmZp3VfWurah++eVVn1//kzBsuO8z4nN+27839it17c /niDTc7ikR5R8qevl7A9OuM0PXzPnofWbQUTT8X9S14+N42fa0LfDq3l2e942jcnfyzlir82 vfZjZVb0sV7d3iUGuz78qU6N3FrxPXD2/Hk/z8UcWThDiaU4I9FQi7moOBEAqD0GN+sCAAA= X-CMS-MailID: 20190718145557eucas1p15a48800d76400fa564f5e153212c010d X-Msg-Generator: CA Content-Type: text/plain; charset="utf-8" X-RootMTR: 20190718134253epcas3p32a5afece52c47aaac0cd5795ff4cf022 X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20190718134253epcas3p32a5afece52c47aaac0cd5795ff4cf022 References: <20190718134240.2265724-1-arnd@arndb.de> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 18.07.2019 16:21, Arnd Bergmann wrote: > 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? Ups, you are right, I though you are fixing what this patch attempted to fix :) Anyway, we want to avoid dependency on RC_CORE - this driver does not require it, but with RC_CORE it has additional features. Maybe "imply INPUT" would help? Regards Andrzej > > Arnd >