From: kernel test robot <lkp@intel.com>
To: kernel@openeuler.org, Wen Zhiwei <wenzhiwei@kylinos.cn>
Cc: oe-kbuild-all@lists.linux.dev
Subject: [openeuler:OLK-6.6 14690/15185] include/linux/dma-direct.h:53:10: fatal error: asm/dma-direct.h: No such file or directory
Date: Wed, 23 Oct 2024 08:51:29 +0800 [thread overview]
Message-ID: <202410230856.2tl76ThF-lkp@intel.com> (raw)
tree: https://gitee.com/openeuler/kernel.git OLK-6.6
head: b436b5d324a6e9fcdbdfc942a4a7b07b8511aae7
commit: fd7608989d69c46482cdbd13f8fa909b0f305dbd [14690/15185] LoongArch: Remove the unused dma-direct.h
config: loongarch-allnoconfig (https://download.01.org/0day-ci/archive/20241023/202410230856.2tl76ThF-lkp@intel.com/config)
compiler: loongarch64-linux-gcc (GCC) 14.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241023/202410230856.2tl76ThF-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202410230856.2tl76ThF-lkp@intel.com/
All errors (new ones prefixed by >>):
In file included from arch/loongarch/kernel/dma.c:6:
>> include/linux/dma-direct.h:53:10: fatal error: asm/dma-direct.h: No such file or directory
53 | #include <asm/dma-direct.h>
| ^~~~~~~~~~~~~~~~~~
compilation terminated.
vim +53 include/linux/dma-direct.h
e0d072782c734d Jim Quinlan 2020-09-17 51
ea8c64ace86647 Christoph Hellwig 2018-01-10 52 #ifdef CONFIG_ARCH_HAS_PHYS_TO_DMA
ea8c64ace86647 Christoph Hellwig 2018-01-10 @53 #include <asm/dma-direct.h>
5ceda74093a5c1 Christoph Hellwig 2020-08-17 54 #ifndef phys_to_dma_unencrypted
5ceda74093a5c1 Christoph Hellwig 2020-08-17 55 #define phys_to_dma_unencrypted phys_to_dma
5ceda74093a5c1 Christoph Hellwig 2020-08-17 56 #endif
ea8c64ace86647 Christoph Hellwig 2018-01-10 57 #else
5ceda74093a5c1 Christoph Hellwig 2020-08-17 58 static inline dma_addr_t phys_to_dma_unencrypted(struct device *dev,
5ceda74093a5c1 Christoph Hellwig 2020-08-17 59 phys_addr_t paddr)
ea8c64ace86647 Christoph Hellwig 2018-01-10 60 {
e0d072782c734d Jim Quinlan 2020-09-17 61 if (dev->dma_range_map)
e0d072782c734d Jim Quinlan 2020-09-17 62 return translate_phys_to_dma(dev, paddr);
e0d072782c734d Jim Quinlan 2020-09-17 63 return paddr;
ea8c64ace86647 Christoph Hellwig 2018-01-10 64 }
ea8c64ace86647 Christoph Hellwig 2018-01-10 65
:::::: The code at line 53 was first introduced by commit
:::::: ea8c64ace86647260ec4255f483e5844d62af2df dma-mapping: move swiotlb arch helpers to a new header
:::::: TO: Christoph Hellwig <hch@lst.de>
:::::: CC: Christoph Hellwig <hch@lst.de>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
reply other threads:[~2024-10-23 0:52 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202410230856.2tl76ThF-lkp@intel.com \
--to=lkp@intel.com \
--cc=kernel@openeuler.org \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=wenzhiwei@kylinos.cn \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.