mailweb.openeuler.org
Manage this list

Keyboard Shortcuts

Thread View

  • j: Next unread message
  • k: Previous unread message
  • j a: Jump to all threads
  • j l: Jump to MailingList overview

Kernel

Threads by month
  • ----- 2025 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2024 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2023 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2022 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2021 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2020 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2019 -----
  • December
kernel@openeuler.org

  • 45 participants
  • 21927 discussions
[openeuler:openEuler-1.0-LTS 1941/1941] net/netfilter/nf_nat_proto.c:56:6: warning: no previous prototype for function 'nf_nat_csum_recalc'
by kernel test robot 13 Dec '25

13 Dec '25
Hi Florian, FYI, the error/warning still remains. tree: https://gitee.com/openeuler/kernel.git openEuler-1.0-LTS head: df8d11fbcbb07177c2500e63d7f5a36063977596 commit: 83abe3a3b85762720192809ac8695ff9255cfd23 [1941/1941] netfilter: nat: remove csum_recalc hook config: x86_64-rhel-9.4-rust (https://download.01.org/0day-ci/archive/20251213/202512130517.YGb86X1A-lkp@…) compiler: clang version 22.0.0git (https://github.com/llvm/llvm-project 6ec8c4351cfc1d0627d1633b02ea787bd29c77d8) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251213/202512130517.YGb86X1A-lkp@…) 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(a)intel.com> | Closes: https://lore.kernel.org/oe-kbuild-all/202512130517.YGb86X1A-lkp@intel.com/ All warnings (new ones prefixed by >>): In file included from net/netfilter/nf_nat_proto.c:12: In file included from include/net/ip6_route.h:24: include/net/ip6_fib.h:228:10: warning: default initialization of an object of type 'typeof (f6i->expires)' (aka 'const unsigned long') leaves the object uninitialized [-Wdefault-const-init-var-unsafe] 228 | return time_after(jiffies, f6i->expires); | ^ include/linux/jiffies.h:107:3: note: expanded from macro 'time_after' 107 | typecheck(unsigned long, b) && \ | ^ include/linux/typecheck.h:11:12: note: expanded from macro 'typecheck' 11 | typeof(x) __dummy2; \ | ^ >> net/netfilter/nf_nat_proto.c:56:6: warning: no previous prototype for function 'nf_nat_csum_recalc' [-Wmissing-prototypes] 56 | void nf_nat_csum_recalc(struct sk_buff *skb, | ^ net/netfilter/nf_nat_proto.c:56:1: note: declare 'static' if the function is not intended to be used outside of this translation unit 56 | void nf_nat_csum_recalc(struct sk_buff *skb, | ^ | static 2 warnings generated. vim +/nf_nat_csum_recalc +56 net/netfilter/nf_nat_proto.c 55 > 56 void nf_nat_csum_recalc(struct sk_buff *skb, -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki
1 0
0 0
[openeuler:openEuler-1.0-LTS 1941/1941] mm/kmemleak.c:434:4: error: implicit declaration of function 'printk_safe_exit'; did you mean 'printk_nmi_exit'?
by kernel test robot 13 Dec '25

13 Dec '25
Hi Gu, FYI, the error/warning still remains. tree: https://gitee.com/openeuler/kernel.git openEuler-1.0-LTS head: df8d11fbcbb07177c2500e63d7f5a36063977596 commit: 38f093f2876aaa0dd46e11d638e8d2a263f38199 [1941/1941] mm: Fix possible deadlock in console_trylock_spinning config: arm64-randconfig-002-20251212 (https://download.01.org/0day-ci/archive/20251213/202512130502.2LxTdCek-lkp@…) compiler: aarch64-linux-gcc (GCC) 7.5.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251213/202512130502.2LxTdCek-lkp@…) 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(a)intel.com> | Closes: https://lore.kernel.org/oe-kbuild-all/202512130502.2LxTdCek-lkp@intel.com/ All errors (new ones prefixed by >>): mm/kmemleak.c: In function 'lookup_object': mm/kmemleak.c:430:4: error: implicit declaration of function 'printk_safe_enter'; did you mean 'printk_nmi_enter'? [-Werror=implicit-function-declaration] printk_safe_enter(); ^~~~~~~~~~~~~~~~~ printk_nmi_enter >> mm/kmemleak.c:434:4: error: implicit declaration of function 'printk_safe_exit'; did you mean 'printk_nmi_exit'? [-Werror=implicit-function-declaration] printk_safe_exit(); ^~~~~~~~~~~~~~~~ printk_nmi_exit cc1: some warnings being treated as errors vim +434 mm/kmemleak.c 405 406 /* 407 * Look-up a memory block metadata (kmemleak_object) in the object search 408 * tree based on a pointer value. If alias is 0, only values pointing to the 409 * beginning of the memory block are allowed. The kmemleak_lock must be held 410 * when calling this function. 411 */ 412 static struct kmemleak_object *lookup_object(unsigned long ptr, int alias) 413 { 414 struct rb_node *rb = object_tree_root.rb_node; 415 416 while (rb) { 417 struct kmemleak_object *object = 418 rb_entry(rb, struct kmemleak_object, rb_node); 419 if (ptr < object->pointer) 420 rb = object->rb_node.rb_left; 421 else if (object->pointer + object->size <= ptr) 422 rb = object->rb_node.rb_right; 423 else if (object->pointer == ptr || alias) 424 return object; 425 else { 426 /* 427 * Printk deferring due to the kmemleak_lock held. 428 * This is done to avoid deadlock. 429 */ 430 printk_safe_enter(); 431 kmemleak_warn("Found object by alias at 0x%08lx\n", 432 ptr); 433 dump_object_info(object); > 434 printk_safe_exit(); 435 436 break; 437 } 438 } 439 return NULL; 440 } 441 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki
1 0
0 0
[openeuler:openEuler-1.0-LTS 1941/1941] mm/vmalloc.c:217:23: warning: variable 'start' set but not used
by kernel test robot 13 Dec '25

13 Dec '25
tree: https://gitee.com/openeuler/kernel.git openEuler-1.0-LTS head: df8d11fbcbb07177c2500e63d7f5a36063977596 commit: 3eb01faed2ebb254019a3bb72ce3bdf4d0a9be74 [1941/1941] mm/vmalloc: add vmap_range_noflush variant config: arm64-allnoconfig-bpf (https://download.01.org/0day-ci/archive/20251212/202512122201.xknqnJbC-lkp@…) compiler: aarch64-linux-gcc (GCC) 15.1.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251212/202512122201.xknqnJbC-lkp@…) 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(a)intel.com> | Closes: https://lore.kernel.org/oe-kbuild-all/202512122201.xknqnJbC-lkp@intel.com/ All warnings (new ones prefixed by >>): mm/vmalloc.c: In function 'vmap_range_noflush': >> mm/vmalloc.c:217:23: warning: variable 'start' set but not used [-Wunused-but-set-variable] 217 | unsigned long start; | ^~~~~ mm/vmalloc.c: At top level: mm/vmalloc.c:1417:6: warning: no previous prototype for 'set_iounmap_nonlazy' [-Wmissing-prototypes] 1417 | void set_iounmap_nonlazy(void) | ^~~~~~~~~~~~~~~~~~~ mm/vmalloc.c:3188: warning: Function parameter or member 'align' not described in 'pvm_determine_end_from_reverse' vim +/start +217 mm/vmalloc.c 004cface9c1c0b Nicholas Piggin 2021-10-29 211 3eb01faed2ebb2 Nicholas Piggin 2021-10-29 212 static int vmap_range_noflush(unsigned long addr, unsigned long end, 004cface9c1c0b Nicholas Piggin 2021-10-29 213 phys_addr_t phys_addr, pgprot_t prot, 004cface9c1c0b Nicholas Piggin 2021-10-29 214 unsigned int max_page_shift) 004cface9c1c0b Nicholas Piggin 2021-10-29 215 { 004cface9c1c0b Nicholas Piggin 2021-10-29 216 pgd_t *pgd; 004cface9c1c0b Nicholas Piggin 2021-10-29 @217 unsigned long start; 004cface9c1c0b Nicholas Piggin 2021-10-29 218 unsigned long next; 004cface9c1c0b Nicholas Piggin 2021-10-29 219 int err; 004cface9c1c0b Nicholas Piggin 2021-10-29 220 004cface9c1c0b Nicholas Piggin 2021-10-29 221 might_sleep(); 004cface9c1c0b Nicholas Piggin 2021-10-29 222 BUG_ON(addr >= end); 004cface9c1c0b Nicholas Piggin 2021-10-29 223 004cface9c1c0b Nicholas Piggin 2021-10-29 224 start = addr; 004cface9c1c0b Nicholas Piggin 2021-10-29 225 pgd = pgd_offset_k(addr); 004cface9c1c0b Nicholas Piggin 2021-10-29 226 do { 004cface9c1c0b Nicholas Piggin 2021-10-29 227 next = pgd_addr_end(addr, end); 004cface9c1c0b Nicholas Piggin 2021-10-29 228 err = vmap_p4d_range(pgd, addr, next, phys_addr, prot, max_page_shift); 004cface9c1c0b Nicholas Piggin 2021-10-29 229 if (err) 004cface9c1c0b Nicholas Piggin 2021-10-29 230 break; 004cface9c1c0b Nicholas Piggin 2021-10-29 231 } while (pgd++, phys_addr += (next - addr), addr = next, addr != end); 004cface9c1c0b Nicholas Piggin 2021-10-29 232 3eb01faed2ebb2 Nicholas Piggin 2021-10-29 233 return err; 3eb01faed2ebb2 Nicholas Piggin 2021-10-29 234 } 3eb01faed2ebb2 Nicholas Piggin 2021-10-29 235 :::::: The code at line 217 was first introduced by commit :::::: 004cface9c1c0b6351473934a4ce452193e05b07 mm: Move vmap_range from mm/ioremap.c to mm/vmalloc.c :::::: TO: Nicholas Piggin <npiggin(a)gmail.com> :::::: CC: Yang Yingliang <yangyingliang(a)huawei.com> -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki
1 0
0 0
[openeuler:OLK-6.6 3541/3541] drivers/crypto/ccp/hygon/vpsp.c:589:6: warning: no previous prototype for function 'vpsp_set_default_vid_permission'
by kernel test robot 13 Dec '25

13 Dec '25
tree: https://gitee.com/openeuler/kernel.git OLK-6.6 head: cd9eb9b4365b71652b2c2ac58293bea47c9f9302 commit: e2861aaa47961017ada7f66de11104bbf3b85eb1 [3541/3541] crypto: ccp: move vpsp-related functions to vpsp.c config: x86_64-randconfig-101-20251212 (https://download.01.org/0day-ci/archive/20251213/202512130435.BO31TiNF-lkp@…) compiler: clang version 20.1.8 (https://github.com/llvm/llvm-project 87f0227cb60147a26a1eeb4fb06e3b505e9c7261) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251213/202512130435.BO31TiNF-lkp@…) 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(a)intel.com> | Closes: https://lore.kernel.org/oe-kbuild-all/202512130435.BO31TiNF-lkp@intel.com/ All warnings (new ones prefixed by >>): >> drivers/crypto/ccp/hygon/vpsp.c:589:6: warning: no previous prototype for function 'vpsp_set_default_vid_permission' [-Wmissing-prototypes] 589 | void vpsp_set_default_vid_permission(uint32_t is_allow) | ^ drivers/crypto/ccp/hygon/vpsp.c:589:1: note: declare 'static' if the function is not intended to be used outside of this translation unit 589 | void vpsp_set_default_vid_permission(uint32_t is_allow) | ^ | static drivers/crypto/ccp/hygon/vpsp.c:1055:5: warning: no previous prototype for function 'vpsp_do_cmd' [-Wmissing-prototypes] 1055 | int vpsp_do_cmd(int cmd, phys_addr_t phy_addr, int *psp_ret) | ^ drivers/crypto/ccp/hygon/vpsp.c:1055:1: note: declare 'static' if the function is not intended to be used outside of this translation unit 1055 | int vpsp_do_cmd(int cmd, phys_addr_t phy_addr, int *psp_ret) | ^ | static 2 warnings generated. Kconfig warnings: (for reference only) WARNING: unmet direct dependencies detected for PTP_1588_CLOCK Depends on [n]: NET [=y] && POSIX_TIMERS [=n] Selected by [m]: - SXE [=m] && NETDEVICES [=y] && ETHERNET [=y] && NET_VENDOR_LINKDATA [=y] && (X86 [=y] || ARM64) && PCI [=y] - SXE_VF [=m] && NETDEVICES [=y] && ETHERNET [=y] && NET_VENDOR_LINKDATA [=y] && (X86 [=y] || ARM64) && PCI [=y] vim +/vpsp_set_default_vid_permission +589 drivers/crypto/ccp/hygon/vpsp.c 582 583 /** 584 * When 'allow_default_vid' is set to 1, 585 * QEMU is allowed to use 'vid 0' by default 586 * in the absence of a valid 'vid' setting. 587 */ 588 uint32_t allow_default_vid = 1; > 589 void vpsp_set_default_vid_permission(uint32_t is_allow) 590 { 591 allow_default_vid = is_allow; 592 } 593 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki
1 0
0 0
[openeuler:OLK-6.6 3541/3541] drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_service.c:2540:29: sparse: sparse: incorrect type in argument 1 (different address spaces)
by kernel test robot 13 Dec '25

13 Dec '25
Hi Bennie, First bad commit (maybe != root cause): tree: https://gitee.com/openeuler/kernel.git OLK-6.6 head: cd9eb9b4365b71652b2c2ac58293bea47c9f9302 commit: 69181c3c9413ccaa4dab458057d13efda520cb60 [3541/3541] Net: nebula_matrix: fix ci build warning config: x86_64-randconfig-121-20251212 (https://download.01.org/0day-ci/archive/20251213/202512130423.1ubNFGvk-lkp@…) compiler: gcc-14 (Debian 14.2.0-19) 14.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251213/202512130423.1ubNFGvk-lkp@…) 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(a)intel.com> | Closes: https://lore.kernel.org/oe-kbuild-all/202512130423.1ubNFGvk-lkp@intel.com/ sparse warnings: (new ones prefixed by >>) drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_service.c:32:5: sparse: sparse: symbol 'nbl_serv_setup_queues' was not declared. Should it be static? drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_service.c:68:6: sparse: sparse: symbol 'nbl_serv_flush_rx_queues' was not declared. Should it be static? drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_service.c:77:5: sparse: sparse: symbol 'nbl_serv_setup_rings' was not declared. Should it be static? drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_service.c:124:6: sparse: sparse: symbol 'nbl_serv_stop_rings' was not declared. Should it be static? drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_service.c:2116:6: sparse: sparse: symbol 'nbl_serv_pldmfw_op_pci_match_record' was not declared. Should it be static? drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_service.c:2528:38: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void const [noderef] __user *from @@ got void * @@ drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_service.c:2528:38: sparse: expected void const [noderef] __user *from drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_service.c:2528:38: sparse: got void * >> drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_service.c:2540:29: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void [noderef] __user *to @@ got void * @@ drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_service.c:2540:29: sparse: expected void [noderef] __user *to drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_service.c:2540:29: sparse: got void * drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_service.c:2851:5: sparse: sparse: symbol 'nbl_serv_get_vf_base_vsi_id' was not declared. Should it be static? drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_service.c: note: in included file (through arch/x86/include/asm/uaccess.h, include/linux/uaccess.h, include/linux/sched/task.h, ...): arch/x86/include/asm/uaccess_64.h:88:24: sparse: sparse: cast removes address space '__user' of expression arch/x86/include/asm/uaccess_64.h:88:24: sparse: sparse: cast removes address space '__user' of expression vim +2540 drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_service.c bad535d287c9c10 Bennie Yan 2024-09-24 2511 bad535d287c9c10 Bennie Yan 2024-09-24 2512 static int nbl_serv_process_passthrough(struct nbl_service_mgt *serv_mgt, bad535d287c9c10 Bennie Yan 2024-09-24 2513 unsigned int cmd, unsigned long arg) bad535d287c9c10 Bennie Yan 2024-09-24 2514 { bad535d287c9c10 Bennie Yan 2024-09-24 2515 struct nbl_dispatch_ops *disp_ops = NBL_SERV_MGT_TO_DISP_OPS(serv_mgt); bad535d287c9c10 Bennie Yan 2024-09-24 2516 struct nbl_common_info *common = NBL_SERV_MGT_TO_COMMON(serv_mgt); bad535d287c9c10 Bennie Yan 2024-09-24 2517 struct nbl_passthrough_fw_cmd_param *param = NULL, *result = NULL; bad535d287c9c10 Bennie Yan 2024-09-24 2518 int ret = 0; bad535d287c9c10 Bennie Yan 2024-09-24 2519 bad535d287c9c10 Bennie Yan 2024-09-24 2520 param = kzalloc(sizeof(*param), GFP_KERNEL); bad535d287c9c10 Bennie Yan 2024-09-24 2521 if (!param) bad535d287c9c10 Bennie Yan 2024-09-24 2522 goto alloc_param_fail; bad535d287c9c10 Bennie Yan 2024-09-24 2523 bad535d287c9c10 Bennie Yan 2024-09-24 2524 result = kzalloc(sizeof(*result), GFP_KERNEL); bad535d287c9c10 Bennie Yan 2024-09-24 2525 if (!result) bad535d287c9c10 Bennie Yan 2024-09-24 2526 goto alloc_result_fail; bad535d287c9c10 Bennie Yan 2024-09-24 2527 bad535d287c9c10 Bennie Yan 2024-09-24 2528 ret = copy_from_user(param, (void *)arg, _IOC_SIZE(cmd)); bad535d287c9c10 Bennie Yan 2024-09-24 2529 if (ret) { bad535d287c9c10 Bennie Yan 2024-09-24 2530 nbl_err(common, NBL_DEBUG_ST, "Bad access %d.\n", ret); bad535d287c9c10 Bennie Yan 2024-09-24 2531 return ret; bad535d287c9c10 Bennie Yan 2024-09-24 2532 } bad535d287c9c10 Bennie Yan 2024-09-24 2533 bad535d287c9c10 Bennie Yan 2024-09-24 2534 nbl_debug(common, NBL_DEBUG_ST, "Passthough opcode: %d\n", param->opcode); bad535d287c9c10 Bennie Yan 2024-09-24 2535 bad535d287c9c10 Bennie Yan 2024-09-24 2536 ret = disp_ops->passthrough_fw_cmd(NBL_SERV_MGT_TO_DISP_PRIV(serv_mgt), param, result); bad535d287c9c10 Bennie Yan 2024-09-24 2537 if (ret) bad535d287c9c10 Bennie Yan 2024-09-24 2538 goto passthrough_fail; bad535d287c9c10 Bennie Yan 2024-09-24 2539 bad535d287c9c10 Bennie Yan 2024-09-24 @2540 ret = copy_to_user((void *)arg, result, _IOC_SIZE(cmd)); bad535d287c9c10 Bennie Yan 2024-09-24 2541 bad535d287c9c10 Bennie Yan 2024-09-24 2542 passthrough_fail: bad535d287c9c10 Bennie Yan 2024-09-24 2543 kfree(result); bad535d287c9c10 Bennie Yan 2024-09-24 2544 alloc_result_fail: bad535d287c9c10 Bennie Yan 2024-09-24 2545 kfree(param); bad535d287c9c10 Bennie Yan 2024-09-24 2546 alloc_param_fail: bad535d287c9c10 Bennie Yan 2024-09-24 2547 return ret; bad535d287c9c10 Bennie Yan 2024-09-24 2548 } bad535d287c9c10 Bennie Yan 2024-09-24 2549 :::::: The code at line 2540 was first introduced by commit :::::: bad535d287c9c1056d99de3666be7da84de4a8fc Net:nbl_core: Add nbl_core-driver for nebula-matrix S1055AS series smart NIC. :::::: TO: Bennie Yan <bennie.yan(a)nebula-matrix.com> :::::: CC: Bennie Yan <bennie.yan(a)nebula-matrix.com> -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki
1 0
0 0
[openeuler:openEuler-1.0-LTS 1941/1941] drivers/base/node.c:480: warning: Function parameter or member 'mem_nid' not described in 'register_memory_node_under_compute_node'
by kernel test robot 13 Dec '25

13 Dec '25
tree: https://gitee.com/openeuler/kernel.git openEuler-1.0-LTS head: df8d11fbcbb07177c2500e63d7f5a36063977596 commit: 9e8e325cfd089c66c9a2f570f99021a62bf0ae09 [1941/1941] node: Link memory nodes to their compute nodes config: x86_64-randconfig-103-20251212 (https://download.01.org/0day-ci/archive/20251213/202512130318.QHdKVAVx-lkp@…) compiler: clang version 22.0.0git (https://github.com/llvm/llvm-project 1335a05ab8bc8339ce24be3a9da89d8c3f4e0571) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251213/202512130318.QHdKVAVx-lkp@…) 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(a)intel.com> | Closes: https://lore.kernel.org/oe-kbuild-all/202512130318.QHdKVAVx-lkp@intel.com/ All warnings (new ones prefixed by >>): In file included from <built-in>:2: In file included from include/linux/compiler_types.h:59: include/linux/compiler-clang.h:20:9: warning: '__SANITIZE_ADDRESS__' macro redefined [-Wmacro-redefined] 20 | #define __SANITIZE_ADDRESS__ | ^ <built-in>:354:9: note: previous definition is here 354 | #define __SANITIZE_ADDRESS__ 1 | ^ 1 warning generated. >> drivers/base/node.c:480: warning: Function parameter or member 'mem_nid' not described in 'register_memory_node_under_compute_node' drivers/base/node.c:480: warning: Function parameter or member 'cpu_nid' not described in 'register_memory_node_under_compute_node' drivers/base/node.c:480: warning: Excess function parameter 'mem_node' description in 'register_memory_node_under_compute_node' drivers/base/node.c:480: warning: Excess function parameter 'cpu_node' description in 'register_memory_node_under_compute_node' vim +480 drivers/base/node.c 463 464 /** 465 * register_memory_node_under_compute_node - link memory node to its compute 466 * node for a given access class. 467 * @mem_node: Memory node number 468 * @cpu_node: Cpu node number 469 * @access: Access class to register 470 * 471 * Description: 472 * For use with platforms that may have separate memory and compute nodes. 473 * This function will export node relationships linking which memory 474 * initiator nodes can access memory targets at a given ranked access 475 * class. 476 */ 477 int register_memory_node_under_compute_node(unsigned int mem_nid, 478 unsigned int cpu_nid, 479 unsigned access) > 480 { 481 struct node *init_node, *targ_node; 482 struct node_access_nodes *initiator, *target; 483 int ret; 484 485 if (!node_online(cpu_nid) || !node_online(mem_nid)) 486 return -ENODEV; 487 488 init_node = node_devices[cpu_nid]; 489 targ_node = node_devices[mem_nid]; 490 initiator = node_init_node_access(init_node, access); 491 target = node_init_node_access(targ_node, access); 492 if (!initiator || !target) 493 return -ENOMEM; 494 495 ret = sysfs_add_link_to_group(&initiator->dev.kobj, "targets", 496 &targ_node->dev.kobj, 497 dev_name(&targ_node->dev)); 498 if (ret) 499 return ret; 500 501 ret = sysfs_add_link_to_group(&target->dev.kobj, "initiators", 502 &init_node->dev.kobj, 503 dev_name(&init_node->dev)); 504 if (ret) 505 goto err; 506 507 return 0; 508 err: 509 sysfs_remove_link_from_group(&initiator->dev.kobj, "targets", 510 dev_name(&targ_node->dev)); 511 return ret; 512 } 513 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki
1 0
0 0
[openeuler:OLK-6.6 3541/3541] drivers/crypto/ccp/hygon/csv-dev.c:882: warning: Function parameter or member 'api_minor' not described in 'user_data_status'
by kernel test robot 13 Dec '25

13 Dec '25
tree: https://gitee.com/openeuler/kernel.git OLK-6.6 head: cd9eb9b4365b71652b2c2ac58293bea47c9f9302 commit: 518c81d56c055affc71650b1ad1ba7f86e5ee867 [3541/3541] arch/x86/kvm: Support tkm virtualization config: x86_64-randconfig-101-20251212 (https://download.01.org/0day-ci/archive/20251213/202512130255.5pbCemhg-lkp@…) compiler: clang version 20.1.8 (https://github.com/llvm/llvm-project 87f0227cb60147a26a1eeb4fb06e3b505e9c7261) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251213/202512130255.5pbCemhg-lkp@…) 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(a)intel.com> | Closes: https://lore.kernel.org/oe-kbuild-all/202512130255.5pbCemhg-lkp@intel.com/ All warnings (new ones prefixed by >>): drivers/crypto/ccp/hygon/csv-dev.c:882: warning: Function parameter or member 'api_major' not described in 'user_data_status' >> drivers/crypto/ccp/hygon/csv-dev.c:882: warning: Function parameter or member 'api_minor' not described in 'user_data_status' drivers/crypto/ccp/hygon/csv-dev.c:882: warning: Function parameter or member 'reserved1' not described in 'user_data_status' vim +882 drivers/crypto/ccp/hygon/csv-dev.c 851 852 /** 853 * struct user_data_status - PLATFORM_STATUS command parameters 854 * 855 * @major: major API version 856 * @minor: minor API version 857 * @state: platform state 858 * @owner: self-owned or externally owned 859 * @chip_secure: ES or MP chip 860 * @fw_enc: is this FW is encrypted 861 * @fw_sign: is this FW is signed 862 * @config_es: platform config flags for csv-es 863 * @build: Firmware Build ID for this API version 864 * @bl_version_debug: Bootloader VERSION_DEBUG field 865 * @bl_version_minor: Bootloader VERSION_MINOR field 866 * @bl_version_major: Bootloader VERSION_MAJOR field 867 * @guest_count: number of active guests 868 * @reserved: should set to zero 869 */ 870 struct user_data_status { 871 uint8_t api_major; /* Out */ 872 uint8_t api_minor; /* Out */ 873 uint8_t state; /* Out */ 874 uint8_t owner : 1, /* Out */ 875 chip_secure : 1, /* Out */ 876 fw_enc : 1, /* Out */ 877 fw_sign : 1, /* Out */ 878 reserved1 : 4; /*reserved*/ 879 uint32_t config_es : 1, /* Out */ 880 build : 31; /* Out */ 881 uint32_t guest_count; /* Out */ > 882 } __packed; 883 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki
1 0
0 0
[openeuler:openEuler-1.0-LTS 1941/1941] mm/page_alloc.c:3005: warning: Function parameter or member 'mt' not described in '__putback_isolated_page'
by kernel test robot 13 Dec '25

13 Dec '25
tree: https://gitee.com/openeuler/kernel.git openEuler-1.0-LTS head: df8d11fbcbb07177c2500e63d7f5a36063977596 commit: 91bac2310ae7eca9d9869222c96fcc3d02851eea [1941/1941] mm: add function __putback_isolated_page config: arm64-allnoconfig-bpf (https://download.01.org/0day-ci/archive/20251212/202512121956.obyBPboz-lkp@…) compiler: aarch64-linux-gcc (GCC) 15.1.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251212/202512121956.obyBPboz-lkp@…) 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(a)intel.com> | Closes: https://lore.kernel.org/oe-kbuild-all/202512121956.obyBPboz-lkp@intel.com/ All warnings (new ones prefixed by >>): | ^ mm/page_alloc.c:7269:9: note: in expansion of macro 'adj_init_size' 7269 | adj_init_size(__init_begin, __init_end, init_data_size, | ^~~~~~~~~~~~~ mm/page_alloc.c:7265:27: warning: comparison between two arrays [-Warray-compare] 7265 | if (start <= pos && pos < end && size > adj) \ | ^~ mm/page_alloc.c:7271:9: note: in expansion of macro 'adj_init_size' 7271 | adj_init_size(_stext, _etext, codesize, _sinittext, init_code_size); | ^~~~~~~~~~~~~ mm/page_alloc.c:7265:27: note: use '&_stext[0] <= &_sinittext[0]' to compare the addresses 7265 | if (start <= pos && pos < end && size > adj) \ | ^~ mm/page_alloc.c:7271:9: note: in expansion of macro 'adj_init_size' 7271 | adj_init_size(_stext, _etext, codesize, _sinittext, init_code_size); | ^~~~~~~~~~~~~ mm/page_alloc.c:7265:41: warning: comparison between two arrays [-Warray-compare] 7265 | if (start <= pos && pos < end && size > adj) \ | ^ mm/page_alloc.c:7271:9: note: in expansion of macro 'adj_init_size' 7271 | adj_init_size(_stext, _etext, codesize, _sinittext, init_code_size); | ^~~~~~~~~~~~~ mm/page_alloc.c:7265:41: note: use '&_sinittext[0] < &_etext[0]' to compare the addresses 7265 | if (start <= pos && pos < end && size > adj) \ | ^ mm/page_alloc.c:7271:9: note: in expansion of macro 'adj_init_size' 7271 | adj_init_size(_stext, _etext, codesize, _sinittext, init_code_size); | ^~~~~~~~~~~~~ mm/page_alloc.c:7265:27: warning: comparison between two arrays [-Warray-compare] 7265 | if (start <= pos && pos < end && size > adj) \ | ^~ mm/page_alloc.c:7272:9: note: in expansion of macro 'adj_init_size' 7272 | adj_init_size(_sdata, _edata, datasize, __init_begin, init_data_size); | ^~~~~~~~~~~~~ mm/page_alloc.c:7265:27: note: use '&_sdata[0] <= &__init_begin[0]' to compare the addresses 7265 | if (start <= pos && pos < end && size > adj) \ | ^~ mm/page_alloc.c:7272:9: note: in expansion of macro 'adj_init_size' 7272 | adj_init_size(_sdata, _edata, datasize, __init_begin, init_data_size); | ^~~~~~~~~~~~~ mm/page_alloc.c:7265:41: warning: comparison between two arrays [-Warray-compare] 7265 | if (start <= pos && pos < end && size > adj) \ | ^ mm/page_alloc.c:7272:9: note: in expansion of macro 'adj_init_size' 7272 | adj_init_size(_sdata, _edata, datasize, __init_begin, init_data_size); | ^~~~~~~~~~~~~ mm/page_alloc.c:7265:41: note: use '&__init_begin[0] < &_edata[0]' to compare the addresses 7265 | if (start <= pos && pos < end && size > adj) \ | ^ mm/page_alloc.c:7272:9: note: in expansion of macro 'adj_init_size' 7272 | adj_init_size(_sdata, _edata, datasize, __init_begin, init_data_size); | ^~~~~~~~~~~~~ mm/page_alloc.c:7265:27: warning: comparison between two arrays [-Warray-compare] 7265 | if (start <= pos && pos < end && size > adj) \ | ^~ mm/page_alloc.c:7273:9: note: in expansion of macro 'adj_init_size' 7273 | adj_init_size(_stext, _etext, codesize, __start_rodata, rosize); | ^~~~~~~~~~~~~ mm/page_alloc.c:7265:27: note: use '&_stext[0] <= &__start_rodata[0]' to compare the addresses 7265 | if (start <= pos && pos < end && size > adj) \ | ^~ mm/page_alloc.c:7273:9: note: in expansion of macro 'adj_init_size' 7273 | adj_init_size(_stext, _etext, codesize, __start_rodata, rosize); | ^~~~~~~~~~~~~ mm/page_alloc.c:7265:41: warning: comparison between two arrays [-Warray-compare] 7265 | if (start <= pos && pos < end && size > adj) \ | ^ mm/page_alloc.c:7273:9: note: in expansion of macro 'adj_init_size' 7273 | adj_init_size(_stext, _etext, codesize, __start_rodata, rosize); | ^~~~~~~~~~~~~ mm/page_alloc.c:7265:41: note: use '&__start_rodata[0] < &_etext[0]' to compare the addresses 7265 | if (start <= pos && pos < end && size > adj) \ | ^ mm/page_alloc.c:7273:9: note: in expansion of macro 'adj_init_size' 7273 | adj_init_size(_stext, _etext, codesize, __start_rodata, rosize); | ^~~~~~~~~~~~~ mm/page_alloc.c:7265:27: warning: comparison between two arrays [-Warray-compare] 7265 | if (start <= pos && pos < end && size > adj) \ | ^~ mm/page_alloc.c:7274:9: note: in expansion of macro 'adj_init_size' 7274 | adj_init_size(_sdata, _edata, datasize, __start_rodata, rosize); | ^~~~~~~~~~~~~ mm/page_alloc.c:7265:27: note: use '&_sdata[0] <= &__start_rodata[0]' to compare the addresses 7265 | if (start <= pos && pos < end && size > adj) \ | ^~ mm/page_alloc.c:7274:9: note: in expansion of macro 'adj_init_size' 7274 | adj_init_size(_sdata, _edata, datasize, __start_rodata, rosize); | ^~~~~~~~~~~~~ mm/page_alloc.c:7265:41: warning: comparison between two arrays [-Warray-compare] 7265 | if (start <= pos && pos < end && size > adj) \ | ^ mm/page_alloc.c:7274:9: note: in expansion of macro 'adj_init_size' 7274 | adj_init_size(_sdata, _edata, datasize, __start_rodata, rosize); | ^~~~~~~~~~~~~ mm/page_alloc.c:7265:41: note: use '&__start_rodata[0] < &_edata[0]' to compare the addresses 7265 | if (start <= pos && pos < end && size > adj) \ | ^ mm/page_alloc.c:7274:9: note: in expansion of macro 'adj_init_size' 7274 | adj_init_size(_sdata, _edata, datasize, __start_rodata, rosize); | ^~~~~~~~~~~~~ >> mm/page_alloc.c:3005: warning: Function parameter or member 'mt' not described in '__putback_isolated_page' vim +3005 mm/page_alloc.c 2995 2996 /** 2997 * __putback_isolated_page - Return a now-isolated page back where we got it 2998 * @page: Page that was isolated 2999 * @order: Order of the isolated page 3000 * 3001 * This function is meant to return a page pulled from the free lists via 3002 * __isolate_free_page back to the free lists they were pulled from. 3003 */ 3004 void __putback_isolated_page(struct page *page, unsigned int order, int mt) > 3005 { 3006 struct zone *zone = page_zone(page); 3007 3008 /* zone lock should be held when this function is called */ 3009 lockdep_assert_held(&zone->lock); 3010 3011 /* Return isolated page to tail of freelist. */ 3012 __free_one_page(page, page_to_pfn(page), zone, order, mt); 3013 } 3014 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki
1 0
0 0
[openeuler:openEuler-1.0-LTS 1941/1941] drivers/tee/optee/core.c:618:10: warning: return makes integer from pointer without a cast
by kernel test robot 13 Dec '25

13 Dec '25
Hi Ard, First bad commit (maybe != root cause): tree: https://gitee.com/openeuler/kernel.git openEuler-1.0-LTS head: df8d11fbcbb07177c2500e63d7f5a36063977596 commit: 595311cf7e49c781dd26782e4b45fd54bbfb3e40 [1941/1941] optee: model OP-TEE as a platform device/driver config: arm64-randconfig-003-20251212 (https://download.01.org/0day-ci/archive/20251213/202512130142.AbrsHgBp-lkp@…) compiler: aarch64-linux-gcc (GCC) 7.5.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251213/202512130142.AbrsHgBp-lkp@…) 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(a)intel.com> | Closes: https://lore.kernel.org/oe-kbuild-all/202512130142.AbrsHgBp-lkp@intel.com/ All warnings (new ones prefixed by >>): drivers/tee/optee/core.c: In function 'optee_probe': >> drivers/tee/optee/core.c:618:10: warning: return makes integer from pointer without a cast [-Wint-conversion] return ERR_PTR(-EINVAL); ^~~~~~~~~~~~~~~~ vim +618 drivers/tee/optee/core.c 595311cf7e49c7 Ard Biesheuvel 2019-12-09 581 595311cf7e49c7 Ard Biesheuvel 2019-12-09 582 static int optee_probe(struct platform_device *pdev) 4fb0a5eb364d23 Jens Wiklander 2015-04-14 583 { 4fb0a5eb364d23 Jens Wiklander 2015-04-14 584 optee_invoke_fn *invoke_fn; 4fb0a5eb364d23 Jens Wiklander 2015-04-14 585 struct tee_shm_pool *pool; 4fb0a5eb364d23 Jens Wiklander 2015-04-14 586 struct optee *optee = NULL; 4fb0a5eb364d23 Jens Wiklander 2015-04-14 587 void *memremaped_shm = NULL; 4fb0a5eb364d23 Jens Wiklander 2015-04-14 588 struct tee_device *teedev; 4fb0a5eb364d23 Jens Wiklander 2015-04-14 589 u32 sec_caps; 4fb0a5eb364d23 Jens Wiklander 2015-04-14 590 int rc; 4fb0a5eb364d23 Jens Wiklander 2015-04-14 591 595311cf7e49c7 Ard Biesheuvel 2019-12-09 592 invoke_fn = get_invoke_func(&pdev->dev); 4fb0a5eb364d23 Jens Wiklander 2015-04-14 593 if (IS_ERR(invoke_fn)) 595311cf7e49c7 Ard Biesheuvel 2019-12-09 594 return PTR_ERR(invoke_fn); 4fb0a5eb364d23 Jens Wiklander 2015-04-14 595 4fb0a5eb364d23 Jens Wiklander 2015-04-14 596 if (!optee_msg_api_uid_is_optee_api(invoke_fn)) { 4fb0a5eb364d23 Jens Wiklander 2015-04-14 597 pr_warn("api uid mismatch\n"); 595311cf7e49c7 Ard Biesheuvel 2019-12-09 598 return -EINVAL; 4fb0a5eb364d23 Jens Wiklander 2015-04-14 599 } 4fb0a5eb364d23 Jens Wiklander 2015-04-14 600 5c5f80307ab27c Jérôme Forissier 2017-11-24 601 optee_msg_get_os_revision(invoke_fn); 5c5f80307ab27c Jérôme Forissier 2017-11-24 602 4fb0a5eb364d23 Jens Wiklander 2015-04-14 603 if (!optee_msg_api_revision_is_compatible(invoke_fn)) { 4fb0a5eb364d23 Jens Wiklander 2015-04-14 604 pr_warn("api revision mismatch\n"); 595311cf7e49c7 Ard Biesheuvel 2019-12-09 605 return -EINVAL; 4fb0a5eb364d23 Jens Wiklander 2015-04-14 606 } 4fb0a5eb364d23 Jens Wiklander 2015-04-14 607 4fb0a5eb364d23 Jens Wiklander 2015-04-14 608 if (!optee_msg_exchange_capabilities(invoke_fn, &sec_caps)) { 4fb0a5eb364d23 Jens Wiklander 2015-04-14 609 pr_warn("capabilities mismatch\n"); 595311cf7e49c7 Ard Biesheuvel 2019-12-09 610 return -EINVAL; 4fb0a5eb364d23 Jens Wiklander 2015-04-14 611 } 4fb0a5eb364d23 Jens Wiklander 2015-04-14 612 4fb0a5eb364d23 Jens Wiklander 2015-04-14 613 /* 4fb0a5eb364d23 Jens Wiklander 2015-04-14 614 * We have no other option for shared memory, if secure world 4fb0a5eb364d23 Jens Wiklander 2015-04-14 615 * doesn't have any reserved memory we can use we can't continue. 4fb0a5eb364d23 Jens Wiklander 2015-04-14 616 */ 4fb0a5eb364d23 Jens Wiklander 2015-04-14 617 if (!(sec_caps & OPTEE_SMC_SEC_CAP_HAVE_RESERVED_SHM)) 4fb0a5eb364d23 Jens Wiklander 2015-04-14 @618 return ERR_PTR(-EINVAL); 4fb0a5eb364d23 Jens Wiklander 2015-04-14 619 f58e236c9d665a Volodymyr Babchuk 2017-11-29 620 pool = optee_config_shm_memremap(invoke_fn, &memremaped_shm, sec_caps); 4fb0a5eb364d23 Jens Wiklander 2015-04-14 621 if (IS_ERR(pool)) 595311cf7e49c7 Ard Biesheuvel 2019-12-09 622 return PTR_ERR(pool); 4fb0a5eb364d23 Jens Wiklander 2015-04-14 623 4fb0a5eb364d23 Jens Wiklander 2015-04-14 624 optee = kzalloc(sizeof(*optee), GFP_KERNEL); 4fb0a5eb364d23 Jens Wiklander 2015-04-14 625 if (!optee) { 4fb0a5eb364d23 Jens Wiklander 2015-04-14 626 rc = -ENOMEM; 4fb0a5eb364d23 Jens Wiklander 2015-04-14 627 goto err; 4fb0a5eb364d23 Jens Wiklander 2015-04-14 628 } 4fb0a5eb364d23 Jens Wiklander 2015-04-14 629 4fb0a5eb364d23 Jens Wiklander 2015-04-14 630 optee->invoke_fn = invoke_fn; d885cc5e0759fc Volodymyr Babchuk 2017-11-29 631 optee->sec_caps = sec_caps; 4fb0a5eb364d23 Jens Wiklander 2015-04-14 632 4fb0a5eb364d23 Jens Wiklander 2015-04-14 633 teedev = tee_device_alloc(&optee_desc, NULL, pool, optee); 4fb0a5eb364d23 Jens Wiklander 2015-04-14 634 if (IS_ERR(teedev)) { 4fb0a5eb364d23 Jens Wiklander 2015-04-14 635 rc = PTR_ERR(teedev); 4fb0a5eb364d23 Jens Wiklander 2015-04-14 636 goto err; 4fb0a5eb364d23 Jens Wiklander 2015-04-14 637 } 4fb0a5eb364d23 Jens Wiklander 2015-04-14 638 optee->teedev = teedev; 4fb0a5eb364d23 Jens Wiklander 2015-04-14 639 4fb0a5eb364d23 Jens Wiklander 2015-04-14 640 teedev = tee_device_alloc(&optee_supp_desc, NULL, pool, optee); 4fb0a5eb364d23 Jens Wiklander 2015-04-14 641 if (IS_ERR(teedev)) { 4fb0a5eb364d23 Jens Wiklander 2015-04-14 642 rc = PTR_ERR(teedev); 4fb0a5eb364d23 Jens Wiklander 2015-04-14 643 goto err; 4fb0a5eb364d23 Jens Wiklander 2015-04-14 644 } 4fb0a5eb364d23 Jens Wiklander 2015-04-14 645 optee->supp_teedev = teedev; 4fb0a5eb364d23 Jens Wiklander 2015-04-14 646 4fb0a5eb364d23 Jens Wiklander 2015-04-14 647 rc = tee_device_register(optee->teedev); 4fb0a5eb364d23 Jens Wiklander 2015-04-14 648 if (rc) 4fb0a5eb364d23 Jens Wiklander 2015-04-14 649 goto err; 4fb0a5eb364d23 Jens Wiklander 2015-04-14 650 4fb0a5eb364d23 Jens Wiklander 2015-04-14 651 rc = tee_device_register(optee->supp_teedev); 4fb0a5eb364d23 Jens Wiklander 2015-04-14 652 if (rc) 4fb0a5eb364d23 Jens Wiklander 2015-04-14 653 goto err; 4fb0a5eb364d23 Jens Wiklander 2015-04-14 654 4fb0a5eb364d23 Jens Wiklander 2015-04-14 655 mutex_init(&optee->call_queue.mutex); 4fb0a5eb364d23 Jens Wiklander 2015-04-14 656 INIT_LIST_HEAD(&optee->call_queue.waiters); 4fb0a5eb364d23 Jens Wiklander 2015-04-14 657 optee_wait_queue_init(&optee->wait_queue); 4fb0a5eb364d23 Jens Wiklander 2015-04-14 658 optee_supp_init(&optee->supp); 4fb0a5eb364d23 Jens Wiklander 2015-04-14 659 optee->memremaped_shm = memremaped_shm; 4fb0a5eb364d23 Jens Wiklander 2015-04-14 660 optee->pool = pool; 4fb0a5eb364d23 Jens Wiklander 2015-04-14 661 4fb0a5eb364d23 Jens Wiklander 2015-04-14 662 optee_enable_shm_cache(optee); 4fb0a5eb364d23 Jens Wiklander 2015-04-14 663 595311cf7e49c7 Ard Biesheuvel 2019-12-09 664 platform_set_drvdata(pdev, optee); 595311cf7e49c7 Ard Biesheuvel 2019-12-09 665 4fb0a5eb364d23 Jens Wiklander 2015-04-14 666 pr_info("initialized driver\n"); 595311cf7e49c7 Ard Biesheuvel 2019-12-09 667 return 0; 4fb0a5eb364d23 Jens Wiklander 2015-04-14 668 err: 4fb0a5eb364d23 Jens Wiklander 2015-04-14 669 if (optee) { 4fb0a5eb364d23 Jens Wiklander 2015-04-14 670 /* 4fb0a5eb364d23 Jens Wiklander 2015-04-14 671 * tee_device_unregister() is safe to call even if the 4fb0a5eb364d23 Jens Wiklander 2015-04-14 672 * devices hasn't been registered with 4fb0a5eb364d23 Jens Wiklander 2015-04-14 673 * tee_device_register() yet. 4fb0a5eb364d23 Jens Wiklander 2015-04-14 674 */ 4fb0a5eb364d23 Jens Wiklander 2015-04-14 675 tee_device_unregister(optee->supp_teedev); 4fb0a5eb364d23 Jens Wiklander 2015-04-14 676 tee_device_unregister(optee->teedev); 4fb0a5eb364d23 Jens Wiklander 2015-04-14 677 kfree(optee); 4fb0a5eb364d23 Jens Wiklander 2015-04-14 678 } 4fb0a5eb364d23 Jens Wiklander 2015-04-14 679 if (pool) 4fb0a5eb364d23 Jens Wiklander 2015-04-14 680 tee_shm_pool_free(pool); 4fb0a5eb364d23 Jens Wiklander 2015-04-14 681 if (memremaped_shm) 4fb0a5eb364d23 Jens Wiklander 2015-04-14 682 memunmap(memremaped_shm); 595311cf7e49c7 Ard Biesheuvel 2019-12-09 683 return rc; 4fb0a5eb364d23 Jens Wiklander 2015-04-14 684 } 4fb0a5eb364d23 Jens Wiklander 2015-04-14 685 :::::: The code at line 618 was first introduced by commit :::::: 4fb0a5eb364d239722e745c02aef0dbd4e0f1ad2 tee: add OP-TEE driver :::::: TO: Jens Wiklander <jens.wiklander(a)linaro.org> :::::: CC: Jens Wiklander <jens.wiklander(a)linaro.org> -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki
1 0
0 0
[openeuler:OLK-5.10 3408/3408] drivers/crypto/ccp/hygon/tdm-dev.c:95:13: warning: variable 'ret' set but not used
by kernel test robot 13 Dec '25

13 Dec '25
tree: https://gitee.com/openeuler/kernel.git OLK-5.10 head: da8948fdddb84e5496272bab85973165594dd469 commit: 8011fdfd4cf33e84a51bab09ea76df4be3453037 [3408/3408] crypto: tdm: Add Hygon TDM driver config: x86_64-randconfig-074-20251212 (https://download.01.org/0day-ci/archive/20251213/202512130255.3H21JVbQ-lkp@…) compiler: gcc-14 (Debian 14.2.0-19) 14.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251213/202512130255.3H21JVbQ-lkp@…) 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(a)intel.com> | Closes: https://lore.kernel.org/oe-kbuild-all/202512130255.3H21JVbQ-lkp@intel.com/ All warnings (new ones prefixed by >>): drivers/crypto/ccp/hygon/tdm-dev.c: In function 'list_enqueue': >> drivers/crypto/ccp/hygon/tdm-dev.c:95:13: warning: variable 'ret' set but not used [-Wunused-but-set-variable] 95 | int ret = 0; | ^~~ drivers/crypto/ccp/hygon/tdm-dev.c: In function 'psp_create_measure_task': >> drivers/crypto/ccp/hygon/tdm-dev.c:610:27: warning: variable 'head' set but not used [-Wunused-but-set-variable] 610 | struct list_head *head = NULL; | ^~~~ Kconfig warnings: (for reference only) WARNING: unmet direct dependencies detected for PTP_1588_CLOCK Depends on [n]: NET [=y] && POSIX_TIMERS [=n] Selected by [m]: - SXE [=m] && NETDEVICES [=y] && ETHERNET [=y] && NET_VENDOR_LINKDATA [=y] && (X86 [=y] || ARM64) && PCI [=y] - SXE_VF [=m] && NETDEVICES [=y] && ETHERNET [=y] && NET_VENDOR_LINKDATA [=y] && (X86 [=y] || ARM64) && PCI [=y] vim +/ret +95 drivers/crypto/ccp/hygon/tdm-dev.c 92 93 static int list_enqueue(void *entry) 94 { > 95 int ret = 0; 96 struct list_head *head, *entry_list = NULL; 97 rwlock_t *lock = NULL; 98 99 if (!entry) { 100 ret = -DYN_NULL_POINTER; 101 pr_err("Null pointer\n"); 102 goto end; 103 } 104 105 head = &dyn_head.head; 106 lock = &dyn_head.lock; 107 entry_list = &(((struct tdm_task_ctx *)entry)->list); 108 109 write_lock(lock); 110 if (entry_list) 111 list_add_tail(entry_list, head); 112 write_unlock(lock); 113 114 end: 115 return 0; 116 } 117 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki
1 0
0 0
  • ← Newer
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • ...
  • 2193
  • Older →

HyperKitty Powered by HyperKitty