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 132DCC61DA4 for ; Thu, 2 Feb 2023 12:39:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231725AbjBBMjg (ORCPT ); Thu, 2 Feb 2023 07:39:36 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36876 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229593AbjBBMjU (ORCPT ); Thu, 2 Feb 2023 07:39:20 -0500 Received: from new3-smtp.messagingengine.com (new3-smtp.messagingengine.com [66.111.4.229]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 16ED589F88 for ; Thu, 2 Feb 2023 04:39:19 -0800 (PST) Received: from compute6.internal (compute6.nyi.internal [10.202.2.47]) by mailnew.nyi.internal (Postfix) with ESMTP id 95DA458200E; Thu, 2 Feb 2023 07:39:16 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Thu, 02 Feb 2023 07:39:16 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cerno.tech; h=cc :cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=fm1; t=1675341556; x= 1675348756; bh=66544bd5OlXqw/yfmhmprOXzWx+UMIFlGhBeotohUVs=; b=C foF4xKupoAX8Lakv+HZys1O0vgSz/EolME2suCvDqv4BsaOB41mP6bk7uaPj0cfn RmGZNDqqb+YH0PF21kGW9HGh51YuxxVnFldIDdiDtvn3mpdbY7h6KKfTn8UhajSZ G3C/hWjGlBRUyOfPBxAVMbSItrYatxHRvYlveotDTJ+lA0hZkRJGlXeY8mcwLU/D 8oLMEUT4/OOPRlmAiD6JlDAKNtZm789OmSmLSGRJf1eOLOfc9zV8bsIx31b2BoVZ eg4FBXCL/eT4kamydiDEPpKHA7Z98Tp9zh07f7vT/E6QwnQVOgRrrPklP+SYE9Cb mDIgXsbiIOpKxcEjD/83Q== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t=1675341556; x= 1675348756; bh=66544bd5OlXqw/yfmhmprOXzWx+UMIFlGhBeotohUVs=; b=T r7cD7+QMOrRbxwe3iGQkD6Xb10rP1Y1CxO2iYGP0FdApirAYVCVXTvNWKZcP+zzN FEYqSLwR+rzDQavOcAU2mnkDmkySGXtWfhq25+XjK5wDhUnJSZ30TDmFEZDVKIJU YovYSTIAcSX+k4LMVutu/PTr/swMrXaiA33Q/7+orZ9u6CHEQDPxf6uDw5FYzgua mtzEbdlHGu3q6rB2tPllVgvBILj7s6ke1PEbZSae3Uv1yoNhy9uCLk5U1LGJH1jv 5D8sdBV5bVsKJmKnRee2hqxZqr7jOixGnQtlffZomqSHbGooS+ft/gDeXkgORcWO Z/ZucQrlppwgmFXQsYPlw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrudefkedggeduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvvegjfhfukfffgggtgffosehtjeertdertdejnecuhfhrohhmpeforgig ihhmvgcutfhiphgrrhguuceomhgrgihimhgvsegtvghrnhhordhtvggthheqnecuggftrf grthhtvghrnhepleeifffgvdetjeejueejieehuedvteeigeehtefhhfeifeegleekudek teegueffnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomh epmhgrgihimhgvsegtvghrnhhordhtvggthh X-ME-Proxy: Feedback-ID: i8771445c:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 2 Feb 2023 07:39:15 -0500 (EST) From: Maxime Ripard To: Emma Anholt , Maxime Ripard , Arnd Bergmann Cc: Arnd Bergmann , David Airlie , Daniel Vetter , Thomas Zimmermann , Sam Ravnborg , Javier Martinez Canillas , Zheng Bin , Danilo Krummrich , =?utf-8?q?Ma=C3=ADra_Canal?= , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org In-Reply-To: <20230202102346.868771-1-arnd@kernel.org> References: <20230202102346.868771-1-arnd@kernel.org> Subject: Re: [PATCH] drm/vc4: allow DRM_VC4_KUNIT_TEST to be a loadable module Message-Id: <167534153408.825132.11115041356580033234.b4-ty@cerno.tech> Date: Thu, 02 Feb 2023 13:38:54 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Mailer: b4 0.12.1 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 02 Feb 2023 11:23:32 +0100, Arnd Bergmann wrote: > In configurations with CONFIG_KUNIT=m, builting the unit test > into the kernel causes a link failure: > > arm-linux-gnueabi-ld: drivers/gpu/drm/vc4/tests/vc4_mock.o: in function `__build_mock': > vc4_mock.c:(.text+0x6e): undefined reference to `kunit_do_failed_assertion' > arm-linux-gnueabi-ld: vc4_mock.c:(.text+0x9c): undefined reference to `kunit_do_failed_assertion' > arm-linux-gnueabi-ld: vc4_mock.c:(.text+0x100): undefined reference to `kunit_ptr_not_err_assert_format' > ... > > [...] Applied to drm/drm-misc (drm-misc-next-fixes). Thanks! Maxime