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 kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id E5E92C433FE for ; Fri, 18 Nov 2022 10:42:55 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 678728E0001; Fri, 18 Nov 2022 05:42:55 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 628026B0072; Fri, 18 Nov 2022 05:42:55 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 4C8FB8E0001; Fri, 18 Nov 2022 05:42:55 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0015.hostedemail.com [216.40.44.15]) by kanga.kvack.org (Postfix) with ESMTP id 38F8F6B0071 for ; Fri, 18 Nov 2022 05:42:55 -0500 (EST) Received: from smtpin01.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay10.hostedemail.com (Postfix) with ESMTP id B763AC07CF for ; Fri, 18 Nov 2022 10:42:54 +0000 (UTC) X-FDA: 80146225068.01.68689C2 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by imf07.hostedemail.com (Postfix) with ESMTP id 6F2CB4000B for ; Fri, 18 Nov 2022 10:42:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1668768172; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=Yd4XhvkyCIC729wLxNYg+1Mcq/CQbURDnfZS5NSLDh4=; b=Ppg3KfiR1+qu4Y5VWj9FCASvhCeTtv6PHcDCa9jMW7T2eFiNvfmW8wUWWhyriNzha1wZK+ B9ZkKqvwuFZ+Nhf6J451OtPDfTuyUms9z5ONr2HYbXvPdTgj3ZpbXI6svCDYvhVZSzGmGg 9SseL3TBNQ1WoHBjcDtZuOEdrxjxsf8= Received: from mail-il1-f197.google.com (mail-il1-f197.google.com [209.85.166.197]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-387-5_QHkdW6O_idJW8_hsF84A-1; Fri, 18 Nov 2022 05:42:51 -0500 X-MC-Unique: 5_QHkdW6O_idJW8_hsF84A-1 Received: by mail-il1-f197.google.com with SMTP id k3-20020a92c243000000b0030201475a6bso3074026ilo.9 for ; Fri, 18 Nov 2022 02:42:51 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=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=Yd4XhvkyCIC729wLxNYg+1Mcq/CQbURDnfZS5NSLDh4=; b=kOnVx4bZN6tHrJ1f1WDkYDkEqjPicYx8l6xCFrBU+sVFI9SRFOxePfroeYT9MP7mOH B6WUyHP8Dif+U6lNwZA71+TgkoIal/I4CF4zA9EQUTkTtZVzgNl6USAsG8voYL/adAuv zyKBt2GRUp/ZdL5+/rQeNrURTqqMxy7stW8h6KxGi3N9eIu7WN+7jnS8Zzxypp8gz+Zd dpn7mTMgATf1cDfliXPQN0McuJWxCfmZWalX7t1f6NE61xkG9WB4Lz4mU0+y8CstuUAA ULYksXD0W3mG5ziFrXQJuOtPaFREzR4KQqhE5VSvX70sbNzRMqMo4CwnXLsJsiku/GVt BKag== X-Gm-Message-State: ANoB5pl18v+l82MPgI9asn3xOXPBCZduwezdn2mdJstmZnA8N4z9NRKH U9HmNaZdshsHVsagg3aT50yVtxJAEH+P0XBHA/12xq1c+F0Hgr7uOXZwdT84102l+AkuIvbbuC1 go/HhYg6fGyvodjbWKFwh/6g717M= X-Received: by 2002:a92:d811:0:b0:300:3d37:62fc with SMTP id y17-20020a92d811000000b003003d3762fcmr3092623ilm.15.1668768171005; Fri, 18 Nov 2022 02:42:51 -0800 (PST) X-Google-Smtp-Source: AA0mqf6yq68sdpiIlm1eL25qTabGssOu8AYsZeJ92nt4JEv2CVruV/74C3GswW+Cy6lGVMbWUp16DllEiIUHr7D9Gj8= X-Received: by 2002:a92:d811:0:b0:300:3d37:62fc with SMTP id y17-20020a92d811000000b003003d3762fcmr3092614ilm.15.1668768170779; Fri, 18 Nov 2022 02:42:50 -0800 (PST) MIME-Version: 1.0 References: <202211181742.QYJY6Gug-lkp@intel.com> In-Reply-To: <202211181742.QYJY6Gug-lkp@intel.com> From: Benjamin Tissoires Date: Fri, 18 Nov 2022 11:42:39 +0100 Message-ID: Subject: Re: [linux-next:master 7544/8929] ERROR: modpost: "input_ff_create_memless" [drivers/hid/hid-wiimote.ko] undefined! To: kernel test robot Cc: oe-kbuild-all@lists.linux.dev, Linux Memory Management List , Jiri Kosina , Greg Kroah-Hartman X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1668768173; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=Yd4XhvkyCIC729wLxNYg+1Mcq/CQbURDnfZS5NSLDh4=; b=ENFlwRZebJmyglgK9zH8iYgjAI5WZNRjLI1nnIwzOSjP2h0ThTMz8ts2eymLpHRQue3r6e OWnoIQ/mb7u9XuIk/vGBz+xIqDVX1R2nVtlHiQaVhLk3Od1ZO0umqtcfpCcQEfom0WDMc1 3qfm3G7A2/nVfDg9zt0fQ98kR7JJo4o= ARC-Authentication-Results: i=1; imf07.hostedemail.com; dkim=pass header.d=redhat.com header.s=mimecast20190719 header.b=Ppg3KfiR; dmarc=pass (policy=none) header.from=redhat.com; spf=pass (imf07.hostedemail.com: domain of btissoir@redhat.com designates 170.10.129.124 as permitted sender) smtp.mailfrom=btissoir@redhat.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1668768173; a=rsa-sha256; cv=none; b=dVtug1hphl2/he09XfD9zu0b9SchT4m9htZbQV1KYwTzlOQewlaIRyu2AYNSezzHgllw0L 2U5tnfSz4E97Ufah5wey/PmUCTsL10Le1Pw7uTnH1meKydd8cu/r2qcDWU7Tk4PLFC6Qsh OkaoSdBoAF16wVQwpv8u/FiEAKKFVWQ= X-Rspam-User: X-Stat-Signature: 3h55yc5fnhdoszunh4rpjbxgxfiukrnf X-Rspamd-Queue-Id: 6F2CB4000B Authentication-Results: imf07.hostedemail.com; dkim=pass header.d=redhat.com header.s=mimecast20190719 header.b=Ppg3KfiR; dmarc=pass (policy=none) header.from=redhat.com; spf=pass (imf07.hostedemail.com: domain of btissoir@redhat.com designates 170.10.129.124 as permitted sender) smtp.mailfrom=btissoir@redhat.com X-Rspamd-Server: rspam07 X-HE-Tag: 1668768173-104690 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: On Fri, Nov 18, 2022 at 10:37 AM kernel test robot wrote: > > tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master > head: 147307c69ba4441ee90c1f8ce8edf5df4ea60f67 > commit: 25621bcc89762fe1329ae9c9dab75bc70ef1aee0 [7544/8929] HID: Kconfig: split HID support and hid-core compilation > config: loongarch-randconfig-c023-20221118 > compiler: loongarch64-linux-gcc (GCC) 12.1.0 > reproduce (this is a W=1 build): > wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross > chmod +x ~/bin/make.cross > # https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=25621bcc89762fe1329ae9c9dab75bc70ef1aee0 > git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git > git fetch --no-tags linux-next master > git checkout 25621bcc89762fe1329ae9c9dab75bc70ef1aee0 > # save the config file > mkdir build_dir && cp config build_dir/.config > COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=loongarch SHELL=/bin/bash > > If you fix the issue, kindly add following tag where applicable > | Reported-by: kernel test robot > > All errors (new ones prefixed by >>, old ones prefixed by <<): > > >> ERROR: modpost: "input_ff_create_memless" [drivers/hid/hid-wiimote.ko] undefined! > >> ERROR: modpost: "input_ff_create_memless" [drivers/input/misc/drv260x.ko] undefined! > >> ERROR: modpost: "input_ff_create_memless" [drivers/input/misc/drv2665.ko] undefined! > >> ERROR: modpost: "input_ff_create_memless" [drivers/input/misc/gpio-vibra.ko] undefined! > >> ERROR: modpost: "input_ff_create_memless" [drivers/input/misc/pwm-vibra.ko] undefined! > >> ERROR: modpost: "input_ff_create_memless" [drivers/input/misc/regulator-haptic.ko] undefined! > >> ERROR: modpost: "input_ff_create_memless" [drivers/input/misc/sc27xx-vibra.ko] undefined! > > Kconfig warnings: (for reference only) > WARNING: unmet direct dependencies detected for INPUT_FF_MEMLESS > Depends on [m]: INPUT [=m] > Selected by [y]: > - HID_ACRUX_FF [=y] && HID_SUPPORT [=y] && HID [=y] && HID_ACRUX [=y] > - HID_EMS_FF [=y] && HID_SUPPORT [=y] && HID [=y] > - PANTHERLORD_FF [=y] && HID_SUPPORT [=y] && HID [=y] && HID_PANTHERLORD [=y] > Selected by [m]: > - INPUT_GPIO_VIBRA [=m] && INPUT [=m] && INPUT_MISC [=y] && (GPIOLIB [=y] || COMPILE_TEST [=y]) > - INPUT_REGULATOR_HAPTIC [=m] && INPUT [=m] && INPUT_MISC [=y] && REGULATOR [=y] > - INPUT_PWM_VIBRA [=m] && INPUT [=m] && INPUT_MISC [=y] && PWM [=y] > - INPUT_DRV260X_HAPTICS [=m] && INPUT_MISC [=y] && INPUT [=m] && I2C [=y] && (GPIOLIB [=y] || COMPILE_TEST [=y]) > - INPUT_DRV2665_HAPTICS [=m] && INPUT_MISC [=y] && INPUT [=m] && I2C [=y] > - INPUT_SC27XX_VIBRA [=m] && INPUT [=m] && INPUT_MISC [=y] && (MFD_SC27XX_PMIC [=n] || COMPILE_TEST [=y]) > - HID_WIIMOTE [=m] && HID_SUPPORT [=y] && HID [=y] && LEDS_CLASS [=y] > That one is a nasty one: to be able to select INPUT as a module, you need to disable *a lot* of things, like TTY and VT, and set EXPERT to y. With that, well, then the problem is that having INPUT=m and HID=y will just not work because HID is relying on the input API. That being said, the symptoms are weird: because HID drivers that are using FF_MEMLESS can be now set to 'y', INPUT_FF_MEMLESS is then forced to be set to y as well, but given that INPUT is m, everything just falls apart for the drivers that are m, not y... The simple solution is to have HID depends on INPUT, this way we can not have HID drivers as y, everything will be forced as a module. This is also required because hid-input.c is using the input API, and as such we can not have HID=y and INPUT=m. patch on its way. Cheers, Benjamin