From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.9]) by sourceware.org (Postfix) with ESMTPS id 42F313858D1E for ; Tue, 7 May 2024 23:42:02 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 42F313858D1E Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=intel.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 42F313858D1E Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=198.175.65.9 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1715125324; cv=none; b=OEBlFQJoAYUU++1OitZF044EyP3LENWLxzhp+cVHdGOFAgUUJJU1gnSRqhPhGklJjGwEf/bb3hAA4RTYh2pbghhdr2eeNVwhuQQgN+3N9vbHDWV+tvyBf0tCFP82qovEHSs4pKhf7t+6Tq5ZHYlX6OK866eUAxQNDTW5GUEDISQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1715125324; c=relaxed/simple; bh=DOOMxtEONE1StSq2FtWYdjIVYayHInKfiOQ2VQA8DqI=; h=DKIM-Signature:Date:From:To:Subject:Message-ID:MIME-Version; b=KE3jICyxSvifBIGnGScu45hG6Nr4vx+zynKXOOWOfxiTw+GT/BCeJV7azjwZuJdq3+r+4xapUm0EquKFyyBmtO17PioOBMnOA2HCbD7JjnQOeM7z8MUlSqMzCb38hjXLSTclBelaF9mLJCpZnyROx4axoiQuBRGi+DOvi64XtH8= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1715125322; x=1746661322; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=DOOMxtEONE1StSq2FtWYdjIVYayHInKfiOQ2VQA8DqI=; b=M+7TZt4nJHDUYcN8oD4ycEGu1U2CriJW+QFUafk74m1uwr7e4aUuEc8U WzLTwy9hawk+ZXsZV8fBsbkG0vVxSnxurT2UoSHfBbzrRXor4LL3siUYY mIKDMa/aI4J3miH4G/uEz3+9XeuNmvLB6dwFpsMMFloxQxEeHTw8RcHOx 6daYTagUWXcGYKO9aJm92P2LcfcLYufB6pmxs/ARauNPz/Dpw860BVZuv h4PYLFZUeq240kx9KqRDLLUuLAK24xilPPm1NDSU1LiS88PzxZEoM7RuN Lg42+5E5ffb4OFtPR4FYrmxlS21zB1zVp1536jJVVf+kHfvMWtXwApf6U w==; X-CSE-ConnectionGUID: tr0XPyrYRu6tWax24LUfZw== X-CSE-MsgGUID: sgnxD7EJT0OymukoLcOtGA== X-IronPort-AV: E=McAfee;i="6600,9927,11066"; a="33468077" X-IronPort-AV: E=Sophos;i="6.08,143,1712646000"; d="scan'208";a="33468077" Received: from fmviesa008.fm.intel.com ([10.60.135.148]) by orvoesa101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 May 2024 16:42:00 -0700 X-CSE-ConnectionGUID: yPv5lb/DRsK/JtKV/zB6FA== X-CSE-MsgGUID: bkpKzxQHSzu23mvdV7jzUA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.08,143,1712646000"; d="scan'208";a="28647216" Received: from lkp-server01.sh.intel.com (HELO f8b243fe6e68) ([10.239.97.150]) by fmviesa008.fm.intel.com with ESMTP; 07 May 2024 16:41:55 -0700 Received: from kbuild by f8b243fe6e68 with local (Exim 4.96) (envelope-from ) id 1s4URV-0002km-0v; Tue, 07 May 2024 23:41:53 +0000 Date: Wed, 8 May 2024 07:40:57 +0800 From: kernel test robot To: Vignesh Balasubramanian , linux-kernel@vger.kernel.org, linux-toolchains@vger.kernel.org Cc: oe-kbuild-all@lists.linux.dev, mpe@ellerman.id.au, npiggin@gmail.com, christophe.leroy@csgroup.eu, aneesh.kumar@kernel.org, naveen.n.rao@linux.ibm.com, ebiederm@xmission.com, keescook@chromium.org, x86@kernel.org, linuxppc-dev@lists.ozlabs.org, linux-mm@kvack.org, bpetkov@amd.com, jinisusan.george@amd.com, matz@suse.de, binutils@sourceware.org, jhb@freebsd.org, felix.willgerodt@intel.com, Vignesh Balasubramanian Subject: Re: [PATCH v2 1/1] x86/elf: Add a new .note section containing Xfeatures information to x86 core files Message-ID: <202405080715.hYQ1ae9v-lkp@intel.com> References: <20240507095330.2674-2-vigbalas@amd.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240507095330.2674-2-vigbalas@amd.com> X-Spam-Status: No, score=-3.0 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_NONE,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: Hi Vignesh, kernel test robot noticed the following build warnings: [auto build test WARNING on kees/for-next/execve] [also build test WARNING on tip/x86/core kees/for-next/pstore kees/for-next/kspp linus/master v6.9-rc7 next-20240507] [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/Vignesh-Balasubramanian/x86-elf-Add-a-new-note-section-containing-Xfeatures-information-to-x86-core-files/20240507-175615 base: https://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git for-next/execve patch link: https://lore.kernel.org/r/20240507095330.2674-2-vigbalas%40amd.com patch subject: [PATCH v2 1/1] x86/elf: Add a new .note section containing Xfeatures information to x86 core files config: i386-buildonly-randconfig-006-20240508 (https://download.01.org/0day-ci/archive/20240508/202405080715.hYQ1ae9v-lkp@intel.com/config) compiler: gcc-8 (Ubuntu 8.4.0-3ubuntu2) 8.4.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240508/202405080715.hYQ1ae9v-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/202405080715.hYQ1ae9v-lkp@intel.com/ All warnings (new ones prefixed by >>): >> arch/x86/kernel/fpu/xstate.c:91:19: warning: 'owner_name' defined but not used [-Wunused-const-variable=] static const char owner_name[] = "LINUX"; ^~~~~~~~~~ In file included from include/linux/string.h:369, from arch/x86/include/asm/page_32.h:18, from arch/x86/include/asm/page.h:14, from arch/x86/include/asm/processor.h:20, from arch/x86/include/asm/timex.h:5, from include/linux/timex.h:67, from include/linux/time32.h:13, from include/linux/time.h:60, from include/linux/compat.h:10, from arch/x86/kernel/fpu/xstate.c:8: In function 'fortify_memcpy_chk', inlined from 'membuf_write.isra.6' at include/linux/regset.h:42:3, inlined from '__copy_xstate_to_uabi_buf' at arch/x86/kernel/fpu/xstate.c:1049:2: include/linux/fortify-string.h:562:4: warning: call to '__read_overflow2_field' declared with attribute warning: detected read beyond size of field (2nd parameter); maybe use struct_group()? __read_overflow2_field(q_size_field, size); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vim +/owner_name +91 arch/x86/kernel/fpu/xstate.c 90 > 91 static const char owner_name[] = "LINUX"; 92 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki