Received: by 2002:ab2:60d1:0:b0:1f7:5705:b850 with SMTP id i17csp1489330lqm; Thu, 2 May 2024 17:29:18 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVNED0Rr2QqaRZfFTD1ToWK9GLCRGC45rBfqBf+FvDyE9WKINSXYvNZ6U/U+BByBQMS4KPpRjxBHIl8pFzTQxBRy8PVM1j16KbPqpb7SQ== X-Google-Smtp-Source: AGHT+IH7YFWwCClYSEmxm1pNIjGizjd1NVaKQEvBSLqtobLrLRzJk2zvyNZSIMxZoM5dfO1tElyn X-Received: by 2002:a05:620a:2991:b0:790:972e:3ab7 with SMTP id r17-20020a05620a299100b00790972e3ab7mr1641691qkp.47.1714696158007; Thu, 02 May 2024 17:29:18 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714696157; cv=pass; d=google.com; s=arc-20160816; b=J70o+dMVijY5qDz6/zrgJxEvDFpq+r52BMEWW/Er/ocVMMqC7Xd1xkUSm2Se4VMWwX 82eFnzouXAQ7ZLr2pdaNHNfN8ii6htNQzO6xusRv+hIT4pqbkLzJvrU7WTudZP03xkwF 9soaGMa7ePYY8x6G4UJ6TUKJrhn8zXV0Zw//VN9Z9L9cbXtvX4TdOVmUq80k4bRqyZP5 St6jSAum0+ELghnd9kWQ1ZFAYdsml3oD5vwk2UoT04DOASfM27q7+jhRHdKcMxDyBcga jDAIyXNJ4X2BWGsaOjxDxDp2ng8Fue/ZBKVX6iqMqtrSnROcL7XaFfsV9wB5Or86g34A fuIQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-disposition:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:message-id:subject:cc:to:from:date :dkim-signature; bh=LZtEA7IQc9PZKLh6ONu/9ZRHCjjdGVbelPxjyzp+eQQ=; fh=m1mlWwxN1LfcVzJWAoE52mViWxKJ/ySXKy4EmwAt3dI=; b=Tn6Kx4N57BqsZBRZOYrW3aQhlU7sJvKfYzJWiA47qFkOMv3FdvsLkcisRpahMYjZFv kITBnhL/EYdIf0rNGS6YFknLOE1TxcSjDgNl8F3in2wmK1Zaix/hROt6Ld8X3WC18fcU DkUh7gswKDKLElzdcWuYZuSAuMY6bIdh5zyGPeSNLx7uHx5taUWz87GQpu0U9tFXkFCN BPtfjjkI1lUhh7UIK6xWYgxxMTiwSUVSl8ltfKDXjtrLMwNihHy56iuSQNBuVXi3DDDd IywIJ7M2wDiC8dBONK3e6ignTcBn5r3PpgXnVt2arQQGD4M4iLp10nPRd7X5k6VtE9UW 4bjQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=V5OKzgS6; 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-kernel+bounces-167101-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-167101-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. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id y2-20020ae9f402000000b0078ec0f75505si2024366qkl.318.2024.05.02.17.29.17 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 02 May 2024 17:29:17 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-167101-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=V5OKzgS6; 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-kernel+bounces-167101-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-167101-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 B99371C22B79 for ; Fri, 3 May 2024 00:29:17 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 68D442119; Fri, 3 May 2024 00:29:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="V5OKzgS6" Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.14]) (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 D726A360 for ; Fri, 3 May 2024 00:29:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.14 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714696150; cv=none; b=CIbvLH60+4PEWMURq5ZvWV10xoJ5Q4StemPQ2sczCzWAmbsgfXVF0xogBdnS2Z/jFTxcFCyO9kVMGAEjyWCSkK7vkr9RnxsKMA8rh/d9FJ7bvQoCuIf80PK9PmLSrovJtXUpE3xV/oRS9QJtC7OVCDr6FgG7CM0CIKunl3zs6VQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714696150; c=relaxed/simple; bh=opB4+xmpKchilhQkW1zQkI4ZIclXqwiPDZeEdySA2tg=; h=Date:From:To:Cc:Subject:Message-ID:MIME-Version:Content-Type: Content-Disposition; b=m/WxIUx1AE7eINpYy+3ngTqQf7CjfVZHyPw2a4uYzJrbjaMDUQm+q0OdIRbwrsKyEX3g36u99adLDbhX9E/svb4pJBSZm57jpSvoHgmrWWyDZfC8KpW7C3QHtKqMDRA6CwPWpxh9a4URLCSfLO/rOogY6B8M1gmevok0ycP7/3Q= 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=V5OKzgS6; arc=none smtp.client-ip=192.198.163.14 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=1714696149; x=1746232149; h=date:from:to:cc:subject:message-id:mime-version; bh=opB4+xmpKchilhQkW1zQkI4ZIclXqwiPDZeEdySA2tg=; b=V5OKzgS6p3IesGo5A2f+/yA7N/SgCv4i9FUAen64A9s47KRan3ggdXf0 ikpxeY7wocDFkJmU9PezwMidYBWirVMXSmp/xfpNDzjU94/9NVPdg/e6/ q2uzcX7UCutDt8pRUctXyNa9K0FJk6FvjKl8XeylAPUIUff4/4aDaqqIq jpVGW5hV4i+5RnrWavi3aRvVjYcFPUdtbvkVz7aRragPTcALjO+9KME/h oUp/BZaLuGG93+dUHz8bi47Aalasq7RN/fnsq6fkIKUyEmSgjo7w1i/V7 SgR5St+bdRbTtbke72MD6m0OIkU7dFH9ozrNzHgYFvEA07jTlkOMaNrcO w==; X-CSE-ConnectionGUID: bhwwd4skTZmoDKUHXZe6wQ== X-CSE-MsgGUID: vVm/h6XwThCzzxHGv/2S/g== X-IronPort-AV: E=McAfee;i="6600,9927,11062"; a="10716084" X-IronPort-AV: E=Sophos;i="6.07,247,1708416000"; d="scan'208";a="10716084" Received: from orviesa010.jf.intel.com ([10.64.159.150]) by fmvoesa108.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 May 2024 17:29:08 -0700 X-CSE-ConnectionGUID: otrXqZxqS8qp5DzLzV/qaA== X-CSE-MsgGUID: 8zXjyTkPRme4RXRrEUKY6g== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.07,247,1708416000"; d="scan'208";a="27171392" Received: from lkp-server01.sh.intel.com (HELO e434dd42e5a1) ([10.239.97.150]) by orviesa010.jf.intel.com with ESMTP; 02 May 2024 17:29:06 -0700 Received: from kbuild by e434dd42e5a1 with local (Exim 4.96) (envelope-from ) id 1s2gnQ-000BAM-1A; Fri, 03 May 2024 00:29:04 +0000 Date: Fri, 3 May 2024 08:28:06 +0800 From: kernel test robot To: Dhananjay Ugwekar Cc: oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org, x86@kernel.org, Ingo Molnar Subject: [tip:perf/core 12/12] arch/x86/events/rapl.c:154:69: warning: return discards 'const' qualifier from pointer target type Message-ID: <202405030821.FtWhxfmP-lkp@intel.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org 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 perf/core head: 5d4d0283c0546559600dee7e9a4d87e402f3f4d9 commit: 5d4d0283c0546559600dee7e9a4d87e402f3f4d9 [12/12] perf/x86/rapl: Fix the energy-pkg event for AMD CPUs config: x86_64-buildonly-randconfig-001-20240503 (https://download.01.org/0day-ci/archive/20240503/202405030821.FtWhxfmP-lkp@intel.com/config) compiler: gcc-13 (Ubuntu 13.2.0-4ubuntu3) 13.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240503/202405030821.FtWhxfmP-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/202405030821.FtWhxfmP-lkp@intel.com/ All warnings (new ones prefixed by >>): arch/x86/events/rapl.c: In function 'get_rapl_pmu_cpumask': >> arch/x86/events/rapl.c:154:69: warning: return discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 154 | return rapl_pmu_is_pkg_scope() ? topology_core_cpumask(cpu) : vim +/const +154 arch/x86/events/rapl.c 151 152 static inline cpumask_t *get_rapl_pmu_cpumask(int cpu) 153 { > 154 return rapl_pmu_is_pkg_scope() ? topology_core_cpumask(cpu) : 155 topology_die_cpumask(cpu); 156 } 157 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki