linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [intel-tdx:guest 36/144] arch/x86/mm/mem_encrypt_common.c:14:6: warning: no previous prototype for 'force_dma_unencrypted'
@ 2021-12-09 23:59 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-12-09 23:59 UTC (permalink / raw)
  To: Kirill A. Shutemov
  Cc: kbuild-all, linux-kernel, Kuppuswamy Sathyanarayanan, Andi Kleen,
	Tony Luck

tree:   https://github.com/intel/tdx.git guest
head:   41fe88a1b3c28543f49fa6ed9e0e9b6650ed7614
commit: e6712c98ae60430d8f0d207fa3352e408a56c69f [36/144] x86/mm: Move force_dma_unencrypted() to common code
config: x86_64-allyesconfig (https://download.01.org/0day-ci/archive/20211210/202112100722.xdCK1rLH-lkp@intel.com/config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
        # https://github.com/intel/tdx/commit/e6712c98ae60430d8f0d207fa3352e408a56c69f
        git remote add intel-tdx https://github.com/intel/tdx.git
        git fetch --no-tags intel-tdx guest
        git checkout e6712c98ae60430d8f0d207fa3352e408a56c69f
        # save the config file to linux build tree
        mkdir build_dir
        make W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash arch/x86/mm/

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

All warnings (new ones prefixed by >>):

>> arch/x86/mm/mem_encrypt_common.c:14:6: warning: no previous prototype for 'force_dma_unencrypted' [-Wmissing-prototypes]
      14 | bool force_dma_unencrypted(struct device *dev)
         |      ^~~~~~~~~~~~~~~~~~~~~


vim +/force_dma_unencrypted +14 arch/x86/mm/mem_encrypt_common.c

    12	
    13	/* Override for DMA direct allocation check - ARCH_HAS_FORCE_DMA_UNENCRYPTED */
  > 14	bool force_dma_unencrypted(struct device *dev)

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-12-10  0:01 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-09 23:59 [intel-tdx:guest 36/144] arch/x86/mm/mem_encrypt_common.c:14:6: warning: no previous prototype for 'force_dma_unencrypted' kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).