Hi Haren,

kernel test robot noticed the following build warnings:

[auto build test WARNING on powerpc/next]
[also build test WARNING on powerpc/fixes linus/master v6.17-rc5 next-20250908]
[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/Haren-Myneni/powerpc-pseries-Define-papr-hvpipe-ioctl/20250908-110839
base:   https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git next
patch link:    
https://lore.kernel.org/r/20250908030458.1139163-4-haren%40linux.ibm.com
patch subject: [PATCH v6 3/9] powerpc/pseries: Add papr-hvpipe char driver for 
HVPIPE interfaces
config: powerpc64-randconfig-r111-20250909 
(https://download.01.org/0day-ci/archive/20250909/202509091256.nwelaisa-...@intel.com/config)
compiler: powerpc64-linux-gcc (GCC) 10.5.0
reproduce: 
(https://download.01.org/0day-ci/archive/20250909/202509091256.nwelaisa-...@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 <l...@intel.com>
| Closes: 
https://lore.kernel.org/oe-kbuild-all/202509091256.nwelaisa-...@intel.com/

sparse warnings: (new ones prefixed by >>)
>> arch/powerpc/platforms/pseries/papr-hvpipe.c:121:24: sparse: sparse: 
>> incorrect type in return expression (different base types) @@     expected 
>> restricted __poll_t @@     got int @@
   arch/powerpc/platforms/pseries/papr-hvpipe.c:121:24: sparse:     expected 
restricted __poll_t
   arch/powerpc/platforms/pseries/papr-hvpipe.c:121:24: sparse:     got int

vim +121 arch/powerpc/platforms/pseries/papr-hvpipe.c

   108  
   109  /*
   110   * The user space waits for the payload to receive.
   111   * The hypervisor sends HVPIPE event message to the partition
   112   * when the payload is available. The event handler wakeup FD
   113   * depends on the source ID in the message event.
   114   */
   115  static __poll_t papr_hvpipe_handle_poll(struct file *filp,
   116                  struct poll_table_struct *wait)
   117  {
   118          struct hvpipe_source_info *src_info = filp->private_data;
   119  
   120          if (!src_info)
 > 121                  return -EIO;
   122  
   123          return 0;
   124  }
   125  

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

Reply via email to