Received: by 2002:a25:c205:0:0:0:0:0 with SMTP id s5csp7241427ybf; Fri, 6 Mar 2020 13:16:20 -0800 (PST) X-Google-Smtp-Source: ADFU+vs+YOqyiBBawfPYhKBNxuL9A8/z+qmrjqzIzYVtjQ2kQVNMmoLwctiFm2iCkB36de/FXo/x X-Received: by 2002:a9d:6d96:: with SMTP id x22mr4234244otp.264.1583529380686; Fri, 06 Mar 2020 13:16:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1583529380; cv=none; d=google.com; s=arc-20160816; b=Q2B+DIh00a4j7lmZpHbSXATUis/wCH2ZbAOLTHnEDYifQQB9WkD/HDm3/WbUyuIZT7 2KoX8QDhOiNsNXgZ94+8jEuM2omrTisDQziMMIxOxGZM/cce0N66avHfz02Hp1pmhAuM 24J3Bc61bjWa5aNHuPChTYUjPJYkxb9DONxI6fAlv6E4cgOeUuf8PBTSyPTc9A2qj3IN qWg1xjqq3ZmyhPlTHjM+jhGKR37wKyN4GL1gVm1ltr1K3GoM6E0gU24Kb7QMx6pbEytW 5Xw1PppoChGoVoFZ7gZz6rheP/LZUCmOLQONdb4HQa9RiuiA5K1UX1RiSoQbnTjKg3k1 civw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=Fiq7axgzh0RUrugcOKjvyttD936DCekPEbQPi1o9w0s=; b=1FCeHIvUMZ4HSXIBEA3oIrvaJuMR98UL2RcynroGIUIfiMF2ZabzKqfPmiWi4UfaJp hkUomMOO1PC80Oh86vgvlrXILTH8GH48Na6CUEZpab10LID+WMNz/mN1BN2dsNhYU1wj Esi8DTy/Q+LVAJRMN8miQxDkRjJw4RCiUyCowy+BqW9N2MaKabWDfAviy0S9GlS+iUWN yhNoxTLShUbNrJubDbcsrwJVYvBe1OKjgQd5kdwaxhLKM+nqDuzoSIxz4SeKBeN7KT6o kkbtdzS7x2HjiURNfP/BWUhhy/53zH6kCcQ5VSjTE6Uq/qwctFx4bxE3opfhKl9WIPLZ I9XA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v3si2231479otn.140.2020.03.06.13.16.07; Fri, 06 Mar 2020 13:16:20 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726359AbgCFVPp (ORCPT + 99 others); Fri, 6 Mar 2020 16:15:45 -0500 Received: from relay1-d.mail.gandi.net ([217.70.183.193]:8137 "EHLO relay1-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726185AbgCFVPp (ORCPT ); Fri, 6 Mar 2020 16:15:45 -0500 X-Originating-IP: 86.202.105.35 Received: from localhost (lfbn-lyo-1-9-35.w86-202.abo.wanadoo.fr [86.202.105.35]) (Authenticated sender: alexandre.belloni@bootlin.com) by relay1-d.mail.gandi.net (Postfix) with ESMTPSA id BAEA6240006; Fri, 6 Mar 2020 21:15:38 +0000 (UTC) Date: Fri, 6 Mar 2020 22:15:38 +0100 From: Alexandre Belloni To: Dmitry Torokhov Cc: Anson Huang , Shawn Guo , Sascha Hauer , Sascha Hauer , Fabio Estevam , Alessandro Zummo , Zhang Rui , Daniel Lezcano , amit.kucheria@verdurent.com, wim@linux-watchdog.org, Guenter Roeck , Daniel Baluta , Oleksij Rempel , Greg Kroah-Hartman , Thomas Gleixner , Marco Felsch , Andy Shevchenko , Arnd Bergmann , Enric Balletbo i Serra , Ronald =?iso-8859-1?Q?Tschal=E4r?= , Krzysztof Kozlowski , linux-arm-kernel , lkml , "linux-input@vger.kernel.org" , linux-rtc@vger.kernel.org, Linux PM , LINUXWATCHDOG , NXP Linux Team Subject: Re: [PATCH 3/5] input: keyboard: add COMPILE_TEST support for KEYBOARD_IMX_SC_KEY Message-ID: <20200306211538.GA8060@piout.net> References: <1583509356-8265-1-git-send-email-Anson.Huang@nxp.com> <1583509356-8265-3-git-send-email-Anson.Huang@nxp.com> <20200306193310.GI217608@dtor-ws> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 06/03/2020 12:05:42-0800, Dmitry Torokhov wrote: > On Fri, Mar 6, 2020 at 11:33 AM Dmitry Torokhov > wrote: > > > > On Fri, Mar 06, 2020 at 11:42:34PM +0800, Anson Huang wrote: > > > Add COMPILE_TEST support to i.MX SC keyboard driver for better compile > > > testing coverage. > > > > > > Signed-off-by: Anson Huang > > > > Applied, thank you. > > Actually, not: > > ERROR: "imx_scu_irq_register_notifier" > [drivers/input/keyboard/imx_sc_key.ko] undefined! > ERROR: "imx_scu_get_handle" [drivers/input/keyboard/imx_sc_key.ko] undefined! > ERROR: "imx_scu_call_rpc" [drivers/input/keyboard/imx_sc_key.ko] undefined! > ERROR: "imx_scu_irq_unregister_notifier" > [drivers/input/keyboard/imx_sc_key.ko] undefined! > ERROR: "imx_scu_irq_group_enable" > [drivers/input/keyboard/imx_sc_key.ko] undefined! > make[1]: *** [scripts/Makefile.modpost:94: __modpost] Error 1 > make: *** [Makefile:1282: modules] Error 2 > > If you want to enable compile test coverage you need to provide stubs > for the above functions. > or select IMX_SCU or leave out COMPILE_TEST from the individual drivers as having COMPILE_TEST for IMX_SCU is enough to be able to select the drivers. > Thanks. > > -- > Dmitry -- Alexandre Belloni, Bootlin Embedded Linux and Kernel engineering https://bootlin.com