Hi Ashish,

Thank you for the patch! Perhaps something to improve:

[auto build test WARNING on hch-configfs/for-next]
[cannot apply to linus/master v5.4 next-20191206]
[if your patch is applied to the wrong git tree, please drop us a note to help
improve the system. BTW, we also suggest to use '--base' option to specify the
base tree in git format-patch, please see https://stackoverflow.com/a/37406982]

url:    
https://github.com/0day-ci/linux/commits/Ashish-Kalra/swiotlb-Adjust-SWIOTBL-bounce-buffer-size-for-SEV-guests/20191207-184151
base:   git://git.infradead.org/users/hch/configfs.git for-next
config: x86_64-defconfig (attached as .config)
compiler: gcc-7 (Debian 7.5.0-1) 7.5.0
reproduce:
        # save the attached .config to linux build tree
        make ARCH=x86_64 

If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <l...@intel.com>

All warnings (new ones prefixed by >>):

   In file included from kernel/dma/swiotlb.c:24:0:
   include/linux/dma-direct.h:49:1: error: expected identifier or '(' before 
'{' token
    {
    ^
   In file included from kernel/dma/swiotlb.c:24:0:
>> include/linux/dma-direct.h:47:29: warning: 'adjust_swiotlb_default_size' 
>> used but never defined
    static inline unsigned long adjust_swiotlb_default_size
                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~

vim +/adjust_swiotlb_default_size +47 include/linux/dma-direct.h

    43  
    44  #ifdef CONFIG_ARCH_HAS_ADJUST_SWIOTLB_DEFAULT
    45  unsigned long adjust_swiotlb_default_size(unsigned long default_size);
    46  #else
  > 47  static inline unsigned long adjust_swiotlb_default_size
    48                  (unsigned long default_size);
  > 49  {
    50          return default_size;
    51  }
    52  #endif  /* CONFIG_ARCH_HAS_ADJUST_SWIOTLB_DEFAULT */
    53  

---
0-DAY kernel test infrastructure                 Open Source Technology Center
https://lists.01.org/hyperkitty/list/kbuild-...@lists.01.org Intel Corporation

Attachment: .config.gz
Description: application/gzip

_______________________________________________
iommu mailing list
iommu@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/iommu

Reply via email to