From: kernel test robot <lkp@intel.com>
To: Namhyung Kim <namhyung@kernel.org>
Cc: oe-kbuild-all@lists.linux.dev
Subject: Re: [PATCH v4 bpf-next 2/3] mm/bpf: Add bpf_get_kmem_cache() kfunc
Date: Sat, 5 Oct 2024 02:08:33 +0800 [thread overview]
Message-ID: <202410050149.QCPhh01T-lkp@intel.com> (raw)
In-Reply-To: <20241002180956.1781008-3-namhyung@kernel.org>
Hi Namhyung,
kernel test robot noticed the following build warnings:
[auto build test WARNING on 9502a7de5a61bec3bda841a830560c5d6d40ecac]
url: https://github.com/intel-lab-lkp/linux/commits/Namhyung-Kim/bpf-Add-kmem_cache-iterator/20241003-021144
base: 9502a7de5a61bec3bda841a830560c5d6d40ecac
patch link: https://lore.kernel.org/r/20241002180956.1781008-3-namhyung%40kernel.org
patch subject: [PATCH v4 bpf-next 2/3] mm/bpf: Add bpf_get_kmem_cache() kfunc
config: arm64-defconfig (https://download.01.org/0day-ci/archive/20241005/202410050149.QCPhh01T-lkp@intel.com/config)
compiler: aarch64-linux-gcc (GCC) 13.3.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241005/202410050149.QCPhh01T-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/202410050149.QCPhh01T-lkp@intel.com/
All warnings (new ones prefixed by >>):
In file included from arch/arm64/include/asm/thread_info.h:17,
from include/linux/thread_info.h:60,
from arch/arm64/include/asm/preempt.h:6,
from include/linux/preempt.h:79,
from include/linux/spinlock.h:56,
from include/linux/mmzone.h:8,
from include/linux/gfp.h:7,
from include/linux/slab.h:16,
from mm/slab_common.c:7:
mm/slab_common.c: In function 'bpf_get_kmem_cache':
>> arch/arm64/include/asm/memory.h:427:66: warning: passing argument 1 of 'virt_to_pfn' makes pointer from integer without a cast [-Wint-conversion]
427 | __is_lm_address(__addr) && pfn_is_map_memory(virt_to_pfn(__addr)); \
| ^~~~~~
| |
| u64 {aka long long unsigned int}
mm/slab_common.c:1334:14: note: in expansion of macro 'virt_addr_valid'
1334 | if (!virt_addr_valid(addr))
| ^~~~~~~~~~~~~~~
arch/arm64/include/asm/memory.h:382:53: note: expected 'const void *' but argument is of type 'u64' {aka 'long long unsigned int'}
382 | static inline unsigned long virt_to_pfn(const void *kaddr)
| ~~~~~~~~~~~~^~~~~
vim +/virt_to_pfn +427 arch/arm64/include/asm/memory.h
4f04d8f0054511 Catalin Marinas 2012-03-05 424
68dd8ef321626f Will Deacon 2019-08-13 425 #define virt_addr_valid(addr) ({ \
91cb2c8b072e00 Catalin Marinas 2021-02-01 426 __typeof__(addr) __addr = __tag_reset(addr); \
873ba463914cf4 Mike Rapoport 2021-06-30 @427 __is_lm_address(__addr) && pfn_is_map_memory(virt_to_pfn(__addr)); \
68dd8ef321626f Will Deacon 2019-08-13 428 })
4f04d8f0054511 Catalin Marinas 2012-03-05 429
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
next prev parent reply other threads:[~2024-10-04 18:09 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-10-02 18:09 [PATCH v4 bpf-next 0/3] bpf: Add kmem_cache iterator and kfunc Namhyung Kim
2024-10-02 18:09 ` [PATCH v4 bpf-next 1/3] bpf: Add kmem_cache iterator Namhyung Kim
2024-10-03 7:35 ` Vlastimil Babka
2024-10-04 20:33 ` Song Liu
2024-10-04 21:37 ` Namhyung Kim
2024-10-04 21:46 ` Song Liu
2024-10-04 23:29 ` Namhyung Kim
2024-10-04 20:45 ` Song Liu
2024-10-04 21:42 ` Namhyung Kim
2024-10-02 18:09 ` [PATCH v4 bpf-next 2/3] mm/bpf: Add bpf_get_kmem_cache() kfunc Namhyung Kim
2024-10-04 5:31 ` Namhyung Kim
2024-10-04 9:12 ` kernel test robot
2024-10-04 18:08 ` kernel test robot [this message]
2024-10-04 20:10 ` Song Liu
2024-10-04 21:25 ` Roman Gushchin
2024-10-04 21:36 ` Song Liu
2024-10-04 21:58 ` Namhyung Kim
2024-10-04 22:57 ` Song Liu
2024-10-04 23:28 ` Namhyung Kim
2024-10-04 23:44 ` Alexei Starovoitov
2024-10-04 23:56 ` Song Liu
2024-10-06 19:00 ` Namhyung Kim
2024-10-07 12:57 ` Vlastimil Babka
2024-10-09 7:17 ` Namhyung Kim
2024-10-10 16:46 ` Namhyung Kim
2024-10-10 17:04 ` Alexei Starovoitov
2024-10-10 22:56 ` Namhyung Kim
2024-10-02 18:09 ` [PATCH v4 bpf-next 3/3] selftests/bpf: Add a test for kmem_cache_iter Namhyung Kim
[not found] ` <94bdb7a4cb0f83adf655d98a5c5f5df5299b960d2af54c87eba08de9646d0e42@mail.kernel.org>
[not found] ` <CAM9d7cjGh5+5Cgw-5Nc5oO88HgJz33BUuMGYREExEgWXND3B_A@mail.gmail.com>
2024-10-03 1:01 ` [PATCH v4 bpf-next 0/3] bpf: Add kmem_cache iterator and kfunc Daniel Xu
2024-10-03 17:43 ` Namhyung Kim
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=202410050149.QCPhh01T-lkp@intel.com \
--to=lkp@intel.com \
--cc=namhyung@kernel.org \
--cc=oe-kbuild-all@lists.linux.dev \
/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.