From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.19]) (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 425B2291880; Mon, 30 Jun 2025 18:44:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.19 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1751309062; cv=none; b=Iur9T/pQk04i96zayxqz2aHXUdH7LBI0FYdKMUyGU2Z/MtP/4m511TN9jMIuCLtlaomQz1jNtw1pOKjiyN80zo6WmEoiOwvwpL9tEUsDBcZHqK5ggfwwcJ5KL7JohRyBcKXAEXvWpxv1KtcxwiIYOUwEq889p3PwoLqsSt0W64Q= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1751309062; c=relaxed/simple; bh=pq/ZW+I7hMd3v5+Szli/mXCBn1EiT0wClMfSvoilDe8=; h=Date:From:To:Cc:Subject:Message-ID:MIME-Version:Content-Type: Content-Disposition; b=m1CTMqqhWzXQ79jpl7xW/PSghAzOykqRiRUmhLnUGOJYZCwG7QzFrMVrna3kLK/uKzF+SD+exz1LTBFtD7+eQk6X//7e8uySIKFUugNTX79YCrAKmkrTwp/T0nRzvu4Cd6qAzQbjZLbDiN5gc+qtus0/CjQ2F8j26EgMfo7/DHs= 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=B5RMNEuU; arc=none smtp.client-ip=192.198.163.19 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="B5RMNEuU" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1751309061; x=1782845061; h=date:from:to:cc:subject:message-id:mime-version; bh=pq/ZW+I7hMd3v5+Szli/mXCBn1EiT0wClMfSvoilDe8=; b=B5RMNEuUbZtd5I8sW3+tjcCDXioSZBWA72nufkKcGvWbmHhtsKwx/hEk RFAWh5i5mYAPafVGnKzBXYyJuuvE0seMUVauxLpUqov9miaPQf8/GvQeQ wsV9fbysl7X9JYGzg3jjSSyndf8+xXojj898X2Tv0x8pb0Kfy7aHDATtB 117vIcOPXlDyjOpYiIaJclXPhUuXmUVqXUEKGLXue1hcSbJN92Ow8cmxh AKKMbvJXXYDmN2H2YMVM/ncB1I/r5twulZeHKloO6Vxbw+Qot+Erd8iID j8pAHxBas996kzKY0GbARpcHNdq4e1UuIII6wzLJTqQi8P8xcaiEbRoKM w==; X-CSE-ConnectionGUID: jdUscsNoSTGevYeFGhx/ig== X-CSE-MsgGUID: MSKf0oghQXSQRJ2SvxQdMQ== X-IronPort-AV: E=McAfee;i="6800,10657,11480"; a="52661201" X-IronPort-AV: E=Sophos;i="6.16,278,1744095600"; d="scan'208";a="52661201" Received: from fmviesa007.fm.intel.com ([10.60.135.147]) by fmvoesa113.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 Jun 2025 11:44:21 -0700 X-CSE-ConnectionGUID: VD025VZnRnG/DW0NFqvo5A== X-CSE-MsgGUID: 6+r+ffOMRxuOJRz1YKbUIg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.16,278,1744095600"; d="scan'208";a="153167280" Received: from lkp-server01.sh.intel.com (HELO e8142ee1dce2) ([10.239.97.150]) by fmviesa007.fm.intel.com with ESMTP; 30 Jun 2025 11:44:19 -0700 Received: from kbuild by e8142ee1dce2 with local (Exim 4.96) (envelope-from ) id 1uWJUH-000ZGs-0c; Mon, 30 Jun 2025 18:44:17 +0000 Date: Tue, 1 Jul 2025 02:43:31 +0800 From: kernel test robot To: Nikunj A Dadhania Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org, x86@kernel.org, "Borislav Petkov (AMD)" Subject: [tip:x86/urgent 1/1] arch/x86/coco/sev/core.c:2170:30: warning: variable 'dummy' set but not used Message-ID: <202507010218.3O5Ge0Xt-lkp@intel.com> Precedence: bulk X-Mailing-List: llvm@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline tree: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86/urgent head: 4a35d2b5254af89595fd90dae9ee0c8f990a148d commit: 4a35d2b5254af89595fd90dae9ee0c8f990a148d [1/1] x86/sev: Use TSC_FACTOR for Secure TSC frequency calculation config: x86_64-allyesconfig (https://download.01.org/0day-ci/archive/20250701/202507010218.3O5Ge0Xt-lkp@intel.com/config) compiler: clang version 20.1.7 (https://github.com/llvm/llvm-project 6146a88f60492b520a36f8f8f3231e15f3cc6082) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250701/202507010218.3O5Ge0Xt-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/202507010218.3O5Ge0Xt-lkp@intel.com/ All warnings (new ones prefixed by >>): >> arch/x86/coco/sev/core.c:2170:30: warning: variable 'dummy' set but not used [-Wunused-but-set-variable] 2170 | unsigned long tsc_freq_mhz, dummy; | ^ 1 warning generated. vim +/dummy +2170 arch/x86/coco/sev/core.c 2167 2168 void __init snp_secure_tsc_init(void) 2169 { > 2170 unsigned long tsc_freq_mhz, dummy; -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki