Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp2185021pxb; Fri, 24 Sep 2021 23:48:11 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxcnL7DGK8sXO3s2n0SIUYSCm1xEGupMzT/3xXmbwqoejL7scGLbp8o20aXleLZKv90nNP6 X-Received: by 2002:a50:cfcb:: with SMTP id i11mr3313931edk.347.1632552490851; Fri, 24 Sep 2021 23:48:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632552490; cv=none; d=google.com; s=arc-20160816; b=z2oCmpvW+o+14VQ/HYKqmETEt8KKfdifJ/fjCmrzjiqJ7pRCGVkv7tWLApaHh6LnMB eI9yCd8Df4RU4QCplqS7bxLhb3I5V46PA5XZjONSvweVYxphj5KWAv8rdoekT5nPeVL/ isMxdFhe8AvCP3tSYBa70Eoy93iAwNkiLIDeTOi7LJpzZfA2sqsEI0ylUkMa5kouFn2a 7OS+yh4fXdy0q7+5AZ9BQrXNUugEbOWZ5xpYxgkgMtW/uWyD0TId4iytBPyt2W+CCcWb wHJQzGgZD3fF+fGz6gMJ6kwL32imHN7YDYmcNla1zptNjpK8JGMZKvBhn8jGdeiCA+RO 3XmQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=B/RhjtW63xLDPafcOYcaUq5b5NUJ1HAHYnpMtDL/+vc=; b=ynMY+BbW7fhE6XcDJpw2YpdZcEdfF4w2qMQxRvOznLYyxZG6J1vVGfQer5ffBNCc84 RNW0T8r8uOJ4pq/KLSC5lq1jctCet2EvqmkEmJkOVN6KMPRZp14d6V6DC5tHU//APA33 /H6UqG5WkmVi9hyic5EvRkOhZlKRWzOPZ/DBXM1/dje0LH0gwmWCjprXUIa/bwfxR2KG KTQGuBAhx+6EPUTE8d7cW3JRCF28qaUolUylxLXI5Wau9vJtk0d48HrdyFUwbN0VIprl mATjgyQ+FT9zifb/J5xTLSMdnWw4yOM8pTHftg7R6pG8ES7H+1sz8C+hwmhtrcF1Cb3y dRPQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=QR9lsY4B; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id r25si11736460eda.228.2021.09.24.23.47.47; Fri, 24 Sep 2021 23:48:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=QR9lsY4B; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346541AbhIYBtE (ORCPT + 99 others); Fri, 24 Sep 2021 21:49:04 -0400 Received: from mail.kernel.org ([198.145.29.99]:40040 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232003AbhIYBtD (ORCPT ); Fri, 24 Sep 2021 21:49:03 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 7A59761212; Sat, 25 Sep 2021 01:47:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1632534449; bh=waW2Ab7Qq+0PFYknh2YodFrEZP6Ya5zSNBIAdu9AOZA=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=QR9lsY4BHuxmk2m9/Ui3sGQWmCIwnXPDF00jVDSTF1qcm4SHPnPTRYsutoOekIqpf Kfks5eC3NDYFMelXGnMJqp6Nw5veIxUBiVlohibRdvBZxOFl9mrPxipTTkRWg4E7T/ Cw7MVnLXTdAFyMAddxUROmPAKx3Mo05pXz89ClumlCKt4kixW0wIcfb1Tv5Ja8Flxh JZ2ZjB8ZDCG2XVAtUFllFoXQGQgaBUhlm/T8Vt7MqTR9Av58TGytKLEpcNhDjsX+mF iFIRoulQy1HpNxZwBvj5iYSx88vUiHuhdnHJXusDdI2FvSY0Xlc8LV1mp/ovisJSQj Vgjsx3YJ0WlvQ== Date: Sat, 25 Sep 2021 10:47:26 +0900 From: Masami Hiramatsu To: Sven Schnelle Cc: kernel test robot , "Naveen N . Rao" , Anil S Keshavamurthy , Masami Hiramatsu , Steven Rostedt , kbuild-all@lists.01.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2] kprobes: convert tests to kunit Message-Id: <20210925104726.043885d4c8f7ec80de2746c9@kernel.org> In-Reply-To: References: <20210914070816.3516994-1-svens@linux.ibm.com> <202109150545.FABUL0Nv-lkp@intel.com> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.32; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 24 Sep 2021 20:19:20 +0200 Sven Schnelle wrote: > kernel test robot writes: > > > Hi Sven, > > > > Thank you for the patch! Yet something to improve: > > > [..] > > ia64-linux-ld: kernel/test_kprobes.o: in function `entry_handler': > >>> test_kprobes.c:(.text+0x150): undefined reference to `kunit_unary_assert_format' > >>> ia64-linux-ld: test_kprobes.c:(.text+0x212): undefined reference to `kunit_do_assertion' > > ia64-linux-ld: kernel/test_kprobes.o: in function `return_handler2': > >>> test_kprobes.c:(.text+0x2f0): undefined reference to `kunit_binary_assert_format' > > ia64-linux-ld: test_kprobes.c:(.text+0x452): undefined reference to `kunit_do_assertion' > > ia64-linux-ld: test_kprobes.c:(.text+0x522): undefined reference to `kunit_do_assertion' > > I missed that kunit can be built as module. I'll fix it an send a v3. Does this mean we can not use KUnit for the feature which is not exposed to module? Thank you, -- Masami Hiramatsu