Received: by 2002:a05:7412:8d11:b0:fa:4934:9f with SMTP id bj17csp319579rdb; Sun, 14 Jan 2024 19:47:54 -0800 (PST) X-Google-Smtp-Source: AGHT+IGzlH8Y2KH9PxhMW1/o4X+uRF6K/CIQhpUj4Dmmy7aMmhIo7yf/+hOx0AzG6oPIwF2PDfLF X-Received: by 2002:a17:906:18e1:b0:a26:c595:62c0 with SMTP id e1-20020a17090618e100b00a26c59562c0mr1190328ejf.47.1705290473900; Sun, 14 Jan 2024 19:47:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1705290473; cv=none; d=google.com; s=arc-20160816; b=y+ixdAvTpKcyFhCDKQRpI0rvDcd1Ffl5QhqjGC3QuU8aQaHKsxcPUbtMc2OC15NH2Z Hmp2BmYirKfWKtlM165nqz7P1Tc+myS16BTygQqvu45g/5x3AC+ETZcsAX58u1FFXTR6 ojT3UnErCUycgJqQJXVcF/Y1lasSEdCOPrzCUeDGZa/s8QV1AuUlHBS8gK0u6i66T01S ZWjHq+EhWUX4pVB5LBbIg/0tVXkKRVyN9ua5SoINomJe/cFR1D7TP11vU95QVauEkdD7 G/T7a16/7MJ/sUIHUJr2bGqbAJnyEQ5cylMFu3UvOGDzPxPiFq9L/U3D4RQQ2LrQYreQ tL9A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=tohiUCjh800M/KEz4eMAm3mtm0s3OKLC6NhLziUmciA=; fh=7xrVx7PycYbi+WMtxtRl8PBK2ijTZzkVodLJcIUgE3M=; b=Zk1u33fSwfnnLbI1nhajiolYRDLSXVYipknh1pdWH94KfVBL8Fo00yjC0I8L2wX8VI DVhVS5lvfMbOxJwQIbd5pMiTQaWNq7TnoLmsp84xJiQX39FkWwLiwzk/Y3o16qo+BWEr Rjze6CiBsAZOkFvRn/Pl34KG6a+fD1ht1D8KbUxaGN27Z+LL83roC86guYDjS3nTspxT djGckotoedMnj1CqKGibgGcDVQqbrQPVhXms2vjPFet9mWhQu0qcUlXuYesU07sFKnzH kbA/IslEfi9YTNbaZ7te3FZ4v21OLkuUORO5TJ8c4UIVq9iwyePVIRyKTYCsw+yIvNnH r+Rg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=DMSAOjlS; spf=pass (google.com: domain of linux-kernel+bounces-25609-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-25609-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id i26-20020a170906251a00b00a2af3048ed1si3416144ejb.873.2024.01.14.19.47.53 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 14 Jan 2024 19:47:53 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-25609-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=DMSAOjlS; spf=pass (google.com: domain of linux-kernel+bounces-25609-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-25609-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 8393A1F21380 for ; Mon, 15 Jan 2024 03:47:53 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 76A9920E6; Mon, 15 Jan 2024 03:47:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="DMSAOjlS" Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.9]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 38E90186A; Mon, 15 Jan 2024 03:47:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1705290461; x=1736826461; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=cpCFBsSH/4SlXTqGSHw0GnglPpDmXBuS/gJX+HbsERc=; b=DMSAOjlSb0sI+XfQbFXvPU/HrLAXXadm2Cqc8+ajdhe+y8UYLQ/rShcS oiOjy3poAkkkwd91rDwu0Yu9//TJ6fUGWj1k2wRj74GOjW1LZgb38sR7j iVm48M04iGO35A/LIUXggMGET3ImZ1ra/KSCA5cRG93IVykzPsG2Idnz+ MlWiWSk5o99+S9cP5OhMCqRW2qQGvczAknM+Tfw1dKfG3Gtvq4FnwR13R UqPkqaARrveXh4Zb7RIERUGXSslwnzi2OYkJfvoilz34mwVfK8/DOlS5o DFWPa0ilcm42F0bX47F1kb/bwMLim8AiMyDyNqVvG1CXURe00WMBBG//s A==; X-IronPort-AV: E=McAfee;i="6600,9927,10953"; a="6284464" X-IronPort-AV: E=Sophos;i="6.04,195,1695711600"; d="scan'208";a="6284464" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmvoesa103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Jan 2024 19:47:40 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10953"; a="776608748" X-IronPort-AV: E=Sophos;i="6.04,195,1695711600"; d="scan'208";a="776608748" Received: from lkp-server02.sh.intel.com (HELO b07ab15da5fe) ([10.239.97.151]) by orsmga007.jf.intel.com with ESMTP; 14 Jan 2024 19:47:36 -0800 Received: from kbuild by b07ab15da5fe with local (Exim 4.96) (envelope-from ) id 1rPDwZ-000C5o-0T; Mon, 15 Jan 2024 03:47:26 +0000 Date: Mon, 15 Jan 2024 11:46:04 +0800 From: kernel test robot To: Hu Yadi , jmorris@namei.org, serge@hallyn.com, shuah@kernel.org, mathieu.desnoyers@efficios.com, mic@digikod.net Cc: oe-kbuild-all@lists.linux.dev, linux-api@vger.kernel.org, linux-kernel@vger.kernel.org, linux-security-module@vger.kernel.org, linux-kselftest@vger.kernel.org, 514118380@qq.com, "Hu.Yadi" Subject: Re: [PATCH v3] selftests/landlock:Fix two build issues Message-ID: <202401151147.T1s11iHJ-lkp@intel.com> References: <20240112071245.669-1-hu.yadi@h3c.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240112071245.669-1-hu.yadi@h3c.com> Hi Hu, kernel test robot noticed the following build errors: [auto build test ERROR on shuah-kselftest/next] [also build test ERROR on shuah-kselftest/fixes linus/master v6.7 next-20240112] [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#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Hu-Yadi/selftests-landlock-Fix-two-build-issues/20240112-151805 base: https://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest.git next patch link: https://lore.kernel.org/r/20240112071245.669-1-hu.yadi%40h3c.com patch subject: [PATCH v3] selftests/landlock:Fix two build issues compiler: gcc-12 (Debian 12.2.0-14) 12.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240115/202401151147.T1s11iHJ-lkp@intel.com/reproduce) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot | Closes: https://lore.kernel.org/oe-kbuild-all/202401151147.T1s11iHJ-lkp@intel.com/ All errors (new ones prefixed by >>): >> net_test.c:25:14: error: static declaration of 'gettid' follows non-static declaration 25 | static pid_t gettid(void) | ^~~~~~ In file included from /usr/include/unistd.h:1218, from /usr/include/x86_64-linux-gnu/bits/sigstksz.h:24, from /usr/include/signal.h:328, from /usr/include/x86_64-linux-gnu/sys/wait.h:36, from common.h:16, from net_test.c:22: /usr/include/x86_64-linux-gnu/bits/unistd_ext.h:34:16: note: previous declaration of 'gettid' with type '__pid_t(void)' {aka 'int(void)'} 34 | extern __pid_t gettid (void) __THROW; | ^~~~~~ -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki