Hi Ashish,
Thank you for the patch! Perhaps something to improve:
[auto build test WARNING on tip/x86/core]
[also build test WARNING on tip/x86/mm hch-configfs/for-next v5.10-rc4 next-20201117]
[cannot apply to swiotlb/linux-next]
[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]
url:
https://github.com/0day-ci/linux/commits/Ashish-Kalra/swiotlb-Adjust-SWIO...
base:
https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git
238c91115cd05c71447ea071624a4c9fe661f970
config: ia64-randconfig-r004-20201117 (attached as .config)
compiler: ia64-linux-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
wget
https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O
~/bin/make.cross
chmod +x ~/bin/make.cross
#
https://github.com/0day-ci/linux/commit/ec17437123f45040f2139e36122a4021f...
git remote add linux-review
https://github.com/0day-ci/linux
git fetch --no-tags linux-review
Ashish-Kalra/swiotlb-Adjust-SWIOTBL-bounce-buffer-size-for-SEV-guests/20201118-020049
git checkout ec17437123f45040f2139e36122a4021f1fd3b07
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=ia64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>):
> kernel/dma/swiotlb.c:166:29: warning: no previous prototype for
'arch_swiotlb_adjust' [-Wmissing-prototypes]
166 | unsigned long __init
__weak arch_swiotlb_adjust(unsigned long size)
| ^~~~~~~~~~~~~~~~~~~
kernel/dma/swiotlb.c:305:1: warning: no previous prototype for
'swiotlb_late_init_with_default_size' [-Wmissing-prototypes]
305 | swiotlb_late_init_with_default_size(size_t default_size)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vim +/arch_swiotlb_adjust +166 kernel/dma/swiotlb.c
165
166 unsigned long __init __weak arch_swiotlb_adjust(unsigned long
size)
167 {
168 return 0;
169 }
170
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org