Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp830371rwd; Thu, 8 Jun 2023 08:16:54 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5dZOX43nDhjw0h0K4E694CvLxh9jOaC0UlEtn1BEcW1wT2uhZ9PvC9VQ5sQF++kTp80nVg X-Received: by 2002:a05:6a21:3285:b0:10b:6e18:b690 with SMTP id yt5-20020a056a21328500b0010b6e18b690mr5667284pzb.32.1686237414424; Thu, 08 Jun 2023 08:16:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686237414; cv=none; d=google.com; s=arc-20160816; b=P20gzN7h/fMK1Fqq8bfB0tToDAEfvLkO2KhS7YGepbYUXAuVGbT0vXd4LPNWLkw9pp nIxsVkkuU2M+VYEKNmRs9HBGDZEcL5BBHAVOn1ehvWETx8SOskXQnpgrTUe+JQHejwxf 8Tpd36K+tg5akvdmACxVrJYkz3nGJRybfxke4xspoayQ3AKyq4JjypzxQIhBx46arS9s qF8Zg5+dYB+AyY3gYYJjDwJni7yfAKinrbqEzxKHjE+A9DIWgOVf47oeQWzOqlVsOMxG gu+Eq5+6J6KzgL8VH22gBqDCrFrsmX+8FJSc70kjCNg/5kgd/5E0tZLMlb1IMKdztJTZ RGvQ== 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=XKYIY8lnLeesFrrYGM6yGBBcxp2DdDvQNqXJ/GPrn+0=; b=c8nRGjR6HgultD3t/uVIDW0XokZlsqYSrVmMcEMcDVe03pz+BXZbv9jQdoi2fkfzZX YyXnzGKhMMaLawhMgSu1pIiBl4vwCl3wLH3E0wDj1M/GEcpbwHKzRZb866qxMF4DXFSF JhNejYwQp7+7cMfW3zBYmFxuNnaczuO+C/eZms0he+NuhYi1BpPdCKXjKnSIPBkFkK2j q3R+ZnQxwFzI4seB9y5RnF8Expls+glEewKWSdAQyGhAnC6o3VUVbI3HIXw9Ebe/SQTm /IaSJ37lQMSNeZy/q35OXxVxfV9GnOIdVikYQ8/lLg8UX3moOsssGyKO4Gkq3fNK7K3a lz3g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=BmAm0rXM; 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 l70-20020a639149000000b00543d32f1d93si1142866pge.657.2023.06.08.08.16.40; Thu, 08 Jun 2023 08:16:54 -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=BmAm0rXM; 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 S236518AbjFHPLX (ORCPT + 99 others); Thu, 8 Jun 2023 11:11:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46968 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236124AbjFHPLR (ORCPT ); Thu, 8 Jun 2023 11:11:17 -0400 Received: from mail-oi1-x236.google.com (mail-oi1-x236.google.com [IPv6:2607:f8b0:4864:20::236]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2C4CB2D65 for ; Thu, 8 Jun 2023 08:11:15 -0700 (PDT) Received: by mail-oi1-x236.google.com with SMTP id 5614622812f47-392116b8f31so486563b6e.2 for ; Thu, 08 Jun 2023 08:11:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1686237073; x=1688829073; 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=XKYIY8lnLeesFrrYGM6yGBBcxp2DdDvQNqXJ/GPrn+0=; b=BmAm0rXM4KZbTYym0HXYlOClgT/zGWm4ze6fwFqXwAqD1ItkmTYBl/+afhC3UDFEZl uuRCKPD6RgfoUkFKIWZwzbDtBFAA1JCrB8QIqhbKWGVLgphLs9tCNZ4dqqMrQJ95EdDS +7AZci3CA88AqfAQL6mijMM679CIZt98Z/tco= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686237073; x=1688829073; 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=XKYIY8lnLeesFrrYGM6yGBBcxp2DdDvQNqXJ/GPrn+0=; b=GwDc9OJaFiqmsYCJxoWr6zBjjr4481DQ3GXrsvSObDcPbmdrMsshNp2TLeXftQuu1n UyXHlv0Nb+/oC7ORBBnJ9jbfnTRvB0xJSOjBzoy6AU+Xn62Qa3k0KdjQjnMXBaVmyWfj pAk4Xq0h1I6RBZjdCwVlmyhBJWGO7qt7wsdzru4D+4D2a5Pwo5bHe5zHwa2Rm2D6MGEo MRN8bJbr4S1Q4ilsuJSAd6JTPslspKrN7JEaNbM/hMnPDtgFS8H7aNE9Rn0XDsXilpEI NeE0Z1X0CN3II0HEOcns8plKZHoDNjZ9ZUUaXEw/75fJgNuhbBRii8OhBRA5gL18DstC duqg== X-Gm-Message-State: AC+VfDz8jlCSXhn1f05duYQimiIGF1JpC8WRckqJo5ICqiWor2UtKKnc iISERj2giHtDIj3QN/ULkRXWEZyOdK8vcHIbDfs= X-Received: by 2002:a05:6808:8:b0:389:4f7b:949d with SMTP id u8-20020a056808000800b003894f7b949dmr6617372oic.22.1686237072970; Thu, 08 Jun 2023 08:11:12 -0700 (PDT) Received: from mail-qt1-f182.google.com (mail-qt1-f182.google.com. [209.85.160.182]) by smtp.gmail.com with ESMTPSA id g29-20020a0caadd000000b0062168714c8fsm448616qvb.120.2023.06.08.08.11.12 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 08 Jun 2023 08:11:12 -0700 (PDT) Received: by mail-qt1-f182.google.com with SMTP id d75a77b69052e-3f9b7de94e7so218691cf.0 for ; Thu, 08 Jun 2023 08:11:12 -0700 (PDT) X-Received: by 2002:a92:c549:0:b0:33d:929c:af67 with SMTP id a9-20020a92c549000000b0033d929caf67mr120694ilj.17.1686237051541; Thu, 08 Jun 2023 08:10:51 -0700 (PDT) MIME-Version: 1.0 References: <20230607144931.v2.8.Ib1a98309c455cd7e26b931c69993d4fba33bbe15@changeid> <202306081419.Dzz0T4iW-lkp@intel.com> In-Reply-To: <202306081419.Dzz0T4iW-lkp@intel.com> From: Doug Anderson Date: Thu, 8 Jun 2023 08:10:39 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v2 08/10] HID: i2c-hid: Support being a panel follower To: kernel test robot Cc: Jiri Kosina , Benjamin Tissoires , Bjorn Andersson , Konrad Dybcio , Rob Herring , Frank Rowand , Krzysztof Kozlowski , Conor Dooley , Neil Armstrong , Sam Ravnborg , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev, devicetree@vger.kernel.org, cros-qcom-dts-watchers@chromium.org, linux-arm-msm@vger.kernel.org, yangcong5@huaqin.corp-partner.google.com, Dmitry Torokhov , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Chris Morgan , linux-input@vger.kernel.org, hsinyi@google.com 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_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 Thu, Jun 8, 2023 at 12:15=E2=80=AFAM kernel test robot w= rote: > > Hi Douglas, > > kernel test robot noticed the following build errors: > > [auto build test ERROR on robh/for-next] > [also build test ERROR on hid/for-next dtor-input/next dtor-input/for-lin= us drm-misc/drm-misc-next linus/master v6.4-rc5 next-20230607] > [If your patch is applied to the wrong git tree, kindly drop us a note. > And when submitting patch, we suggest to use '--base' as documented in > https://git-scm.com/docs/git-format-patch#_base_tree_information] > > url: https://github.com/intel-lab-lkp/linux/commits/Douglas-Anderson/d= t-bindings-HID-i2c-hid-Add-panel-property-to-i2c-hid-backed-touchscreens/20= 230608-055515 > base: https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git fo= r-next > patch link: https://lore.kernel.org/r/20230607144931.v2.8.Ib1a98309c45= 5cd7e26b931c69993d4fba33bbe15%40changeid > patch subject: [PATCH v2 08/10] HID: i2c-hid: Support being a panel follo= wer > config: i386-randconfig-i003-20230607 (https://download.01.org/0day-ci/ar= chive/20230608/202306081419.Dzz0T4iW-lkp@intel.com/config) > compiler: clang version 15.0.7 (https://github.com/llvm/llvm-project.git = 8dfdcc7b7bf66834a761bd8de445840ef68e4d1a) > reproduce (this is a W=3D1 build): > mkdir -p ~/bin > wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbi= n/make.cross -O ~/bin/make.cross > chmod +x ~/bin/make.cross > git remote add robh https://git.kernel.org/pub/scm/linux/kernel/g= it/robh/linux.git > git fetch robh for-next > git checkout robh/for-next > b4 shazam https://lore.kernel.org/r/20230607144931.v2.8.Ib1a98309= c455cd7e26b931c69993d4fba33bbe15@changeid > # save the config file > mkdir build_dir && cp config build_dir/.config > COMPILER_INSTALL_PATH=3D$HOME/0day COMPILER=3Dclang ~/bin/make.cr= oss W=3D1 O=3Dbuild_dir ARCH=3Di386 olddefconfig > COMPILER_INSTALL_PATH=3D$HOME/0day COMPILER=3Dclang ~/bin/make.cr= oss W=3D1 O=3Dbuild_dir ARCH=3Di386 SHELL=3D/bin/bash > > If you fix the issue in a separate patch/commit (i.e. not just a new vers= ion of > the same patch/commit), kindly add following tags > | Reported-by: kernel test robot > | Closes: https://lore.kernel.org/oe-kbuild-all/202306081419.Dzz0T4iW-lkp= @intel.com/ > > All errors (new ones prefixed by >>): > > >> ld.lld: error: undefined symbol: drm_panel_add_follower > >>> referenced by i2c-hid-core.c:1159 (drivers/hid/i2c-hid/i2c-hid-cor= e.c:1159) > >>> drivers/hid/i2c-hid/i2c-hid-core.o:(i2c_hid_core_pro= be) in archive vmlinux.a > -- > >> ld.lld: error: undefined symbol: drm_panel_remove_follower > >>> referenced by i2c-hid-core.c:1218 (drivers/hid/i2c-hid/i2c-hid-cor= e.c:1218) > >>> drivers/hid/i2c-hid/i2c-hid-core.o:(i2c_hid_core_rem= ove) in archive vmlinux.a Thanks for the report! Ugh, I guess I forgot that even though DRM_PANEL is bool, it gets bundled up into all of DRM which can be a module. Assuming that this series looks mostly the same in the next version, I'll plan to add this: depends on DRM || !DRM # if DRM=3Dm, this can't be 'y' ...to each of the i2c-hid subclasses. -Doug