All of lore.kernel.org
 help / color / mirror / Atom feed
* [intel-tdx:guest-attest 5/9] arch/x86/coco/mem.c:27:26: warning: function 'virt_to_dma' is not needed and will not be emitted
@ 2022-09-12 17:02 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2022-09-12 17:02 UTC (permalink / raw)
  To: Kuppuswamy Sathyanarayanan; +Cc: llvm, kbuild-all, linux-kernel

tree:   https://github.com/intel/tdx.git guest-attest
head:   ef90ba1bf9a2aada5e1f9f6c27b5e2bde91a6991
commit: df7603408ff53cb1344704a728ee152672567b94 [5/9] x86/coco: Add cc_decrypted_alloc/free() interfaces
config: x86_64-randconfig-r021-20220912 (https://download.01.org/0day-ci/archive/20220913/202209130117.Ve8dGyqo-lkp@intel.com/config)
compiler: clang version 14.0.6 (https://github.com/llvm/llvm-project f28c006a5895fc0e329fe15fead81e37457cb1d1)
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/intel/tdx/commit/df7603408ff53cb1344704a728ee152672567b94
        git remote add intel-tdx https://github.com/intel/tdx.git
        git fetch --no-tags intel-tdx guest-attest
        git checkout df7603408ff53cb1344704a728ee152672567b94
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash arch/x86/coco/ arch/x86/kernel/ lib/ net/mptcp/

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

All warnings (new ones prefixed by >>):

>> arch/x86/coco/mem.c:27:26: warning: function 'virt_to_dma' is not needed and will not be emitted [-Wunneeded-internal-declaration]
   static inline dma_addr_t virt_to_dma(void *vaddr)
                            ^
   1 warning generated.


vim +/virt_to_dma +27 arch/x86/coco/mem.c

    26	
  > 27	static inline dma_addr_t virt_to_dma(void *vaddr)
    28	{
    29		return phys_to_dma(&mem_pdev->dev, virt_to_phys(vaddr));
    30	}
    31	

-- 
0-DAY CI Kernel Test Service
https://01.org/lkp

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

only message in thread, other threads:[~2022-09-12 17:04 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-12 17:02 [intel-tdx:guest-attest 5/9] arch/x86/coco/mem.c:27:26: warning: function 'virt_to_dma' is not needed and will not be emitted kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.