Re: arch/x86/kernel/cpu/resctrl/rdtgroup.c:1196: warning: Function parameter or member 'type' not described in '__rdtgroup_cbm_overlaps'

From: Reinette Chatre
Date: Tue Oct 10 2023 - 12:40:49 EST


Hi James,

On 10/10/2023 8:25 AM, James Morse wrote:
> 'lo,
>
> On 06/10/2023 22:03, kernel test robot wrote:
>> tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
>> head: af95dc6fdc25e616051d0234aad638e15c02ec8f
>> commit: fa8f711d2f14381d1a47420b6da94b62e6484c56 x86/resctrl: Pass configuration type to resctrl_arch_get_config()
>> date: 2 years, 2 months ago
>
> So, recently.
>
>
>> config: x86_64-randconfig-003-20230909 (https://download.01.org/0day-ci/archive/20231007/202310070434.mD8eRNAz-lkp@xxxxxxxxx/config)
>> compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
>> reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231007/202310070434.mD8eRNAz-lkp@xxxxxxxxx/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@xxxxxxxxx>
>> | Closes: https://lore.kernel.org/oe-kbuild-all/202310070434.mD8eRNAz-lkp@xxxxxxxxx/
>
> I'll float a patch fixing all these - otherwise I get the blame for the whole lot when the
> code gets moved!

Cleaning this up is already in progress. A fix from Randy addressing a few of the warnings
has already been merged into x86/urgent and Maciej has a patch ready addressing the rest that
he will send upstream shortly.

Reinette