Received: by 2002:a05:6358:700f:b0:131:369:b2a3 with SMTP id 15csp1103931rwo; Wed, 2 Aug 2023 08:46:26 -0700 (PDT) X-Google-Smtp-Source: APBJJlF655ydtlYDwTKv4eaApmhYd68xlZme/7dN1bOK0SfFJUl4IcuuIil7iw7PQ7XKkwlLD0S/ X-Received: by 2002:a17:907:6e04:b0:99c:10b5:7650 with SMTP id sd4-20020a1709076e0400b0099c10b57650mr7910197ejc.1.1690991185930; Wed, 02 Aug 2023 08:46:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690991185; cv=none; d=google.com; s=arc-20160816; b=Qxnb0b6xdjIvGAA8nAdpPz9IL3Ppwkm+6/o5ACfILKhBmLCssHimmlQfwu5PnHsDJR eH4AN7V6V2E9Goourz07ZMxCIi3VhWtNsoaSSvAkT3JAp6MEqgSGKI8d7boSqh3cyU8T R+7vobnZ5wpxAgVmZutoZfBOiQp33WMkQwMHBWdR3viVao8S/yN2zlIprd2XSr37bji6 Qeee6HMG6YJj7KrMRyW0eUgY9KzlxbaQ9ewbaepkcsIrJBOnjq10T94frV1Iz1W4hsw6 dL2F97CyJiPplXq4k+GeP3Hy4w4iEpKJs+Eq4ZZUwOPsgK+oYkTVcIUxJKTRJIiLflH+ saVw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=CG/1niNkvQnFKY0Nb52FXwSkYtV5RgqG0BYmB+t2rnc=; fh=RAapME1rPULNilX2rFjMna7OKBtUxCEOI8i+0BCEzpk=; b=x8Wuw8u1gouUmmEuQfxc3aIc3oS9sTX5q+6zZtc8r2z94u1LQAL81BKacujNkjQly4 VK2/rktONew6KJ5aP4lHlXb/ckM1V2qpKDZLNzqeU4YI3HNKdWE8CBSHEwPwuTBgEX9S bCKU1ra2zocvRDzc+Qwkt7uFPEQXUZCK4MxI4i246QHXtYzfm9O3fORGL4hpYFoyUG7G 1DboG5UAe+iwT+4hzcpBQ2zkrpqs3Y+4Zi7aLD0GtlZS1qQdB0cqTRaT311L/u7wOI3z TWC2QUjdbwrvyxt9J/FFNtRXU+k7K6M5kCvtK5/40Pz1DnDQ/ex4OBna34TfaRiw2A3k RnPQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=mwgmhFv2; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k13-20020a170906970d00b009889d31227fsi9688538ejx.588.2023.08.02.08.45.39; Wed, 02 Aug 2023 08:46:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=mwgmhFv2; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S232177AbjHBORL (ORCPT + 99 others); Wed, 2 Aug 2023 10:17:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55892 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231479AbjHBORJ (ORCPT ); Wed, 2 Aug 2023 10:17:09 -0400 Received: from mail-ej1-x636.google.com (mail-ej1-x636.google.com [IPv6:2a00:1450:4864:20::636]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 52A462685 for ; Wed, 2 Aug 2023 07:17:08 -0700 (PDT) Received: by mail-ej1-x636.google.com with SMTP id a640c23a62f3a-99bc9e3cbf1so223038966b.0 for ; Wed, 02 Aug 2023 07:17:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1690985825; x=1691590625; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=CG/1niNkvQnFKY0Nb52FXwSkYtV5RgqG0BYmB+t2rnc=; b=mwgmhFv289OQ8WPTHEsEtjsDZpaB8HO+yAVItLo0jLvWaCgO+nrT/W2P2lSh1GZ/mf 7khAcZZVsekUWSqBpTZPnSRhydGPVrC4ttw6+LdIP0KJL2TnrdhjQ3fUBOl1XQo858QI YnA+s/xHdzIErq9PNk0D2vDCiG43ss4PsHAAk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690985825; x=1691590625; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=CG/1niNkvQnFKY0Nb52FXwSkYtV5RgqG0BYmB+t2rnc=; b=ADP4QcCQRUZI1kUOfyviBsuopdZ9VqCW/TrIUGToq78Na9/qRRvnoNoUaQdda8Eb8Y ZVfzeu5SHdMubHKKVGdGyLJ90NdDeSDu7vrdgPBdf3SJkQyUZgSQNNSO4UgLIokQ1gAj maLW14bbL2B0l8Wfmq3qfZBQZehFbACiNTP15UHmBXx//rzU1iRHsK97jxaHml/0buqg BWaHhueN5kiAF3n6whBg3ZXoNvX+KUKFenoFhxkCi6nLc2V6yydSPPsQFrK5/9G1jsop i547UWI0i3ch41Mljdj/lUwZvBrvgAQt9YfVOBmh3NjSsqFK9sMYRFh1MF/BDMtjlM2S j7FQ== X-Gm-Message-State: ABy/qLaxD8ot6n/Ezhva39+rXB3bCp3v7oB88olXIACtx78qywS+cVti +A+RJT7Y4x4eOJuLyVa61znkVprNNN/siTW2J8zwNI4v X-Received: by 2002:a17:907:78c8:b0:992:ef60:aadd with SMTP id kv8-20020a17090778c800b00992ef60aaddmr7263283ejc.13.1690985825107; Wed, 02 Aug 2023 07:17:05 -0700 (PDT) Received: from mail-wm1-f48.google.com (mail-wm1-f48.google.com. [209.85.128.48]) by smtp.gmail.com with ESMTPSA id f5-20020a1709064dc500b0098f33157e7dsm9200822ejw.82.2023.08.02.07.17.04 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 02 Aug 2023 07:17:04 -0700 (PDT) Received: by mail-wm1-f48.google.com with SMTP id 5b1f17b1804b1-3fe32ec7201so54455e9.1 for ; Wed, 02 Aug 2023 07:17:04 -0700 (PDT) X-Received: by 2002:a05:600c:880f:b0:3f6:f4b:d4a6 with SMTP id gy15-20020a05600c880f00b003f60f4bd4a6mr359654wmb.7.1690985823938; Wed, 02 Aug 2023 07:17:03 -0700 (PDT) MIME-Version: 1.0 References: <20230802124947.1355415-1-arnd@kernel.org> In-Reply-To: <20230802124947.1355415-1-arnd@kernel.org> From: Doug Anderson Date: Wed, 2 Aug 2023 07:16:51 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] HID: i2c-hid: add more DRM dependencies To: Arnd Bergmann Cc: Jiri Kosina , Benjamin Tissoires , Maxime Ripard , Arnd Bergmann , Hans de Goede , linux-input@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On Wed, Aug 2, 2023 at 5:49=E2=80=AFAM Arnd Bergmann wrot= e: > > From: Arnd Bergmann > > When a symbol is selected that has extra dependencies, > anything that selects it must have the same dependencies. > With the added CONFIG_DRM reference from I2C_HID_CORE, > this broke a couple of drivers that now also depend > on DRM: > > WARNING: unmet direct dependencies detected for I2C_HID_CORE > Depends on [m]: HID_SUPPORT [=3Dy] && I2C_HID [=3Dy] && (DRM [=3Dm] || = !DRM [=3Dm]) > Selected by [y]: > - I2C_HID_OF [=3Dy] && HID_SUPPORT [=3Dy] && I2C_HID [=3Dy] > - I2C_HID_ACPI [=3Dy] && HID_SUPPORT [=3Dy] && I2C_HID [=3Dy] && ACPI [= =3Dy] > - I2C_HID_OF_GOODIX [=3Dy] && HID_SUPPORT [=3Dy] && I2C_HID [=3Dy] && O= F [=3Dy] > x86_64-linux-ld: vmlinux.o: in function `i2c_hid_core_remove': > (.text+0xfc8826): undefined reference to `drm_panel_remove_follower' > x86_64-linux-ld: vmlinux.o: in function `i2c_hid_core_probe': > (.text+0xfc8da0): undefined reference to `drm_is_panel_follower' > > Add the corresponding DRM||!DRM dependencies on each one that > is affected. > > Fixes: 96a37bfd232ae ("HID: i2c-hid: Support being a panel follower") > Signed-off-by: Arnd Bergmann > --- > drivers/hid/i2c-hid/Kconfig | 4 ++++ > 1 file changed, 4 insertions(+) This makes sense. Thanks for the fix! I'm happy to land this in drm-misc-next (where the original patch landed), but I'd prefer an Ack from Benjamin first, if possible. If this is still outstanding tomorrow I'll land it anyway since it's a small fix and he Acked the commit that this is fixing. Reviewed-by: Douglas Anderson -Doug