* [arm-platforms:kvm/protected-memory 1/16] arch/x86/mm/mem_encrypt_common.c:15:6: warning: no previous prototype for function 'force_dma_unencrypted'
@ 2020-09-16 6:29 ` kernel test robot
0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2020-09-16 6:29 UTC (permalink / raw)
To: Kirill A. Shutemov
Cc: clang-built-linux, kbuild-all, linux-arm-kernel, Marc Zyngier
[-- Attachment #1: Type: text/plain, Size: 2152 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms.git kvm/protected-memory
head: d9455e6eabef4b9be5f33c418a8046e0389edade
commit: 0fdb85af352f8f003ce368eaeee57406f748801e [1/16] x86/mm: Move force_dma_unencrypted() to common code
config: x86_64-randconfig-r014-20200916 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project 9e3842d60351f986d77dfe0a94f76e4fd895f188)
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
# install x86_64 cross compiling tool for clang build
# apt-get install binutils-x86-64-linux-gnu
git checkout 0fdb85af352f8f003ce368eaeee57406f748801e
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64
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:15:6: warning: no previous prototype for function 'force_dma_unencrypted' [-Wmissing-prototypes]
bool force_dma_unencrypted(struct device *dev)
^
arch/x86/mm/mem_encrypt_common.c:15:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
bool force_dma_unencrypted(struct device *dev)
^
static
1 warning generated.
# https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms.git/commit/?id=0fdb85af352f8f003ce368eaeee57406f748801e
git remote add arm-platforms https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms.git
git fetch --no-tags arm-platforms kvm/protected-memory
git checkout 0fdb85af352f8f003ce368eaeee57406f748801e
vim +/force_dma_unencrypted +15 arch/x86/mm/mem_encrypt_common.c
13
14 /* Override for DMA direct allocation check - ARCH_HAS_FORCE_DMA_UNENCRYPTED */
> 15 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
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 37122 bytes --]
[-- Attachment #3: Type: text/plain, Size: 176 bytes --]
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 2+ messages in thread
* [arm-platforms:kvm/protected-memory 1/16] arch/x86/mm/mem_encrypt_common.c:15:6: warning: no previous prototype for function 'force_dma_unencrypted'
@ 2020-09-16 6:29 ` kernel test robot
0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2020-09-16 6:29 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 2195 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms.git kvm/protected-memory
head: d9455e6eabef4b9be5f33c418a8046e0389edade
commit: 0fdb85af352f8f003ce368eaeee57406f748801e [1/16] x86/mm: Move force_dma_unencrypted() to common code
config: x86_64-randconfig-r014-20200916 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project 9e3842d60351f986d77dfe0a94f76e4fd895f188)
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
# install x86_64 cross compiling tool for clang build
# apt-get install binutils-x86-64-linux-gnu
git checkout 0fdb85af352f8f003ce368eaeee57406f748801e
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64
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:15:6: warning: no previous prototype for function 'force_dma_unencrypted' [-Wmissing-prototypes]
bool force_dma_unencrypted(struct device *dev)
^
arch/x86/mm/mem_encrypt_common.c:15:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
bool force_dma_unencrypted(struct device *dev)
^
static
1 warning generated.
# https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms.git/commit/?id=0fdb85af352f8f003ce368eaeee57406f748801e
git remote add arm-platforms https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms.git
git fetch --no-tags arm-platforms kvm/protected-memory
git checkout 0fdb85af352f8f003ce368eaeee57406f748801e
vim +/force_dma_unencrypted +15 arch/x86/mm/mem_encrypt_common.c
13
14 /* Override for DMA direct allocation check - ARCH_HAS_FORCE_DMA_UNENCRYPTED */
> 15 bool force_dma_unencrypted(struct device *dev)
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 37122 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-09-16 6:31 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-16 6:29 [arm-platforms:kvm/protected-memory 1/16] arch/x86/mm/mem_encrypt_common.c:15:6: warning: no previous prototype for function 'force_dma_unencrypted' kernel test robot
2020-09-16 6:29 ` 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.