From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="e3Kh6aLw" Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.7]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4E275D66; Wed, 29 Nov 2023 20:03:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1701317024; x=1732853024; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=cR5Izo2xklzJNmbee5XWcMhiPrBrVwOZxtcbWhIh74g=; b=e3Kh6aLwCSnLADR8vg/1UJGnTqY67GLjGFBU2BF1n67eJGnUZom6zAqh 4JSjz291qBhfuWhxYPHMlCVdtxEfW7SNLN1pPWMiuNxt0DFcgjqG3KdV3 cwSen/6zfqpr22tX252uWltWSEbNAK7cEAc0IOBdauPFImhHICzv8S+WT FhpeDF3yq9uwDmdLedAxvdKhI7O3/uO/X/KfVyf2D/kEb+RoKYpUZQj3K cfIFddN9TcCTXhtlxWAsjZgWyIlrlD///fnTVqmDLdQn2ZyytWeFyqDBt PuiobjTBRvwN51S3DWhJzCC1XGIm/izj0lQVduyrXDiDTQvmSdFHw1sMX w==; X-IronPort-AV: E=McAfee;i="6600,9927,10909"; a="14819195" X-IronPort-AV: E=Sophos;i="6.04,237,1695711600"; d="scan'208";a="14819195" Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmvoesa101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Nov 2023 20:03:11 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10909"; a="1016502568" X-IronPort-AV: E=Sophos;i="6.04,237,1695711600"; d="scan'208";a="1016502568" Received: from lkp-server02.sh.intel.com (HELO b07ab15da5fe) ([10.239.97.151]) by fmsmga006.fm.intel.com with ESMTP; 29 Nov 2023 20:03:06 -0800 Received: from kbuild by b07ab15da5fe with local (Exim 4.96) (envelope-from ) id 1r8YGW-0001KE-26; Thu, 30 Nov 2023 04:03:04 +0000 Date: Thu, 30 Nov 2023 12:02:53 +0800 From: kernel test robot To: Song Liu , bpf@vger.kernel.org, linux-security-module@vger.kernel.org, linux-fsdevel@vger.kernel.org, fsverity@lists.linux.dev Cc: oe-kbuild-all@lists.linux.dev, ebiggers@kernel.org, ast@kernel.org, daniel@iogearbox.net, andrii@kernel.org, martin.lau@linux.dev, brauner@kernel.org, viro@zeniv.linux.org.uk, casey@schaufler-ca.com, amir73il@gmail.com, kpsingh@kernel.org, roberto.sassu@huawei.com, kernel-team@meta.com, Song Liu Subject: Re: [PATCH v14 bpf-next 6/6] selftests/bpf: Add test that uses fsverity and xattr to sign a file Message-ID: <202311301002.mGJ2mc2v-lkp@intel.com> References: <20231129003656.1165061-7-song@kernel.org> Precedence: bulk X-Mailing-List: linux-fsdevel@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: <20231129003656.1165061-7-song@kernel.org> Hi Song, kernel test robot noticed the following build errors: [auto build test ERROR on bpf-next/master] url: https://github.com/intel-lab-lkp/linux/commits/Song-Liu/bpf-Add-kfunc-bpf_get_file_xattr/20231129-084133 base: https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next.git master patch link: https://lore.kernel.org/r/20231129003656.1165061-7-song%40kernel.org patch subject: [PATCH v14 bpf-next 6/6] selftests/bpf: Add test that uses fsverity and xattr to sign a file 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/20231130/202311301002.mGJ2mc2v-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/202311301002.mGJ2mc2v-lkp@intel.com/ All errors (new ones prefixed by >>): >> progs/test_sig_in_xattr.c:36:26: error: invalid application of 'sizeof' to an incomplete type 'struct fsverity_digest' 36 | char digest[MAGIC_SIZE + sizeof(struct fsverity_digest) + SHA256_DIGEST_SIZE]; | ^ ~~~~~~~~~~~~~~~~~~~~~~~~ progs/test_sig_in_xattr.c:36:40: note: forward declaration of 'struct fsverity_digest' 36 | char digest[MAGIC_SIZE + sizeof(struct fsverity_digest) + SHA256_DIGEST_SIZE]; | ^ 1 error generated. -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki