Received: by 2002:ab2:710b:0:b0:1ef:a325:1205 with SMTP id z11csp1623483lql; Wed, 13 Mar 2024 03:43:53 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUME+DIhMolHdp/P4H9cTY533OxJsQ2YzL1VBJCQsSa4Jn6Tcv7gGU2J0Yid90xtSV+VZ9wtoyAGCyPYojEND09U5tNn93CjjxUfbAyyg== X-Google-Smtp-Source: AGHT+IEGqLNTOmyCP9WUGKQw/+9x7hXTdUm5CsjTWQ7G2dqvSDwVaIqXVb+mjoNY2th3O61Z00cC X-Received: by 2002:a05:6102:a48:b0:473:35b2:7530 with SMTP id i8-20020a0561020a4800b0047335b27530mr9797654vss.23.1710326632785; Wed, 13 Mar 2024 03:43:52 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710326632; cv=pass; d=google.com; s=arc-20160816; b=c/oqV0EjU67HzzQeJHl0Hsoj50LJ1GQEMc444xMe6qPHZrKeZisgfSrsUxmzoFFZDK fPkKmVo/g83wv2hhj5XcbflideH93kKjMM0E0yPFcU8TvzEQx1JByPq5XQQLF/qa2TNt jQf6nejdx79LSmrr2mNmyK7wC0SGyZfDsJI6zf1SWlg7PF5NYBI0/t3qaD3+LWvsQoWp h2sggKxZ5bHKvxQ3bDJWYOOGfOyfMayQqosx5LFSPKIC6TuXJ7bzszva1PlopJbIR2zG sfT5BaN3OrO/yLet6GYHoP+gPJ1vW/tXGmwAb2G86qZbik7FH4CqDjm/C3362K91xbn6 laDw== ARC-Message-Signature: i=2; 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=q6/6FhB8C9Q8jkSANS6lWOTY6++04Ql/YRBSDa/u2n4=; fh=iPEWs/yc9YJQ0N5l6CpWAXvuXwK5uGfeYFpbUr9LJkA=; b=Cbggf1TdBi/PeFu7Fms2XHaoGx1YsAVqkZnFO8B20eW+pvvwVtVwFEMrtXcvrGAhDe Oq0h3CrS/eMQp9SNLO6MmjYl9DyYjowz1bN9VhXZoszA1I9k+3s7bXEsHzKbrY9yoLOu bAHIYi5c+F3k9cGA6/SpGP7obxlHUfTUNvwHsNAXHlF52QUNImYA3qzyOlhGsKR5E/Q9 ZgyrukFNPcl9tkwO5syPDpaKvi9E75RIgvWji+G1YUNSHhWoGd6yT/Qr4O2cOFGdILEF 3HfinBwmD/rUQP2obrsLxfn/PiV8KET4n4MEGPWvhFvU9ulkC5JU1XTXWgW/0kmuEuFR Px6Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=gxQrFT+b; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); spf=pass (google.com: domain of linux-crypto+bounces-2660-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-crypto+bounces-2660-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id 9-20020a05621420e900b00690c04bf41dsi9193272qvk.31.2024.03.13.03.43.52 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Mar 2024 03:43:52 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto+bounces-2660-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=gxQrFT+b; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); spf=pass (google.com: domain of linux-crypto+bounces-2660-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-crypto+bounces-2660-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 7599F1C21381 for ; Wed, 13 Mar 2024 10:43:52 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7521A383BD; Wed, 13 Mar 2024 10:43:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="gxQrFT+b" X-Original-To: linux-crypto@vger.kernel.org Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.15]) (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 5A8F3EAC8 for ; Wed, 13 Mar 2024 10:43:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.15 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710326629; cv=none; b=n0qtEoQzAzrf9uez4d8QfTk0xTScUijmqRzamGZm7sbPxsXAmdxMb6j3hkpuKEsbrBk5YdK853/gHD9fOUQAd89GApMQoQHFf1MLOF/8gNq/FsQWCZkDPxgdTnmm95Wo7lyK5TYp3IHAZcSQSXCOZr8RV1D3WAmcFw4LP1HuN54= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710326629; c=relaxed/simple; bh=gEppbyG4qtw7JZw3iiLeNi9lT7CPEASQXeZKWF8MCfI=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=q6XihKS0cREKJI7hPQMqCLW2UyHfEP2FgYz/1qQL+bQyEyNKM3vUDCnpExMERgZrrEl2fBnoe1v/O2FTA1eWpD94kmb5nU1kJJ1FYvzMQFtfBDZ90bGKMmjMmXgn4hYWOoTqZudw9VXMBgtLk5Qjvdxaj+UPLNeiorZ1CVsYvVg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=gxQrFT+b; arc=none smtp.client-ip=192.198.163.15 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=1710326627; x=1741862627; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=gEppbyG4qtw7JZw3iiLeNi9lT7CPEASQXeZKWF8MCfI=; b=gxQrFT+bjd9EoLbrICbx1BT8U3g3Ux22UimOLgxCAFeRNNK82OmKUg/h XF7Uc+LzxtGWXMbJ8tcbef6l8ug1rbG5+kJGybfXi/Kfzp7M4uxx5v1zH 46yMuqqXyDwtv/kwc5BpAQ+kBBU0EVDPt1KEcC0/XPAbgmdhK8Nbd1DRs xPrWdgVFy6q6dbo4uQiM4fj0qfDu/NlHEqs9HdBXOqpZFPIRSjIFplfNZ 28lgVjFGkIAC5iDzi6uQBFsPLZX94DyNUTRxS4oabhVE/v6dUD8KuXr7T PWTn96rW+vrQx2Esjy9j1bjWRToyyEaoy23341ddCH+Y3J9cKVZ9TdYak g==; X-IronPort-AV: E=McAfee;i="6600,9927,11011"; a="5252035" X-IronPort-AV: E=Sophos;i="6.07,122,1708416000"; d="scan'208";a="5252035" Received: from fmviesa003.fm.intel.com ([10.60.135.143]) by fmvoesa109.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Mar 2024 03:43:46 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.07,122,1708416000"; d="scan'208";a="16452335" Received: from lkp-server01.sh.intel.com (HELO b21307750695) ([10.239.97.150]) by fmviesa003.fm.intel.com with ESMTP; 13 Mar 2024 03:43:45 -0700 Received: from kbuild by b21307750695 with local (Exim 4.96) (envelope-from ) id 1rkM5G-000CHf-2Z; Wed, 13 Mar 2024 10:43:42 +0000 Date: Wed, 13 Mar 2024 18:43:17 +0800 From: kernel test robot To: Pavitrakumar M , herbert@gondor.apana.org.au, linux-crypto@vger.kernel.org Cc: oe-kbuild-all@lists.linux.dev, Ruud.Derwig@synopsys.com, manjunath.hadli@vayavyalabs.com, Pavitrakumar M Subject: Re: [PATCH 4/4] Enable Driver compilation in crypto Kconfig and Makefile file Message-ID: <202403131810.zpesoKjk-lkp@intel.com> References: <20240305112831.3380896-5-pavitrakumarm@vayavyalabs.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: <20240305112831.3380896-5-pavitrakumarm@vayavyalabs.com> Hi Pavitrakumar, kernel test robot noticed the following build errors: [auto build test ERROR on herbert-cryptodev-2.6/master] [also build test ERROR on herbert-crypto-2.6/master linus/master v6.8 next-20240313] [cannot apply to xilinx-xlnx/master] [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/Pavitrakumar-M/Add-SPAcc-driver-to-Linux-kernel/20240305-193337 base: https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git master patch link: https://lore.kernel.org/r/20240305112831.3380896-5-pavitrakumarm%40vayavyalabs.com patch subject: [PATCH 4/4] Enable Driver compilation in crypto Kconfig and Makefile file config: csky-allyesconfig (https://download.01.org/0day-ci/archive/20240313/202403131810.zpesoKjk-lkp@intel.com/config) compiler: csky-linux-gcc (GCC) 13.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240313/202403131810.zpesoKjk-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/202403131810.zpesoKjk-lkp@intel.com/ All errors (new ones prefixed by >>): drivers/crypto/dwc-spacc/spacc_core.c:2835:56: warning: 'reg_names' defined but not used [-Wunused-const-variable=] 2835 | static const struct { unsigned int addr; char *name; } reg_names[] = { | ^~~~~~~~~ drivers/crypto/dwc-spacc/spacc_core.c:984:26: warning: 'names' defined but not used [-Wunused-const-variable=] 984 | static const char *const names[] = { | ^~~~~ In file included from : In function 'spacc_sg_chain', inlined from 'fixup_sg' at drivers/crypto/dwc-spacc/spacc_core.c:1115:4, inlined from 'spacc_sgs_to_ddt' at drivers/crypto/dwc-spacc/spacc_core.c:1144:16: >> include/linux/compiler_types.h:435:45: error: call to '__compiletime_assert_252' declared with attribute error: BUILD_BUG_ON failed: IS_ENABLED(CONFIG_DEBUG_SG) 435 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^ include/linux/compiler_types.h:416:25: note: in definition of macro '__compiletime_assert' 416 | prefix ## suffix(); \ | ^~~~~~ include/linux/compiler_types.h:435:9: note: in expansion of macro '_compiletime_assert' 435 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^~~~~~~~~~~~~~~~~~~ include/linux/build_bug.h:39:37: note: in expansion of macro 'compiletime_assert' 39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) | ^~~~~~~~~~~~~~~~~~ include/linux/build_bug.h:50:9: note: in expansion of macro 'BUILD_BUG_ON_MSG' 50 | BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition) | ^~~~~~~~~~~~~~~~ drivers/crypto/dwc-spacc/spacc_core.c:1082:9: note: in expansion of macro 'BUILD_BUG_ON' 1082 | BUILD_BUG_ON(IS_ENABLED(CONFIG_DEBUG_SG)); | ^~~~~~~~~~~~ In function 'spacc_sg_chain', inlined from 'fixup_sg' at drivers/crypto/dwc-spacc/spacc_core.c:1115:4, inlined from 'spacc_sg_to_ddt' at drivers/crypto/dwc-spacc/spacc_core.c:1252:15: >> include/linux/compiler_types.h:435:45: error: call to '__compiletime_assert_252' declared with attribute error: BUILD_BUG_ON failed: IS_ENABLED(CONFIG_DEBUG_SG) 435 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^ include/linux/compiler_types.h:416:25: note: in definition of macro '__compiletime_assert' 416 | prefix ## suffix(); \ | ^~~~~~ include/linux/compiler_types.h:435:9: note: in expansion of macro '_compiletime_assert' 435 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^~~~~~~~~~~~~~~~~~~ include/linux/build_bug.h:39:37: note: in expansion of macro 'compiletime_assert' 39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) | ^~~~~~~~~~~~~~~~~~ include/linux/build_bug.h:50:9: note: in expansion of macro 'BUILD_BUG_ON_MSG' 50 | BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition) | ^~~~~~~~~~~~~~~~ drivers/crypto/dwc-spacc/spacc_core.c:1082:9: note: in expansion of macro 'BUILD_BUG_ON' 1082 | BUILD_BUG_ON(IS_ENABLED(CONFIG_DEBUG_SG)); | ^~~~~~~~~~~~ vim +/__compiletime_assert_252 +435 include/linux/compiler_types.h eb5c2d4b45e3d2 Will Deacon 2020-07-21 421 eb5c2d4b45e3d2 Will Deacon 2020-07-21 422 #define _compiletime_assert(condition, msg, prefix, suffix) \ eb5c2d4b45e3d2 Will Deacon 2020-07-21 423 __compiletime_assert(condition, msg, prefix, suffix) eb5c2d4b45e3d2 Will Deacon 2020-07-21 424 eb5c2d4b45e3d2 Will Deacon 2020-07-21 425 /** eb5c2d4b45e3d2 Will Deacon 2020-07-21 426 * compiletime_assert - break build and emit msg if condition is false eb5c2d4b45e3d2 Will Deacon 2020-07-21 427 * @condition: a compile-time constant condition to check eb5c2d4b45e3d2 Will Deacon 2020-07-21 428 * @msg: a message to emit if condition is false eb5c2d4b45e3d2 Will Deacon 2020-07-21 429 * eb5c2d4b45e3d2 Will Deacon 2020-07-21 430 * In tradition of POSIX assert, this macro will break the build if the eb5c2d4b45e3d2 Will Deacon 2020-07-21 431 * supplied condition is *false*, emitting the supplied error message if the eb5c2d4b45e3d2 Will Deacon 2020-07-21 432 * compiler has support to do so. eb5c2d4b45e3d2 Will Deacon 2020-07-21 433 */ eb5c2d4b45e3d2 Will Deacon 2020-07-21 434 #define compiletime_assert(condition, msg) \ eb5c2d4b45e3d2 Will Deacon 2020-07-21 @435 _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) eb5c2d4b45e3d2 Will Deacon 2020-07-21 436 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki