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 X-Spam-Level: X-Spam-Status: No, score=-17.7 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 788ABC433DB for ; Wed, 17 Feb 2021 04:25:35 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id DF59B64E04 for ; Wed, 17 Feb 2021 04:25:34 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org DF59B64E04 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 5BCBE8D001D; Tue, 16 Feb 2021 23:25:34 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 56BBF8D0019; Tue, 16 Feb 2021 23:25:34 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 45C1F8D001D; Tue, 16 Feb 2021 23:25:34 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0109.hostedemail.com [216.40.44.109]) by kanga.kvack.org (Postfix) with ESMTP id 2C8528D0019 for ; Tue, 16 Feb 2021 23:25:34 -0500 (EST) Received: from smtpin18.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay02.hostedemail.com (Postfix) with ESMTP id 0414518C9 for ; Wed, 17 Feb 2021 04:25:34 +0000 (UTC) X-FDA: 77826470988.18.brain19_421170827649 Received: from filter.hostedemail.com (10.5.16.251.rfc1918.com [10.5.16.251]) by smtpin18.hostedemail.com (Postfix) with ESMTP id DF33A100EC663 for ; Wed, 17 Feb 2021 04:25:33 +0000 (UTC) X-HE-Tag: brain19_421170827649 X-Filterd-Recvd-Size: 6896 Received: from mail-pg1-f173.google.com (mail-pg1-f173.google.com [209.85.215.173]) by imf38.hostedemail.com (Postfix) with ESMTP for ; Wed, 17 Feb 2021 04:25:32 +0000 (UTC) Received: by mail-pg1-f173.google.com with SMTP id t26so7716095pgv.3 for ; Tue, 16 Feb 2021 20:25:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=8N8VUtymbEwBaNMugopGhm8YEpo6bazq+MwNjAUL6n4=; b=kZKS1i1cZemXGJvNv33D3EJUVbd7ZdQLhUdJRMlpO+Tgq9X/MN3/5YCVJicxtqhILC Ow1fB5ISe9jYjhFsG3t1ym4ZF1hpPwPCMtXRCL6quYeU/eITnsbEOB8TCOMyvI05X9p9 OENsk+23s1ZhIqtfz8EXAch0usTR6TGqDG8hIpCXl1sqcJroAX48j2LNXkVOLnxNpnh0 OIdrGkgtsAAKCqEp6Zh5ycJiVBII7lR2hWdzE+csf0H6YJuUY+IBofwlXMq+YCKsrQZ4 NvvVoOItMATfq5eaFAFdJDURgveir6jbKZtEgJfXjbAvSmdZXrKCcnlSGgG8Ub1iL1Qp sA3w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=8N8VUtymbEwBaNMugopGhm8YEpo6bazq+MwNjAUL6n4=; b=Pgs2HkWwqQlKkbsaG2f99F5XpDwwgHuDJLTiCm7A/p33Q8iLBLmSTphhWFzU5oKcnb sf4bOCtGEbpRhHXPhFbmVsISZdzfrG+dkmb5400sR+vPrxgUaM8u4WZ2e8h5ziPEVZU6 rpBcEs3RpmoDZVloy4isMi/Ct0EsRLiEtWkyn5P6BNG9GaL2hp3FzNnDkmcfOE9dOLQ+ krKMwuXTgWJKXu3/JSt4dZLhPSDIzCR4ytD6ht99gzy9uep3ZwOalvxys/esLSG+TR4R xdzU+NBdgt25gkA3U232CUFxMZwR/vTFCPeWAjXGmGYKAHXwOkWKvO1b09zGxnRgw/cE l6+Q== X-Gm-Message-State: AOAM530oa0tudGd8lTQDcgu4pqPULnW3Zg6ZUUeg43W0lSS+9m9lcVuA N9l3uV7fCP26U92Lm5ZVd3U= X-Google-Smtp-Source: ABdhPJw9zyxFzvsUg7X7oP2y0V3Mqfbl2W3+Xq6xJpuxu8VxdRqbejR4WZGewdFNk/mjG/WLLW8SXg== X-Received: by 2002:a62:ed01:0:b029:1c8:c6c:16f0 with SMTP id u1-20020a62ed010000b02901c80c6c16f0mr22934118pfh.80.1613535931888; Tue, 16 Feb 2021 20:25:31 -0800 (PST) Received: from google.com ([2620:15c:202:201:21d3:2abc:ad8c:8b3a]) by smtp.gmail.com with ESMTPSA id 12sm462369pjm.28.2021.02.16.20.25.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 16 Feb 2021 20:25:30 -0800 (PST) Date: Tue, 16 Feb 2021 20:25:28 -0800 From: Dmitry Torokhov To: kernel test robot Cc: kbuild-all@lists.01.org, clang-built-linux@googlegroups.com, Linux Memory Management List , Tony Lindgren , Scott Branden , Shawn Guo Subject: Re: [linux-next:master 2048/11541] omap4-keypad.c:undefined reference to `devm_ioremap_resource' Message-ID: References: <202102161003.uEuTf3vU-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <202102161003.uEuTf3vU-lkp@intel.com> 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 Tue, Feb 16, 2021 at 10:38:07AM +0800, kernel test robot wrote: > tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master > head: 52a0bcb60e40f30211cb5cbbb0f582ec4e91d896 > commit: 60dc45119465d086724851d2a5fd09daeb3c515e [2048/11541] Input: omap4-keypad - switch to use managed resources > config: s390-randconfig-r002-20210215 (attached as .config) > compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project c9439ca36342fb6013187d0a69aef92736951476) > 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 > # install s390 cross compiling tool for clang build > # apt-get install binutils-s390x-linux-gnu > # https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=60dc45119465d086724851d2a5fd09daeb3c515e > 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 60dc45119465d086724851d2a5fd09daeb3c515e > # save the attached .config to linux build tree > COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=s390 > > If you fix the issue, kindly add following tag as appropriate > Reported-by: kernel test robot > Thanks for the report. I think the following should take care of it: Input: add missing dependencies on CONFIG_HAS_IOMEM From: Dmitry Torokhov devm_ioremap_resource() is only guaranteed to be present if CONFIG_HAS_IOMEM is set. Reported-by: kernel test robot Signed-off-by: Dmitry Torokhov --- drivers/input/keyboard/Kconfig | 4 ++-- drivers/input/serio/Kconfig | 2 +- drivers/input/touchscreen/Kconfig | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/input/keyboard/Kconfig b/drivers/input/keyboard/Kconfig index 94eab82086b2..32d15809ae58 100644 --- a/drivers/input/keyboard/Kconfig +++ b/drivers/input/keyboard/Kconfig @@ -685,7 +685,7 @@ config KEYBOARD_OMAP config KEYBOARD_OMAP4 tristate "TI OMAP4+ keypad support" - depends on OF || ARCH_OMAP2PLUS + depends on (OF && HAS_IOMEM) || ARCH_OMAP2PLUS select INPUT_MATRIXKMAP help Say Y here if you want to use the OMAP4+ keypad. @@ -773,7 +773,7 @@ config KEYBOARD_CAP11XX config KEYBOARD_BCM tristate "Broadcom keypad driver" - depends on OF && HAVE_CLK + depends on OF && HAVE_CLK && HAS_IOMEM select INPUT_MATRIXKMAP default ARCH_BCM_CYGNUS help diff --git a/drivers/input/serio/Kconfig b/drivers/input/serio/Kconfig index 0754744b9ce5..f39b7b3f7942 100644 --- a/drivers/input/serio/Kconfig +++ b/drivers/input/serio/Kconfig @@ -255,7 +255,7 @@ config SERIO_ARC_PS2 config SERIO_APBPS2 tristate "GRLIB APBPS2 PS/2 keyboard/mouse controller" - depends on OF + depends on OF && HAS_IOMEM help Say Y here if you want support for GRLIB APBPS2 peripherals used to connect to PS/2 keyboard and/or mouse. diff --git a/drivers/input/touchscreen/Kconfig b/drivers/input/touchscreen/Kconfig index cc18f54ea887..529614d364fe 100644 --- a/drivers/input/touchscreen/Kconfig +++ b/drivers/input/touchscreen/Kconfig @@ -608,7 +608,7 @@ config TOUCHSCREEN_MTOUCH config TOUCHSCREEN_IMX6UL_TSC tristate "Freescale i.MX6UL touchscreen controller" - depends on (OF && GPIOLIB) || COMPILE_TEST + depends on ((OF && GPIOLIB) || COMPILE_TEST) && HAS_IOMEM help Say Y here if you have a Freescale i.MX6UL, and want to use the internal touchscreen controller. -- Dmitry