Received: by 2002:a05:6602:18e:0:0:0:0 with SMTP id m14csp1283232ioo; Fri, 27 May 2022 05:40:47 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw0QlXDwyI3L7Hich8LUBPWn1fHsJR4YH1+pw2dR8pBacHnqZWJlA8s+e4DX/KKVRpx6x9o X-Received: by 2002:a63:b705:0:b0:3fa:5e1c:ca11 with SMTP id t5-20020a63b705000000b003fa5e1cca11mr20982090pgf.31.1653655247705; Fri, 27 May 2022 05:40:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1653655247; cv=none; d=google.com; s=arc-20160816; b=XDC2rdBkvPPNRILKVrf33GKEe0H3VBl7yKLrLe1X2WGxGGdE/hf91XTZFSKWsG6/X1 VCviVTYCwXv7n+VIY7gFXVees8Kk1b0ANgja+Jm+5ET0QOtgImHg3UuuscyYOdFNlQfM 0gw9Ypoo48helGEZA5HiJLtxbHC39CAJMTmk4jfCN5MuGtbNXkc/xWRdKXwZH3HXmh2b XlH/PRc+fC0FdQtI2AcUxf9Kpx1c9ods1yXUqFPAL0Dzl7jqPm3qVkL2k9haORNlAY/L IeTcsWyDmnnpMfbqbAQmoRyAKUmrgrPmzY2Y96Od+zzDHmtgjLkBkHZ643nIGB/QY+1T QvrQ== 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=0SZPYummOJ5UHxDImBjfSMIKAenN8CG6t71mb2VhbKY=; b=N44Z7hOz6ODdLNe2U76CDA98S+2RuNrtRUEhwZQQUmpvschGZ102njwtp2mAkD+/sE QDGkqtKizAvT0lulwjKU9DMFDtmvQNlBkKXYEueyafTMzuutl9o8eXs7Rr6yGQyqPrcB Caf+gLvpeHKC5bdClJa+qMHKFFxWNcMBwzmCPG6Wb07fFFt1W3shA5GE104UHwycfPRd HXuIYm4Te1l8vjY0hxBVp1HIBvn/ObLGIFnxf6ie7GYaNTG6hZsAJDGT2OKf8PZnS0eu dE4pAFNWp4zBrzOVXKsrUkkePnwP6vZex42GU5aUxmLu+fo+BZL2bpv+jlIDj3uQEJuz IyyQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=gPvrifL2; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-crypto-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 qe14-20020a17090b4f8e00b001d984c76f9asi2806603pjb.127.2022.05.27.05.40.18; Fri, 27 May 2022 05:40:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto-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=gPvrifL2; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-crypto-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 S241208AbiE0HfZ (ORCPT + 99 others); Fri, 27 May 2022 03:35:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52240 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1347541AbiE0HfY (ORCPT ); Fri, 27 May 2022 03:35:24 -0400 Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 47622F748B for ; Fri, 27 May 2022 00:35:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1653636921; x=1685172921; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=VYwmOmBPjINlynsTfW5Xd7vJTN2cgivmkkg3cKE8lqk=; b=gPvrifL2p15c6BhA/REl3CL7GgFspW3mMLZHOiESWPXhJtY+6jDQQQjH gCFImpDMxGPqEz0IoSgyXjvDUjF647fJIQwLXcLIybTqH3DkaxpdV14ia QaNqwcmKpRAe8AGwhgbqzj4sywNn++u7PbAmT0+zkIC3mk3kzKhDV+I6u R8T///u5bX9od9hVCjFTf861aTMH+X7A+TuT/FowvNrTgvko6foQ2kKx7 The8QbWVZh8lzR8r7sOZA6CbqKVFTUlpC/N5RPA7Ghc8+rWlxhiSBKTVa ZMNjQLDvNKr75tNaWS+rmT0G0PEGvu2paLsymuLExiAw+7WJw4VKPZyIx g==; X-IronPort-AV: E=McAfee;i="6400,9594,10359"; a="256481559" X-IronPort-AV: E=Sophos;i="5.91,254,1647327600"; d="scan'208";a="256481559" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 May 2022 00:35:20 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.91,254,1647327600"; d="scan'208";a="610114827" Received: from lkp-server01.sh.intel.com (HELO db63a1be7222) ([10.239.97.150]) by orsmga001.jf.intel.com with ESMTP; 27 May 2022 00:35:19 -0700 Received: from kbuild by db63a1be7222 with local (Exim 4.95) (envelope-from ) id 1nuUVC-0004WS-Fo; Fri, 27 May 2022 07:35:18 +0000 Date: Fri, 27 May 2022 15:34:37 +0800 From: kernel test robot To: "Jason A. Donenfeld" , linux-crypto@vger.kernel.org, herbert@gondor.apana.org.au Cc: kbuild-all@lists.01.org, "Jason A. Donenfeld" Subject: Re: [PATCH crypto] crypto: poly1305 - cleanup stray CRYPTO_LIB_POLY1305_RSIZE Message-ID: <202205271557.oReeyAVT-lkp@intel.com> References: <20220526093547.212294-1-Jason@zx2c4.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220526093547.212294-1-Jason@zx2c4.com> X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,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-crypto@vger.kernel.org Hi "Jason, I love your patch! Yet something to improve: [auto build test ERROR on herbert-cryptodev-2.6/master] [also build test ERROR on herbert-crypto-2.6/master crng-random/master v5.18 next-20220526] [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/Jason-A-Donenfeld/crypto-poly1305-cleanup-stray-CRYPTO_LIB_POLY1305_RSIZE/20220526-173718 base: https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git master config: i386-debian-10.3-kselftests (https://download.01.org/0day-ci/archive/20220527/202205271557.oReeyAVT-lkp@intel.com/config) compiler: gcc-11 (Debian 11.3.0-1) 11.3.0 reproduce (this is a W=1 build): # https://github.com/intel-lab-lkp/linux/commit/fde026a9e6312b3278b170ca6a41cd84a6fb935e git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Jason-A-Donenfeld/crypto-poly1305-cleanup-stray-CRYPTO_LIB_POLY1305_RSIZE/20220526-173718 git checkout fde026a9e6312b3278b170ca6a41cd84a6fb935e # save the config file mkdir build_dir && cp config build_dir/.config make W=1 O=build_dir ARCH=i386 SHELL=/bin/bash lib/crypto/ If you fix the issue, kindly add following tag where applicable Reported-by: kernel test robot All errors (new ones prefixed by >>): In file included from include/crypto/internal/poly1305.h:11, from lib/crypto/poly1305-donna32.c:11: >> include/crypto/poly1305.h:56:46: error: 'CONFIG_CRYPTO_LIB_POLY1305_RSIZE' undeclared here (not in a function); did you mean 'CONFIG_CRYPTO_POLY1305_MODULE'? 56 | struct poly1305_key opaque_r[CONFIG_CRYPTO_LIB_POLY1305_RSIZE]; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | CONFIG_CRYPTO_POLY1305_MODULE vim +56 include/crypto/poly1305.h 878afc35cd28bc Eric Biggers 2018-11-16 40 2546f811ef45fc Martin Willi 2015-07-16 41 struct poly1305_desc_ctx { 2546f811ef45fc Martin Willi 2015-07-16 42 /* partial buffer */ 2546f811ef45fc Martin Willi 2015-07-16 43 u8 buf[POLY1305_BLOCK_SIZE]; 2546f811ef45fc Martin Willi 2015-07-16 44 /* bytes used in partial buffer */ 2546f811ef45fc Martin Willi 2015-07-16 45 unsigned int buflen; ad8f5b88383ea6 Ard Biesheuvel 2019-11-08 46 /* how many keys have been set in r[] */ ad8f5b88383ea6 Ard Biesheuvel 2019-11-08 47 unsigned short rset; ad8f5b88383ea6 Ard Biesheuvel 2019-11-08 48 /* whether s[] has been set */ 2546f811ef45fc Martin Willi 2015-07-16 49 bool sset; ad8f5b88383ea6 Ard Biesheuvel 2019-11-08 50 /* finalize key */ ad8f5b88383ea6 Ard Biesheuvel 2019-11-08 51 u32 s[4]; ad8f5b88383ea6 Ard Biesheuvel 2019-11-08 52 /* accumulator */ ad8f5b88383ea6 Ard Biesheuvel 2019-11-08 53 struct poly1305_state h; ad8f5b88383ea6 Ard Biesheuvel 2019-11-08 54 /* key */ 1c08a104360f3e Jason A. Donenfeld 2020-01-05 55 union { 1c08a104360f3e Jason A. Donenfeld 2020-01-05 @56 struct poly1305_key opaque_r[CONFIG_CRYPTO_LIB_POLY1305_RSIZE]; 1c08a104360f3e Jason A. Donenfeld 2020-01-05 57 struct poly1305_core_key core_r; 1c08a104360f3e Jason A. Donenfeld 2020-01-05 58 }; 2546f811ef45fc Martin Willi 2015-07-16 59 }; 2546f811ef45fc Martin Willi 2015-07-16 60 -- 0-DAY CI Kernel Test Service https://01.org/lkp