From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6B264C7EE29 for ; Thu, 8 Jun 2023 15:11:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236676AbjFHPLZ (ORCPT ); Thu, 8 Jun 2023 11:11:25 -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-Google-Smtp-Source: ACHHUZ75S3gvyOcDlHP6xBHC7LssUFSYdXclhok/DcUJlwGVpU8/uTN7tKBXby8Yam/vixBcamn0Gw== 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 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