From: kernel test robot <lkp@intel.com>
To: Dhananjay Ugwekar <Dhananjay.Ugwekar@amd.com>
Cc: oe-kbuild-all@lists.linux.dev
Subject: Re: [PATCH 2/2] perf/x86/rapl: Fix the energy-pkg event for AMD CPUs
Date: Sat, 4 May 2024 05:41:49 +0800 [thread overview]
Message-ID: <202405040552.zOVBIwCE-lkp@intel.com> (raw)
In-Reply-To: <20240502095115.177713-3-Dhananjay.Ugwekar@amd.com>
Hi Dhananjay,
kernel test robot noticed the following build warnings:
[auto build test WARNING on tip/master]
[cannot apply to tip/auto-latest linus/master v6.9-rc6 next-20240503]
[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/Dhananjay-Ugwekar/perf-x86-rapl-Rename-maxdie-to-nr_rapl_pmu-and-dieid-to-rapl_pmu_idx/20240502-175418
base: tip/master
patch link: https://lore.kernel.org/r/20240502095115.177713-3-Dhananjay.Ugwekar%40amd.com
patch subject: [PATCH 2/2] perf/x86/rapl: Fix the energy-pkg event for AMD CPUs
config: x86_64-randconfig-122-20240504 (https://download.01.org/0day-ci/archive/20240504/202405040552.zOVBIwCE-lkp@intel.com/config)
compiler: gcc-9 (Ubuntu 9.5.0-4ubuntu2) 9.5.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240504/202405040552.zOVBIwCE-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 <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202405040552.zOVBIwCE-lkp@intel.com/
sparse warnings: (new ones prefixed by >>)
arch/x86/events/rapl.c: note: in included file (through include/linux/module.h):
include/linux/list.h:83:21: sparse: sparse: self-comparison always evaluates to true
>> arch/x86/events/rapl.c:154:40: sparse: sparse: incorrect type in return expression (different modifiers) @@ expected struct cpumask [usertype] * @@ got struct cpumask const * @@
arch/x86/events/rapl.c:154:40: sparse: expected struct cpumask [usertype] *
arch/x86/events/rapl.c:154:40: sparse: got struct cpumask const *
>> arch/x86/events/rapl.c:154:40: sparse: sparse: incorrect type in return expression (different modifiers) @@ expected struct cpumask [usertype] * @@ got struct cpumask const * @@
arch/x86/events/rapl.c:154:40: sparse: expected struct cpumask [usertype] *
arch/x86/events/rapl.c:154:40: sparse: got struct cpumask const *
vim +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
prev parent reply other threads:[~2024-05-03 21:42 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-05-02 9:51 [PATCH 0/2] Fix energy-pkg event for AMD CPUs Dhananjay Ugwekar
2024-05-02 9:51 ` [PATCH 1/2] perf/x86/rapl: Rename maxdie to nr_rapl_pmu and dieid to rapl_pmu_idx Dhananjay Ugwekar
2024-05-02 11:43 ` [tip: perf/core] perf/x86/rapl: Rename 'maxdie' to nr_rapl_pmu and 'dieid' " tip-bot2 for Dhananjay Ugwekar
2024-05-02 9:51 ` [PATCH 2/2] perf/x86/rapl: Fix the energy-pkg event for AMD CPUs Dhananjay Ugwekar
2024-05-02 11:43 ` [tip: perf/core] " tip-bot2 for Dhananjay Ugwekar
2024-05-03 9:54 ` [PATCH 2/2] " Ingo Molnar
2024-05-03 10:07 ` Dhananjay Ugwekar
2024-05-04 4:09 ` [PATCH v2 " Dhananjay Ugwekar
2024-05-27 6:27 ` Dhananjay Ugwekar
2024-05-03 21:41 ` kernel test robot [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202405040552.zOVBIwCE-lkp@intel.com \
--to=lkp@intel.com \
--cc=Dhananjay.Ugwekar@amd.com \
--cc=oe-kbuild-all@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.