lkml.org 
[lkml]   [2019]   [Dec]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] swiotlb: Adjust SWIOTBL bounce buffer size for SEV guests.
Hi Ashish,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on hch-configfs/for-next]
[also build test ERROR on linus/master v5.4 next-20191202]
[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: i386-tinyconfig (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=i386

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

All errors (new ones prefixed by >>):

In file included from arch/x86/kernel/pci-dma.c:2:0:
>> include/linux/dma-direct.h:49:1: error: expected identifier or '(' before '{' token
{
^
include/linux/dma-direct.h:47:29: warning: 'adjust_swiotlb_default_size' declared 'static' but never defined [-Wunused-function]
static inline unsigned long adjust_swiotlb_default_size
^~~~~~~~~~~~~~~~~~~~~~~~~~~

vim +49 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-all@lists.01.org Intel Corporation
[unhandled content-type:application/gzip]
\
 
 \ /
  Last update: 2019-12-07 12:45    [W:0.036 / U:21.396 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site