Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp1299269iog; Sat, 18 Jun 2022 06:04:35 -0700 (PDT) X-Google-Smtp-Source: AGRyM1svpjfWm/FEj8BQvSKqKCRyb9m3fUo7jnjKqu3q4jme0TaMVJksJn/B+FeLS2M3tf+FD/QS X-Received: by 2002:a63:604:0:b0:3fc:8830:a67c with SMTP id 4-20020a630604000000b003fc8830a67cmr13249839pgg.402.1655557475330; Sat, 18 Jun 2022 06:04:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655557475; cv=none; d=google.com; s=arc-20160816; b=An2RtE936SRNyYz7cjynP2u9ruWF/qplb/eLCZOBHDE6aKLszUarNOWvIZ4cxPt5iw eRJhKn0KtMOspt0Zy5VkIEbo2tVaDCBrqe/P2ek4gGTl+8jVhoIcdeITcQ3db2Nt7oaM Ey3RFnZweS6QaXxZcDWbX1b2BrHCgfa0EmRHFIq96WoPTeMhdVpREsugL2BfSU276d+M +d0NUYJZNeUNj6kT+hk+VFOQ4w7lkRK/H/aVyYWvdj2XHki6JHX5d6+ysBzBVfF3RhTt Yg9TL7phqsqINohIpU+Eut43VVLoIiH8xjmIZp52hPwThK3l3ZEH7ZDWLEO23t6PrkDT BxQA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=PsAMwmjGqpJJNZgY6GXUQNg1AwrRQS5vzmY8f6FJ4Z4=; b=bMtVxQ0dBAem+4S2u4Bf0BCBGngjl8Ajz92DSGxBWXeSR37SRpfwVTFwOG1ZJJM9wo t/rvleTzC3g0GBH4cZsKK++SaxosQzOZsdtKVc8xDGYruHHXxMOxGkfzGHBtd7kRNilo MSrSdoJcmPyugk311//4S2jOEDsRriIlQpEk+BGSkQbAB/++pk3zalAbs+WNNsICscSk kr3Mwxu1KXuD8UFAqqw+sK6ygLQgkFZ5ZFC9JsTd7byhIHhEjWl4l5SHRPM1/cXdRr9q 2Br55HY1NgYP/lAWsOJrbgDJ90daGl00667F9nnZ7EYEnTW122tbxRs/CrSZREAHR6R7 sFwQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b="M8V4C/To"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k16-20020a056a00169000b0051c07775e55si9930063pfc.250.2022.06.18.06.04.06; Sat, 18 Jun 2022 06:04:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b="M8V4C/To"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234641AbiFRMs0 (ORCPT + 99 others); Sat, 18 Jun 2022 08:48:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39180 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233293AbiFRMsX (ORCPT ); Sat, 18 Jun 2022 08:48:23 -0400 Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 14E8213DD0; Sat, 18 Jun 2022 05:48:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1655556503; x=1687092503; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=L0u3OGCTfFetGTTP1NGlLb83GnefDKjn1DOmKdkgXls=; b=M8V4C/ToubdcIkw1UqoPb4GPNNHnEeNEzkDij+gcqKg0CA83QAVXS+15 9v612iugAXgOUc+Is4C18ty0Hp2MeneFdSy54yliRkE9ymSk4W85I/uaJ vWQil5SM6TiEMP/MUQOUEOdSNTSq/cTTqVeqZLeYsFhEAcYgDKRif+8WZ c7J1H7WvPuPJLOblsvcBxXI9AEoe/ZbyL0x72rXcah8lEg5xmMjGG7abd 44b/zwfTNKI9euRHVCDmyejO+FNxy07zEv5RkbWyKnfwqi2cwPf9en4Bf CFpsbgNholx9TZTVhL4vw3u4KvlB35M36Qx49/H+UwArQt8GjCnNFj35c Q==; X-IronPort-AV: E=McAfee;i="6400,9594,10380"; a="305084546" X-IronPort-AV: E=Sophos;i="5.92,306,1650956400"; d="scan'208";a="305084546" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Jun 2022 05:48:22 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.92,306,1650956400"; d="scan'208";a="763567439" Received: from lkp-server01.sh.intel.com (HELO 60dabacc1df6) ([10.239.97.150]) by orsmga005.jf.intel.com with ESMTP; 18 Jun 2022 05:48:17 -0700 Received: from kbuild by 60dabacc1df6 with local (Exim 4.95) (envelope-from ) id 1o2Xs8-000QKB-QM; Sat, 18 Jun 2022 12:48:16 +0000 Date: Sat, 18 Jun 2022 20:47:26 +0800 From: kernel test robot To: David Gow , Brendan Higgins , Luis Chamberlain , Jeremy Kerr , Daniel Latypov , Shuah Khan , Andrew Jeffery , Mika Westerberg , Andra Paraschiv , Longpeng Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org, kunit-dev@googlegroups.com, linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org, =?iso-8859-1?Q?Ma=EDra?= Canal , linux-mmc@vger.kernel.org, linux-aspeed@lists.ozlabs.org, openbmc@lists.ozlabs.org, linux-usb@vger.kernel.org, linux-modules@vger.kernel.org, Matt Johnston , David Gow Subject: Re: [PATCH 1/5] kunit: unify module and builtin suite definitions Message-ID: <202206182025.UNVY0coI-lkp@intel.com> References: <20220618090310.1174932-2-davidgow@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220618090310.1174932-2-davidgow@google.com> X-Spam-Status: No, score=-7.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_NONE, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi David, I love your patch! Yet something to improve: [auto build test ERROR on linus/master] [also build test ERROR on v5.19-rc2 next-20220617] [cannot apply to mcgrof/modules-next joel-aspeed/for-next ulf-hansson-mmc-mirror/next] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch] url: https://github.com/intel-lab-lkp/linux/commits/David-Gow/Rework-KUnit-test-execution-in-modules/20220618-170653 base: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 4b35035bcf80ddb47c0112c4fbd84a63a2836a18 config: riscv-randconfig-r034-20220617 (https://download.01.org/0day-ci/archive/20220618/202206182025.UNVY0coI-lkp@intel.com/config) compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project 91688716ba49942051dccdf7b9c4f81a7ec8feaf) 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 riscv cross compiling tool for clang build # apt-get install binutils-riscv-linux-gnu # https://github.com/intel-lab-lkp/linux/commit/14ff6ae01a41e301f1409874dd5aa38f73bc96f5 git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review David-Gow/Rework-KUnit-test-execution-in-modules/20220618-170653 git checkout 14ff6ae01a41e301f1409874dd5aa38f73bc96f5 # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=riscv SHELL=/bin/bash lib/kunit/ If you fix the issue, kindly add following tag where applicable Reported-by: kernel test robot All errors (new ones prefixed by >>): >> lib/kunit/test.c:618:23: error: no member named 'num_kunit_suites' in 'struct module' for (i = 0; i < mod->num_kunit_suites; i++) ~~~ ^ >> lib/kunit/test.c:619:33: error: no member named 'kunit_suites' in 'struct module' __kunit_test_suites_init(mod->kunit_suites[i]); ~~~ ^ lib/kunit/test.c:626:23: error: no member named 'num_kunit_suites' in 'struct module' for (i = 0; i < mod->num_kunit_suites; i++) ~~~ ^ lib/kunit/test.c:627:33: error: no member named 'kunit_suites' in 'struct module' __kunit_test_suites_exit(mod->kunit_suites[i]); ~~~ ^ 4 errors generated. vim +618 lib/kunit/test.c 612 613 #ifdef CONFIG_MODULES 614 static void kunit_module_init(struct module *mod) 615 { 616 unsigned int i; 617 > 618 for (i = 0; i < mod->num_kunit_suites; i++) > 619 __kunit_test_suites_init(mod->kunit_suites[i]); 620 } 621 -- 0-DAY CI Kernel Test Service https://01.org/lkp