Hi Stanislav,

kernel test robot noticed the following build warnings:

[auto build test WARNING on next-20251125]
[cannot apply to linus/master v6.18-rc7 v6.18-rc6 v6.18-rc5 v6.18-rc7]
[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/Stanislav-Kinsburskii/Drivers-hv-Refactor-and-rename-memory-region-handling-functions/20251126-101138
base:   next-20251125
patch link:    
https://lore.kernel.org/r/176412295155.447063.16512843211428609586.stgit%40skinsburskii-cloud-desktop.internal.cloudapp.net
patch subject: [PATCH v7 4/7] Drivers: hv: Fix huge page handling in memory 
region traversal
config: x86_64-randconfig-076-20251127 
(https://download.01.org/0day-ci/archive/20251127/[email protected]/config)
compiler: clang version 20.1.8 (https://github.com/llvm/llvm-project 
87f0227cb60147a26a1eeb4fb06e3b505e9c7261)
reproduce (this is a W=1 build): 
(https://download.01.org/0day-ci/archive/20251127/[email protected]/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 <[email protected]>
| Closes: 
https://lore.kernel.org/oe-kbuild-all/[email protected]/

All warnings (new ones prefixed by >>):

>> drivers/hv/mshv_regions.c:288:12: warning: parameter 'flags' set but not 
>> used [-Wunused-but-set-parameter]
     288 |                                    u32 flags,
         |                                        ^
   1 warning generated.


vim +/flags +288 drivers/hv/mshv_regions.c

   286  
   287  static int mshv_region_chunk_unmap(struct mshv_mem_region *region,
 > 288                                     u32 flags,
   289                                     u64 page_offset, u64 page_count)
   290  {
   291          if (PageTransCompound(region->pages[page_offset]))
   292                  flags |= HV_UNMAP_GPA_LARGE_PAGE;
   293  
   294          return hv_call_unmap_gpa_pages(region->partition->pt_id,
   295                                         region->start_gfn + page_offset,
   296                                         page_count, 0);
   297  }
   298  

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

Reply via email to