lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <201912071913.N8iDqXct%lkp@intel.com>
Date:   Sat, 7 Dec 2019 19:44:18 +0800
From:   kbuild test robot <lkp@...el.com>
To:     Ashish Kalra <Ashish.Kalra@....com>
Cc:     kbuild-all@...ts.01.org, hch@....de, tglx@...utronix.de,
        mingo@...hat.com, bp@...en8.de, hpa@...or.com, x86@...nel.org,
        luto@...nel.org, peterz@...radead.org, dave.hansen@...ux-intel.com,
        konrad.wilk@...cle.com, iommu@...ts.linux-foundation.org,
        linux-kernel@...r.kernel.org, brijesh.singh@....com,
        Thomas.Lendacky@....com
Subject: Re: [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@...el.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

Download attachment ".config.gz" of type "application/gzip" (7206 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ