From: kernel test robot <yujie.liu@intel.com>
To: Linus Walleij <linus.walleij@linaro.org>
Cc: <kbuild-all@lists.01.org>,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: [arm-integrator:kernel-in-vmalloc-v5.19-rc1 21/35] arch/hexagon/include/asm/page.h: asm/mem-layout.h is included more than once.
Date: Thu, 7 Jul 2022 14:44:25 +0800 [thread overview]
Message-ID: <c7b2b110-808b-c91f-7fe0-5d48f1f00dd9@intel.com> (raw)
In-Reply-To: <202207061920.z89bMMgl-lkp@intel.com>
tree: https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-integrator.git kernel-in-vmalloc-v5.19-rc1
head: 144435741b0a6f31403d3084103678da3b4f9d11
commit: 5f1754f29aba0e4910d757ab7c318abc9d22b66b [21/35] Hexagon: Make virt_to_pfn() a static inline
compiler: gcc-11 (Debian 11.3.0-3) 11.3.0
If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <yujie.liu@intel.com>
includecheck warnings: (new ones prefixed by >>)
>> arch/hexagon/include/asm/page.h: asm/mem-layout.h is included more than once.
5f1754f29aba0 (Linus Walleij 2022-06-02 09:45:31 +0200 81) /* Needed for PAGE_OFFSET used in the macro right below */
5f1754f29aba0 (Linus Walleij 2022-06-02 09:45:31 +0200 @82) #include <asm/mem-layout.h>
5f1754f29aba0 (Linus Walleij 2022-06-02 09:45:31 +0200 83)
a7e79840991ea (Richard Kuo 2011-10-31 18:53:38 -0500 84) /*
a7e79840991ea (Richard Kuo 2011-10-31 18:53:38 -0500 85) * We need a __pa and a __va routine for kernel space.
a7e79840991ea (Richard Kuo 2011-10-31 18:53:38 -0500 86) * MIPS says they're only used during mem_init.
a7e79840991ea (Richard Kuo 2011-10-31 18:53:38 -0500 87) * also, check if we need a PHYS_OFFSET.
a7e79840991ea (Richard Kuo 2011-10-31 18:53:38 -0500 88) */
8f5a0b9dffeb3 (Richard Kuo 2013-03-22 16:05:40 -0500 89) #define __pa(x) ((unsigned long)(x) - PAGE_OFFSET + PHYS_OFFSET)
8f5a0b9dffeb3 (Richard Kuo 2013-03-22 16:05:40 -0500 90) #define __va(x) ((void *)((unsigned long)(x) - PHYS_OFFSET + PAGE_OFFSET))
...
a7e79840991ea (Richard Kuo 2011-10-31 18:53:38 -0500 146) #define kern_addr_valid(addr) (1)
a7e79840991ea (Richard Kuo 2011-10-31 18:53:38 -0500 147)
8f5a0b9dffeb3 (Richard Kuo 2013-03-22 16:05:40 -0500 @148) #include <asm/mem-layout.h>
a7e79840991ea (Richard Kuo 2011-10-31 18:53:38 -0500 149) #include <asm-generic/memory_model.h>
a7e79840991ea (Richard Kuo 2011-10-31 18:53:38 -0500 150) /* XXX Todo: implement assembly-optimized version of getorder. */
--
0-DAY CI Kernel Test Service
https://01.org/lkp
parent reply other threads:[~2022-07-07 6:44 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <202207061920.z89bMMgl-lkp@intel.com>]
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=c7b2b110-808b-c91f-7fe0-5d48f1f00dd9@intel.com \
--to=yujie.liu@intel.com \
--cc=kbuild-all@lists.01.org \
--cc=linus.walleij@linaro.org \
--cc=linux-kernel@vger.kernel.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®