Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp2653994rdb; Mon, 25 Dec 2023 23:50:00 -0800 (PST) X-Google-Smtp-Source: AGHT+IGorhKPusC2Rxo5jggJF29E7+hKu7ZKCdIwQJbrMMjSVJ2HTX2DNzisPNSgwwC81kxK3n3a X-Received: by 2002:a05:6808:3081:b0:3ba:fcd:a98f with SMTP id bl1-20020a056808308100b003ba0fcda98fmr7618292oib.51.1703577000415; Mon, 25 Dec 2023 23:50:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703577000; cv=none; d=google.com; s=arc-20160816; b=Ag626U1yasdUN7iFFmKV0cDuWWwrLks5YUFj1E/0CELkzqgnE/j7pqbkL4c5578ZjG paMRGb6UUZ0XNfA34Qn0dAEwMB90VJFikJPDgTln2NKX19PGhqnIwpZqGJ3pVjx7hQPw 0OPrFtTlTVuLzBYMOCav/OYm0qMoJyHRSuQEFxN6KdamcN9Mg75a3NirRNzdr8LuW4ZV x/+lwUtKaWnbeyeNnhhY17a/CmGH4eLvmrsBKlgjFBpXhHwQhXbpUDS/F1OELrdff66H 0TB5zJoSxnIxq3nc5QcVbkfpJ5lYBKJ2DHyT/xvAeUWd4NesWVcM4Trq8orrPCgyD9OG X4qQ== 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=z/xJUZ9tjQSh/Cq9i9hTbuW8W+yLI64dZOTevHM4xrs=; fh=DygyzUSdnvrQP0eekDvrMUGChzqcC4Yufps6RmQbGi0=; b=GHv1xlIoiWel6K8IwoXQh/hLgoExEHPNbtiUhV0vpE4ILLAtEiuuID7NxwMDOkyn5s NhOh/0UUFQ9rRtj/ih0jKLawnDRP96+QD4MVH318rjLxnWaPPn//stCUqTdVwVj1HEOp exyE+t93KhE4n8MUgSx5c550iVFgSwYs6tSqnOyvqsFfSaHzEaW7FGbQrJTm5PuhuMPU bT7TTNkmMkdfgge1hRo2dthEek50YrOIbO7gUy82SaNmMFgITSx2jp2EJlTa4KgXNxdj Fl7ujW2mNhALDGt5d/YExNNapPDokutnWb4eyibDhwdzPyEKUuM2fOSGrcb8wje/tAZu hFew== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=lOKfEY0k; spf=pass (google.com: domain of linux-crypto+bounces-1037-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-crypto+bounces-1037-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id q6-20020a635046000000b005ce24ee6a90si2484180pgl.342.2023.12.25.23.50.00 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Dec 2023 23:50:00 -0800 (PST) Received-SPF: pass (google.com: domain of linux-crypto+bounces-1037-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=lOKfEY0k; spf=pass (google.com: domain of linux-crypto+bounces-1037-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-crypto+bounces-1037-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 15990282A39 for ; Tue, 26 Dec 2023 07:50:00 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 734084C63B; Tue, 26 Dec 2023 07:49:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="lOKfEY0k" X-Original-To: linux-crypto@vger.kernel.org Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.65]) (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 91C964C625; Tue, 26 Dec 2023 07:49:53 +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=1703576993; x=1735112993; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=U+wO1tAzMJBsNwBmiNDTSqAm2EQmTUDeXsbExsAPcjk=; b=lOKfEY0kVGMBrC993az55Gmu1SFlDwGymoE9IH4VFgpxOaYAKo5135UY /03u+3h2HwHTL1Rx6/WspGExCoT39R4j+otw18kJnY9tFCfYa7Qe6V7JR q9/1WT2nNrD0RG/1IYZfQb77b4yq6OFVbosbTJjnKbLsoLjwFzDBLtuHO rCr/ILPc1TCUmKTz9FWr0i8aEQYVS9rwxSfnWhuk6iijIMzVae1UYrdpS 2JgokdFsMlQzG0+2nUEZQ7a6R0qKpcmlIKJJQBYISHlkFa4OVbBPX0ZNN DGIeCJ9n3U0f1t0FHwbcidC0IhIz6DdyKRIXkAaPiTZL7GVv/FRAPbZkX g==; X-IronPort-AV: E=McAfee;i="6600,9927,10934"; a="400149436" X-IronPort-AV: E=Sophos;i="6.04,304,1695711600"; d="scan'208";a="400149436" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Dec 2023 23:49:52 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10934"; a="921505174" X-IronPort-AV: E=Sophos;i="6.04,304,1695711600"; d="scan'208";a="921505174" Received: from lkp-server02.sh.intel.com (HELO b07ab15da5fe) ([10.239.97.151]) by fmsmga001.fm.intel.com with ESMTP; 25 Dec 2023 23:49:46 -0800 Received: from kbuild by b07ab15da5fe with local (Exim 4.96) (envelope-from ) id 1rI2C8-000EDF-0e; Tue, 26 Dec 2023 07:49:44 +0000 Date: Tue, 26 Dec 2023 15:49:22 +0800 From: kernel test robot To: LeoLiu-oc , olivia@selenic.com, herbert@gondor.apana.org.au, jiajie.ho@starfivetech.com, conor.dooley@microchip.com, martin@kaiser.cx, mmyangfl@gmail.com, jenny.zhang@starfivetech.com, robh@kernel.org, l.stelmach@samsung.com, ardb@kernel.org, linux-kernel@vger.kernel.org, linux-crypto@vger.kernel.org Cc: oe-kbuild-all@lists.linux.dev, CobeChen@zhaoxin.com, TonyWWang@zhaoxin.com, YunShen@zhaoxin.com, LeoLiu@zhaoxin.com, LeoLiuoc Subject: Re: [PATCH v4] hwrng: add Zhaoxin rng driver base on rep_xstore instruction Message-ID: <202312261505.rDaQJwAq-lkp@intel.com> References: <20231225025330.809554-1-LeoLiu-oc@zhaoxin.com> Precedence: bulk X-Mailing-List: linux-crypto@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: <20231225025330.809554-1-LeoLiu-oc@zhaoxin.com> Hi LeoLiu-oc, kernel test robot noticed the following build errors: [auto build test ERROR on char-misc/char-misc-testing] [also build test ERROR on char-misc/char-misc-next char-misc/char-misc-linus herbert-cryptodev-2.6/master linus/master v6.7-rc7 next-20231222] [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/LeoLiu-oc/hwrng-add-Zhaoxin-rng-driver-base-on-rep_xstore-instruction/20231225-153520 base: char-misc/char-misc-testing patch link: https://lore.kernel.org/r/20231225025330.809554-1-LeoLiu-oc%40zhaoxin.com patch subject: [PATCH v4] hwrng: add Zhaoxin rng driver base on rep_xstore instruction config: i386-randconfig-141-20231225 (https://download.01.org/0day-ci/archive/20231226/202312261505.rDaQJwAq-lkp@intel.com/config) compiler: clang version 16.0.4 (https://github.com/llvm/llvm-project.git ae42196bc493ffe877a7e3dff8be32035dea4d07) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231226/202312261505.rDaQJwAq-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/202312261505.rDaQJwAq-lkp@intel.com/ All errors (new ones prefixed by >>): >> drivers/char/hw_random/via-rng.c:220:26: error: redefinition of 'via_rng_cpu_id' with a different type: 'struct x86_cpu_id[]' vs 'const struct x86_cpu_id[]' static struct x86_cpu_id via_rng_cpu_id[] = { ^ drivers/char/hw_random/via-rng.c:38:32: note: previous definition is here static const struct x86_cpu_id via_rng_cpu_id[]; ^ >> drivers/char/hw_random/via-rng.c:224:1: error: definition of variable with array type needs an explicit size or an initializer MODULE_DEVICE_TABLE(x86cpu, via_rng_cpu_id); ^ include/linux/module.h:244:21: note: expanded from macro 'MODULE_DEVICE_TABLE' extern typeof(name) __mod_##type##__##name##_device_table \ ^ :56:1: note: expanded from here __mod_x86cpu__via_rng_cpu_id_device_table ^ drivers/char/hw_random/via-rng.c:38:32: warning: tentative array definition assumed to have one element static const struct x86_cpu_id via_rng_cpu_id[]; ^ 1 warning and 2 errors generated. vim +220 drivers/char/hw_random/via-rng.c 219 > 220 static struct x86_cpu_id via_rng_cpu_id[] = { 221 X86_MATCH_VENDOR_FAM_FEATURE(CENTAUR, 6, X86_FEATURE_XSTORE, NULL), 222 {} 223 }; > 224 MODULE_DEVICE_TABLE(x86cpu, via_rng_cpu_id); 225 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki