Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp280164iob; Wed, 18 May 2022 02:00:06 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwTe2sMd32TQa8tSaLNd0hy2X6xJp6K1kJrUSM5nEYsNDa5+5/cm3CZiMkmbwBknl2K0iKf X-Received: by 2002:a17:90a:1f4f:b0:1d8:23d9:de1e with SMTP id y15-20020a17090a1f4f00b001d823d9de1emr29185987pjy.42.1652864406634; Wed, 18 May 2022 02:00:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652864406; cv=none; d=google.com; s=arc-20160816; b=0QsXmjrIb612n5twgaH5X5mDEgyqr1i55Fc3RlwemvMaQzTEQiA3Pd4HAB2hhF+7Ud FDhRwPWtMN7oUXU+VbNYklz2Ze1CDfhdD91qKLr2tx22SQaYTmOB2MXADkauRqyWoRh2 9kVmqHjMCoPfjaJHQGmc40sVsOn67e3QaaoRRiQajWMSyzrQw/bTAL+9kVDCZ6aLeuQG kquRPCgMjD/JWMLRME7IgPHVE0Z1vDmD5AvithOSVgUAl/CGNcQsiASD1Bc7NPHxeuyg cE+LUpXCAsacMBpGh2D7jtjZIVwO/pqJ1JpvGnyAdVrS01j3XTPoiKVMygsZAhe9hhz3 RMJQ== 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=xmrYnsFKmDKCDOhNCpRZ0agKVD5SrUFqc27BsKIN58I=; b=AvqABoe0m0sVr+fCVd1dNqNdJHcQid1yKVG65yM4Z9hysisXp6tEsok7M5HANt0x8U 2OHjmhycFnyvZzOpiVXgn3jsii/ttThOnrH24KThtQAE2cJ8SOZaf2Azf78f1gTiVfTE 4TK9fjUx0Z8+BcFT/c6bGwX4SP2qpcTdJGTAo4I8c93E+iBAiymnXnw4QfukjgUK6zhf Xv+0h7NX1vOFTrwI7W5Wb9aJH5LL26ZQzX8zq0grYpBUJAwCZYZ9hMHCHD0OFKcuQDWf PCCFHPo9qLPdMktvE4TNiuLvCR9QwXFnremmYBh94XPREbfAet0TFS6KRVgmtm9LJYzN 1ZLw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=keH05FyV; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id i69-20020a639d48000000b003dbae1b13fasi1800429pgd.413.2022.05.18.02.00.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 18 May 2022 02:00:06 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=keH05FyV; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id A6DCB11804; Wed, 18 May 2022 01:59:21 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233700AbiERI6z (ORCPT + 99 others); Wed, 18 May 2022 04:58:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34542 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233688AbiERI6x (ORCPT ); Wed, 18 May 2022 04:58:53 -0400 Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9025D13CA3B; Wed, 18 May 2022 01:58:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1652864327; x=1684400327; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=xR5ju/m+J7LrQ2NG96ZPR+tRwF+afBBK3BjNI5wn7n4=; b=keH05FyVsuyBYS/g6Lkp6aZWjz8B0/3do5lA8Ha86hH7s0YZIYyU9u0A LyjXqRwwzsz6/NVxB9ftqmwzB8egsIXGGfKY2czvH3u7p7E/z7A9aRu5J FSsr3SKX9Qj4lHscOnAidR+SrC+pu6Pe7Or0TEXTS4sDpjnjs9msXos2T EabAnVZ8ppm2rvzZVcqwfBlY7Sf7Onejazh3bJloGh5vq9VPZEZKgVpHY KMOkKjtXOc9BXJkadKOskHg7deWL6tHkF8luGlZ2wK2UqgJegoIFFrhDc xFK7IYuch6ZnqBxpEeyOoCoXSW4PiMGx6B7vBknqxcQYC9w+PLtOvBIOE g==; X-IronPort-AV: E=McAfee;i="6400,9594,10350"; a="334615033" X-IronPort-AV: E=Sophos;i="5.91,234,1647327600"; d="scan'208";a="334615033" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 May 2022 01:58:28 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.91,234,1647327600"; d="scan'208";a="605789798" Received: from lkp-server02.sh.intel.com (HELO 242b25809ac7) ([10.239.97.151]) by orsmga001.jf.intel.com with ESMTP; 18 May 2022 01:58:25 -0700 Received: from kbuild by 242b25809ac7 with local (Exim 4.95) (envelope-from ) id 1nrFVh-0001zV-1B; Wed, 18 May 2022 08:58:25 +0000 Date: Wed, 18 May 2022 16:58:06 +0800 From: kernel test robot To: Matthias Kaehlcke , Alasdair Kergon , Mike Snitzer , Kees Cook , James Morris , "Serge E . Hallyn" Cc: kbuild-all@lists.01.org, linux-security-module@vger.kernel.org, dm-devel@redhat.com, linux-kernel@vger.kernel.org, linux-raid@vger.kernel.org, Song Liu , Douglas Anderson , Matthias Kaehlcke Subject: Re: [PATCH v4 2/3] LoadPin: Enable loading from trusted dm-verity devices Message-ID: <202205181616.3eTP2DaC-lkp@intel.com> References: <20220517163437.v4.2.I01c67af41d2f6525c6d023101671d7339a9bc8b5@changeid> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220517163437.v4.2.I01c67af41d2f6525c6d023101671d7339a9bc8b5@changeid> X-Spam-Status: No, score=-2.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 Matthias, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on device-mapper-dm/for-next] [also build test WARNING on song-md/md-next kees/for-next/pstore linus/master v5.18-rc7 next-20220517] [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/Matthias-Kaehlcke/LoadPin-Enable-loading-from-trusted-dm-verity-devices/20220518-073635 base: https://git.kernel.org/pub/scm/linux/kernel/git/device-mapper/linux-dm.git for-next config: m68k-allmodconfig (https://download.01.org/0day-ci/archive/20220518/202205181616.3eTP2DaC-lkp@intel.com/config) compiler: m68k-linux-gcc (GCC) 11.3.0 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 # https://github.com/intel-lab-lkp/linux/commit/755e5d82e4d054b2b58a54c94681080cc8cb4582 git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Matthias-Kaehlcke/LoadPin-Enable-loading-from-trusted-dm-verity-devices/20220518-073635 git checkout 755e5d82e4d054b2b58a54c94681080cc8cb4582 # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.3.0 make.cross W=1 O=build_dir ARCH=m68k SHELL=/bin/bash security/loadpin/ If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All warnings (new ones prefixed by >>): In file included from security/loadpin/loadpin.c:21: include/linux/dm-verity-loadpin.h:22:1: error: expected identifier or '(' before '{' token 22 | { | ^ >> include/linux/dm-verity-loadpin.h:21:20: warning: 'dm_verity_loadpin_is_sb_trusted' used but never defined 21 | static inline bool dm_verity_loadpin_is_sb_trusted(struct super_block *sb); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vim +/dm_verity_loadpin_is_sb_trusted +21 include/linux/dm-verity-loadpin.h afd03270f57b8c Matthias Kaehlcke 2022-05-17 17 afd03270f57b8c Matthias Kaehlcke 2022-05-17 18 #if IS_ENABLED(CONFIG_SECURITY_LOADPIN) && IS_BUILTIN(CONFIG_DM_VERITY) afd03270f57b8c Matthias Kaehlcke 2022-05-17 19 bool dm_verity_loadpin_is_sb_trusted(struct super_block *sb); afd03270f57b8c Matthias Kaehlcke 2022-05-17 20 #else afd03270f57b8c Matthias Kaehlcke 2022-05-17 @21 static inline bool dm_verity_loadpin_is_sb_trusted(struct super_block *sb); afd03270f57b8c Matthias Kaehlcke 2022-05-17 @22 { afd03270f57b8c Matthias Kaehlcke 2022-05-17 23 return false; afd03270f57b8c Matthias Kaehlcke 2022-05-17 24 } afd03270f57b8c Matthias Kaehlcke 2022-05-17 25 #endif afd03270f57b8c Matthias Kaehlcke 2022-05-17 26 -- 0-DAY CI Kernel Test Service https://01.org/lkp