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

  • 44 participants
  • 21874 discussions
[openeuler:OLK-6.6 3541/3541] drivers/cpufreq/cppc_cpufreq.c:852:19: error: incomplete definition of type 'struct fb_ctr_pair'
by kernel test robot 12 Dec '25

12 Dec '25
Hi Zeng, FYI, the error/warning still remains. tree: https://gitee.com/openeuler/kernel.git OLK-6.6 head: cd9eb9b4365b71652b2c2ac58293bea47c9f9302 commit: 12f136b2134d4ded731c3ef23ac08c85b9c0b1fa [3541/3541] cpufreq: CPPC: Keep the target core awake when reading its cpufreq rate config: arm64-randconfig-002-20251212 (https://download.01.org/0day-ci/archive/20251212/202512122204.MoIXLFAZ-lkp@…) compiler: clang version 19.1.7 (https://github.com/llvm/llvm-project cd708029e0b2869e80abe31ddb175f7c35361f90) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251212/202512122204.MoIXLFAZ-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/202512122204.MoIXLFAZ-lkp@intel.com/ All errors (new ones prefixed by >>): In file included from drivers/cpufreq/cppc_cpufreq.c:28: In file included from include/acpi/cppc_acpi.h:13: In file included from include/linux/acpi.h:37: In file included from include/acpi/acpi_io.h:7: In file included from arch/arm64/include/asm/acpi.h:14: In file included from include/linux/memblock.h:12: In file included from include/linux/mm.h:2181: include/linux/vmstat.h:522:36: warning: arithmetic between different enumeration types ('enum node_stat_item' and 'enum lru_list') [-Wenum-enum-conversion] 522 | return node_stat_name(NR_LRU_BASE + lru) + 3; // skip "nr_" | ~~~~~~~~~~~ ^ ~~~ >> drivers/cpufreq/cppc_cpufreq.c:852:19: error: incomplete definition of type 'struct fb_ctr_pair' 852 | int cpu = fb_ctrs->cpu; | ~~~~~~~^ drivers/cpufreq/cppc_cpufreq.c:851:9: note: forward declaration of 'struct fb_ctr_pair' 851 | struct fb_ctr_pair *fb_ctrs = val; | ^ drivers/cpufreq/cppc_cpufreq.c:855:40: error: incomplete definition of type 'struct fb_ctr_pair' 855 | ret = cppc_get_perf_ctrs(cpu, &fb_ctrs->fb_ctrs_t0); | ~~~~~~~^ drivers/cpufreq/cppc_cpufreq.c:851:9: note: forward declaration of 'struct fb_ctr_pair' 851 | struct fb_ctr_pair *fb_ctrs = val; | ^ drivers/cpufreq/cppc_cpufreq.c:861:41: error: incomplete definition of type 'struct fb_ctr_pair' 861 | return cppc_get_perf_ctrs(cpu, &fb_ctrs->fb_ctrs_t1); | ~~~~~~~^ drivers/cpufreq/cppc_cpufreq.c:851:9: note: forward declaration of 'struct fb_ctr_pair' 851 | struct fb_ctr_pair *fb_ctrs = val; | ^ drivers/cpufreq/cppc_cpufreq.c:866:21: error: variable has incomplete type 'struct fb_ctr_pair' 866 | struct fb_ctr_pair fb_ctrs = { .cpu = cpu, }; | ^ drivers/cpufreq/cppc_cpufreq.c:866:9: note: forward declaration of 'struct fb_ctr_pair' 866 | struct fb_ctr_pair fb_ctrs = { .cpu = cpu, }; | ^ 1 warning and 4 errors generated. vim +852 drivers/cpufreq/cppc_cpufreq.c 848 849 static int cppc_get_perf_ctrs_pair(void *val) 850 { 851 struct fb_ctr_pair *fb_ctrs = val; > 852 int cpu = fb_ctrs->cpu; 853 int ret; 854 855 ret = cppc_get_perf_ctrs(cpu, &fb_ctrs->fb_ctrs_t0); 856 if (ret) 857 return ret; 858 859 udelay(2); /* 2usec delay between sampling */ 860 861 return cppc_get_perf_ctrs(cpu, &fb_ctrs->fb_ctrs_t1); 862 } 863 -- 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/psp-dev.c:25:10: warning: no previous prototype for function 'atomic64_exchange'
by kernel test robot 12 Dec '25

12 Dec '25
tree: https://gitee.com/openeuler/kernel.git OLK-6.6 head: cd9eb9b4365b71652b2c2ac58293bea47c9f9302 commit: fe08767e3a083e73a72f08432bc6fbd864fa7179 [3541/3541] drivers/crypto/ccp: concurrent psp access support between user and kernel space config: x86_64-randconfig-101-20251212 (https://download.01.org/0day-ci/archive/20251212/202512122101.aJqs71rj-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/20251212/202512122101.aJqs71rj-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/202512122101.aJqs71rj-lkp@intel.com/ All warnings (new ones prefixed by >>): In file included from drivers/crypto/ccp/hygon/psp-dev.c:18: In file included from drivers/crypto/ccp/hygon/psp-dev.h:17: In file included from drivers/crypto/ccp/hygon/sp-dev.h:14: In file included from include/linux/ccp.h:14: In file included from include/linux/scatterlist.h:8: In file included from include/linux/mm.h:2242: include/linux/vmstat.h:508:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion] 508 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS + | ~~~~~~~~~~~~~~~~~~~~~ ^ 509 | item]; | ~~~~ include/linux/vmstat.h:515:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion] 515 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS + | ~~~~~~~~~~~~~~~~~~~~~ ^ 516 | NR_VM_NUMA_EVENT_ITEMS + | ~~~~~~~~~~~~~~~~~~~~~~ include/linux/vmstat.h:522:36: warning: arithmetic between different enumeration types ('enum node_stat_item' and 'enum lru_list') [-Wenum-enum-conversion] 522 | return node_stat_name(NR_LRU_BASE + lru) + 3; // skip "nr_" | ~~~~~~~~~~~ ^ ~~~ include/linux/vmstat.h:527:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion] 527 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS + | ~~~~~~~~~~~~~~~~~~~~~ ^ 528 | NR_VM_NUMA_EVENT_ITEMS + | ~~~~~~~~~~~~~~~~~~~~~~ include/linux/vmstat.h:536:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion] 536 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS + | ~~~~~~~~~~~~~~~~~~~~~ ^ 537 | NR_VM_NUMA_EVENT_ITEMS + | ~~~~~~~~~~~~~~~~~~~~~~ >> drivers/crypto/ccp/hygon/psp-dev.c:25:10: warning: no previous prototype for function 'atomic64_exchange' [-Wmissing-prototypes] 25 | uint64_t atomic64_exchange(uint64_t *dst, uint64_t val) | ^ drivers/crypto/ccp/hygon/psp-dev.c:25:1: note: declare 'static' if the function is not intended to be used outside of this translation unit 25 | uint64_t atomic64_exchange(uint64_t *dst, uint64_t val) | ^ | static drivers/crypto/ccp/hygon/psp-dev.c:30:5: warning: no previous prototype for function 'psp_mutex_init' [-Wmissing-prototypes] 30 | int psp_mutex_init(struct psp_mutex *mutex) | ^ drivers/crypto/ccp/hygon/psp-dev.c:30:1: note: declare 'static' if the function is not intended to be used outside of this translation unit 30 | int psp_mutex_init(struct psp_mutex *mutex) | ^ | static drivers/crypto/ccp/hygon/psp-dev.c:38:5: warning: no previous prototype for function 'psp_mutex_trylock' [-Wmissing-prototypes] 38 | int psp_mutex_trylock(struct psp_mutex *mutex) | ^ drivers/crypto/ccp/hygon/psp-dev.c:38:1: note: declare 'static' if the function is not intended to be used outside of this translation unit 38 | int psp_mutex_trylock(struct psp_mutex *mutex) | ^ | static 8 warnings generated. vim +/atomic64_exchange +25 drivers/crypto/ccp/hygon/psp-dev.c 24 > 25 uint64_t atomic64_exchange(uint64_t *dst, uint64_t val) 26 { 27 return xchg(dst, val); 28 } 29 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki
1 0
0 0
[openeuler:OLK-6.6 3541/3541] drivers/spi/spi-axi-spi-engine.c:106: warning: Function parameter or member 'p' not described in 'spi_engine_message_state'
by kernel test robot 12 Dec '25

12 Dec '25
tree: https://gitee.com/openeuler/kernel.git OLK-6.6 head: cd9eb9b4365b71652b2c2ac58293bea47c9f9302 commit: 4325464fcaf04913a8aa4ffb106f7fdd7ec94c22 [3541/3541] spi: axi-spi-engine: move msg state to new struct config: x86_64-randconfig-073-20251212 (https://download.01.org/0day-ci/archive/20251212/202512122109.Sy1IvzI5-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/20251212/202512122109.Sy1IvzI5-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/202512122109.Sy1IvzI5-lkp@intel.com/ All warnings (new ones prefixed by >>): >> drivers/spi/spi-axi-spi-engine.c:106: warning: Function parameter or member 'p' not described in 'spi_engine_message_state' drivers/spi/spi-axi-spi-engine.c:106: warning: Function parameter or member 'cmd_length' not described in 'spi_engine_message_state' drivers/spi/spi-axi-spi-engine.c:106: warning: Function parameter or member 'cmd_buf' not described in 'spi_engine_message_state' drivers/spi/spi-axi-spi-engine.c:106: warning: Function parameter or member 'tx_xfer' not described in 'spi_engine_message_state' drivers/spi/spi-axi-spi-engine.c:106: warning: Function parameter or member 'tx_length' not described in 'spi_engine_message_state' drivers/spi/spi-axi-spi-engine.c:106: warning: Function parameter or member 'tx_buf' not described in 'spi_engine_message_state' drivers/spi/spi-axi-spi-engine.c:106: warning: Function parameter or member 'rx_xfer' not described in 'spi_engine_message_state' drivers/spi/spi-axi-spi-engine.c:106: warning: Function parameter or member 'rx_length' not described in 'spi_engine_message_state' drivers/spi/spi-axi-spi-engine.c:106: warning: Function parameter or member 'rx_buf' not described in 'spi_engine_message_state' drivers/spi/spi-axi-spi-engine.c:106: warning: Function parameter or member 'sync_id' not described in 'spi_engine_message_state' vim +106 drivers/spi/spi-axi-spi-engine.c 81 82 /** 83 * struct spi_engine_message_state - SPI engine per-message state 84 */ 85 struct spi_engine_message_state { 86 /** Instructions for executing this message. */ 87 struct spi_engine_program *p; 88 /** Number of elements in cmd_buf array. */ 89 unsigned cmd_length; 90 /** Array of commands not yet written to CMD FIFO. */ 91 const uint16_t *cmd_buf; 92 /** Next xfer with tx_buf not yet fully written to TX FIFO. */ 93 struct spi_transfer *tx_xfer; 94 /** Size of tx_buf in bytes. */ 95 unsigned int tx_length; 96 /** Bytes not yet written to TX FIFO. */ 97 const uint8_t *tx_buf; 98 /** Next xfer with rx_buf not yet fully written to RX FIFO. */ 99 struct spi_transfer *rx_xfer; 100 /** Size of tx_buf in bytes. */ 101 unsigned int rx_length; 102 /** Bytes not yet written to the RX FIFO. */ 103 uint8_t *rx_buf; 104 /** ID to correlate SYNC interrupts with this message. */ 105 u8 sync_id; > 106 }; 107 -- 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/linkdata/sxe/base/trace/sxe_trace.c:3: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
by kernel test robot 12 Dec '25

12 Dec '25
tree: https://gitee.com/openeuler/kernel.git OLK-6.6 head: cd9eb9b4365b71652b2c2ac58293bea47c9f9302 commit: dd013ad487534c1838afc2f55efdb5daec15aace [3541/3541] Ethernet: Linkdata: Supports Linkdata ethernet Controllers config: x86_64-randconfig-161-20251212 (https://download.01.org/0day-ci/archive/20251212/202512122024.MnPMvwJ8-lkp@…) compiler: gcc-12 (Debian 12.4.0-5) 12.4.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251212/202512122024.MnPMvwJ8-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/202512122024.MnPMvwJ8-lkp@intel.com/ All warnings (new ones prefixed by >>): >> drivers/net/ethernet/linkdata/sxe/base/trace/sxe_trace.c:3: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst * Copyright (C), 2020, Linkdata Technologies Co., Ltd. -- >> drivers/net/ethernet/linkdata/sxe/sxepf/sxe_ipsec.c:3: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst * Copyright (C), 2020, Linkdata Technologies Co., Ltd. -- >> drivers/net/ethernet/linkdata/sxe/base/log/sxe_log.c:3: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst * Copyright (C), 2020, Linkdata Technologies Co., Ltd. -- >> drivers/net/ethernet/linkdata/sxevf/sxevf/sxevf_netdev.c:3: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst * Copyright (C), 2020, Linkdata Technologies Co., Ltd. vim +3 drivers/net/ethernet/linkdata/sxe/base/trace/sxe_trace.c > 3 * Copyright (C), 2020, Linkdata Technologies Co., Ltd. 4 * 5 * @file: sxe_trace.c 6 * @author: Linkdata 7 * @date: 2025.02.16 8 * @brief: 9 * @note: 10 */ 11 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki
1 0
0 0
[openeuler:OLK-6.6 3541/3541] drivers/irqchip/irq-gic-v3.c:561:6: warning: no previous prototype for function 'gic_irq_set_prio'
by kernel test robot 12 Dec '25

12 Dec '25
tree: https://gitee.com/openeuler/kernel.git OLK-6.6 head: cd9eb9b4365b71652b2c2ac58293bea47c9f9302 commit: f0f9be237c2266d30fa01c294577438a2e2ee749 [3541/3541] gic: increase the arch_timer priority to avoid hardlockup config: arm64-allnoconfig-bpf (https://download.01.org/0day-ci/archive/20251212/202512121353.WEzcRxTR-lkp@…) compiler: clang version 22.0.0git (https://github.com/llvm/llvm-project ecaf673850beb241957352bd61e95ed34256635f) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251212/202512121353.WEzcRxTR-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/202512121353.WEzcRxTR-lkp@intel.com/ All warnings (new ones prefixed by >>): In file included from <built-in>:3: In file included from ././include/linux/compiler_types.h:150: ./include/linux/compiler-clang.h:33:9: warning: '__SANITIZE_ADDRESS__' macro redefined [-Wmacro-redefined] 33 | #define __SANITIZE_ADDRESS__ | ^ <built-in>:367:9: note: previous definition is here 367 | #define __SANITIZE_ADDRESS__ 1 | ^ >> drivers/irqchip/irq-gic-v3.c:561:6: warning: no previous prototype for function 'gic_irq_set_prio' [-Wmissing-prototypes] 561 | void gic_irq_set_prio(struct irq_data *d, u8 prio) | ^ drivers/irqchip/irq-gic-v3.c:561:1: note: declare 'static' if the function is not intended to be used outside of this translation unit 561 | void gic_irq_set_prio(struct irq_data *d, u8 prio) | ^ | static drivers/irqchip/irq-gic-v3.c:1531:6: warning: no previous prototype for function 'gic_dist_enable_ipiv' [-Wmissing-prototypes] 1531 | void gic_dist_enable_ipiv(void) | ^ drivers/irqchip/irq-gic-v3.c:1531:1: note: declare 'static' if the function is not intended to be used outside of this translation unit 1531 | void gic_dist_enable_ipiv(void) | ^ | static drivers/irqchip/irq-gic-v3.c:1548:6: warning: no previous prototype for function 'gic_get_ipiv_status' [-Wmissing-prototypes] 1548 | bool gic_get_ipiv_status(void) | ^ drivers/irqchip/irq-gic-v3.c:1548:1: note: declare 'static' if the function is not intended to be used outside of this translation unit 1548 | bool gic_get_ipiv_status(void) | ^ | static 4 warnings generated. vim +/gic_irq_set_prio +561 drivers/irqchip/irq-gic-v3.c 560 > 561 void gic_irq_set_prio(struct irq_data *d, u8 prio) 562 { 563 void __iomem *base = gic_dist_base(d); 564 u32 offset, index; 565 566 offset = convert_offset_index(d, GICD_IPRIORITYR, &index); 567 568 writeb_relaxed(prio, base + offset + index); 569 } 570 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki
1 0
0 0
[openeuler:openEuler-1.0-LTS 1941/1941] arch/arm64/kernel/vdso/gettimeofday.c:268:13: warning: no previous prototype for '__kernel_clock_gettime'
by kernel test robot 12 Dec '25

12 Dec '25
tree: https://gitee.com/openeuler/kernel.git openEuler-1.0-LTS head: df8d11fbcbb07177c2500e63d7f5a36063977596 commit: f43f336031282e8ea7e5f7f887c5a6ff7b9c99b0 [1941/1941] arm64:vdso: Rewrite gettimeofday into C. config: arm64-allnoconfig-bpf (https://download.01.org/0day-ci/archive/20251212/202512121347.W2YjDC5J-lkp@…) compiler: aarch64-linux-gcc (GCC) 15.1.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251212/202512121347.W2YjDC5J-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/202512121347.W2YjDC5J-lkp@intel.com/ Note: functions only called from assembly code should be annotated with the asmlinkage attribute All warnings (new ones prefixed by >>): >> arch/arm64/kernel/vdso/gettimeofday.c:268:13: warning: no previous prototype for '__kernel_clock_gettime' [-Wmissing-prototypes] 268 | notrace int __kernel_clock_gettime(clockid_t clock, struct timespec *ts) | ^~~~~~~~~~~~~~~~~~~~~~ >> arch/arm64/kernel/vdso/gettimeofday.c:302:13: warning: no previous prototype for '__kernel_gettimeofday' [-Wmissing-prototypes] 302 | notrace int __kernel_gettimeofday(struct timeval *tv, struct timezone *tz) | ^~~~~~~~~~~~~~~~~~~~~ >> arch/arm64/kernel/vdso/gettimeofday.c:325:5: warning: no previous prototype for '__kernel_clock_getres' [-Wmissing-prototypes] 325 | int __kernel_clock_getres(clockid_t clock_id, struct timespec *res) | ^~~~~~~~~~~~~~~~~~~~~ vim +/__kernel_clock_gettime +268 arch/arm64/kernel/vdso/gettimeofday.c 267 > 268 notrace int __kernel_clock_gettime(clockid_t clock, struct timespec *ts) 269 { 270 const struct vdso_data *vd = &_vdso_data; 271 272 switch (clock) { 273 case CLOCK_REALTIME: 274 if (do_realtime(vd, ts)) 275 goto fallback; 276 break; 277 case CLOCK_MONOTONIC: 278 if (do_monotonic(vd, ts)) 279 goto fallback; 280 break; 281 case CLOCK_MONOTONIC_RAW: 282 if (do_monotonic_raw(vd, ts)) 283 goto fallback; 284 break; 285 case CLOCK_REALTIME_COARSE: 286 do_realtime_coarse(vd, ts); 287 break; 288 case CLOCK_MONOTONIC_COARSE: 289 do_monotonic_coarse(vd, ts); 290 break; 291 default: 292 goto fallback; 293 } 294 295 return 0; 296 fallback: 297 return clock_gettime_fallback(clock, ts); 298 } 299 300 301 > 302 notrace int __kernel_gettimeofday(struct timeval *tv, struct timezone *tz) 303 { 304 const struct vdso_data *vd = &_vdso_data; 305 306 if (likely(tv != NULL)) { 307 struct timespec ts; 308 309 if (do_realtime(vd, &ts)) 310 return gettimeofday_fallback(tv, tz); 311 312 tv->tv_sec = ts.tv_sec; 313 tv->tv_usec = ts.tv_nsec / 1000; 314 } 315 316 if (unlikely(tz != NULL)) { 317 tz->tz_minuteswest = vd->tz_minuteswest; 318 tz->tz_dsttime = vd->tz_dsttime; 319 } 320 321 return 0; 322 } 323 324 > 325 int __kernel_clock_getres(clockid_t clock_id, struct timespec *res) -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki
1 0
0 0
[openeuler:openEuler-1.0-LTS 1941/1941] proc-loadavg-001.c:17:9: warning: '_GNU_SOURCE' redefined
by kernel test robot 12 Dec '25

12 Dec '25
tree: https://gitee.com/openeuler/kernel.git openEuler-1.0-LTS head: df8d11fbcbb07177c2500e63d7f5a36063977596 commit: 61d47c4e71c1f080e7412315c8685bc682a8e53a [1941/1941] proc: test /proc/self symlink config: arm64-allnoconfig-bpf (https://download.01.org/0day-ci/archive/20251212/202512121121.OF881GoG-lkp@…) compiler: aarch64-linux-gcc (GCC) 15.1.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251212/202512121121.OF881GoG-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/202512121121.OF881GoG-lkp@intel.com/ All warnings (new ones prefixed by >>): >> proc-loadavg-001.c:17:9: warning: '_GNU_SOURCE' redefined 17 | #define _GNU_SOURCE | ^~~~~~~~~~~ <command-line>: note: this is the location of the previous definition proc-loadavg-001.c:18:10: fatal error: errno.h: No such file or directory 18 | #include <errno.h> | ^~~~~~~~~ compilation terminated. -- >> proc-self-syscall.c:16:9: warning: '_GNU_SOURCE' redefined 16 | #define _GNU_SOURCE | ^~~~~~~~~~~ <command-line>: note: this is the location of the previous definition proc-self-syscall.c:17:10: fatal error: unistd.h: No such file or directory 17 | #include <unistd.h> | ^~~~~~~~~~ compilation terminated. -- >> proc-uptime-002.c:18:9: warning: '_GNU_SOURCE' redefined 18 | #define _GNU_SOURCE | ^~~~~~~~~~~ <command-line>: note: this is the location of the previous definition proc-uptime-002.c:20:10: fatal error: assert.h: No such file or directory 20 | #include <assert.h> | ^~~~~~~~~~ compilation terminated. -- 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_dev_user.c:676:30: warning: variable 'vfn' set but not used
by kernel test robot 12 Dec '25

12 Dec '25
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-161-20251212 (https://download.01.org/0day-ci/archive/20251212/202512121829.l6WBMb9f-lkp@…) compiler: gcc-12 (Debian 12.4.0-5) 12.4.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251212/202512121829.l6WBMb9f-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/202512121829.l6WBMb9f-lkp@intel.com/ All warnings (new ones prefixed by >>): drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dev_user.c: In function 'nbl_userdev_get_bar_size': drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dev_user.c:475:21: warning: variable 'hw_addr' set but not used [-Wunused-but-set-variable] 475 | u8 __iomem *hw_addr; | ^~~~~~~ drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dev_user.c: In function 'nbl_userdev_dma_map_ioctl': >> drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dev_user.c:676:30: warning: variable 'vfn' set but not used [-Wunused-but-set-variable] 676 | unsigned long vaddr, vfn; | ^~~ vim +/vfn +676 drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dev_user.c bad535d287c9c1 Bennie Yan 2024-09-24 665 bad535d287c9c1 Bennie Yan 2024-09-24 666 static long nbl_userdev_dma_map_ioctl(struct nbl_dev_user *user, unsigned long arg) bad535d287c9c1 Bennie Yan 2024-09-24 667 { bad535d287c9c1 Bennie Yan 2024-09-24 668 struct nbl_dev_user_dma_map map; bad535d287c9c1 Bennie Yan 2024-09-24 669 struct nbl_adapter *adapter = user->adapter; bad535d287c9c1 Bennie Yan 2024-09-24 670 struct pci_dev *pdev = adapter->pdev; bad535d287c9c1 Bennie Yan 2024-09-24 671 struct device *dev = &pdev->dev; bad535d287c9c1 Bennie Yan 2024-09-24 672 struct nbl_vfio_batch batch; bad535d287c9c1 Bennie Yan 2024-09-24 673 struct nbl_userdev_dma *dma; bad535d287c9c1 Bennie Yan 2024-09-24 674 struct page *h_page; bad535d287c9c1 Bennie Yan 2024-09-24 675 unsigned long minsz, pfn_base = 0, pfn; bad535d287c9c1 Bennie Yan 2024-09-24 @676 unsigned long vaddr, vfn; bad535d287c9c1 Bennie Yan 2024-09-24 677 dma_addr_t iova; bad535d287c9c1 Bennie Yan 2024-09-24 678 u32 mask = NBL_DEV_USER_DMA_MAP_FLAG_READ | NBL_DEV_USER_DMA_MAP_FLAG_WRITE; bad535d287c9c1 Bennie Yan 2024-09-24 679 size_t size; bad535d287c9c1 Bennie Yan 2024-09-24 680 long npage, batch_pages, pinned = 0; bad535d287c9c1 Bennie Yan 2024-09-24 681 int i, ret = 0; bad535d287c9c1 Bennie Yan 2024-09-24 682 phys_addr_t phys; bad535d287c9c1 Bennie Yan 2024-09-24 683 bad535d287c9c1 Bennie Yan 2024-09-24 684 minsz = offsetofend(struct nbl_dev_user_dma_map, size); bad535d287c9c1 Bennie Yan 2024-09-24 685 bad535d287c9c1 Bennie Yan 2024-09-24 686 if (copy_from_user(&map, (void __user *)arg, minsz)) bad535d287c9c1 Bennie Yan 2024-09-24 687 return -EFAULT; bad535d287c9c1 Bennie Yan 2024-09-24 688 bad535d287c9c1 Bennie Yan 2024-09-24 689 if (map.argsz < minsz || map.flags & ~mask) bad535d287c9c1 Bennie Yan 2024-09-24 690 return -EINVAL; bad535d287c9c1 Bennie Yan 2024-09-24 691 bad535d287c9c1 Bennie Yan 2024-09-24 692 npage = map.size >> PAGE_SHIFT; bad535d287c9c1 Bennie Yan 2024-09-24 693 vaddr = map.vaddr; bad535d287c9c1 Bennie Yan 2024-09-24 694 iova = map.iova; bad535d287c9c1 Bennie Yan 2024-09-24 695 bad535d287c9c1 Bennie Yan 2024-09-24 696 if (!npage) bad535d287c9c1 Bennie Yan 2024-09-24 697 return ret; bad535d287c9c1 Bennie Yan 2024-09-24 698 bad535d287c9c1 Bennie Yan 2024-09-24 699 mutex_lock(&user->group->dma_tree_lock); bad535d287c9c1 Bennie Yan 2024-09-24 700 /* rb-tree find */ bad535d287c9c1 Bennie Yan 2024-09-24 701 dma = nbl_userdev_find_dma(user->group, vaddr, map.size); bad535d287c9c1 Bennie Yan 2024-09-24 702 if (dma && dma->iova == iova && dma->size == map.size) { bad535d287c9c1 Bennie Yan 2024-09-24 703 vfn = vaddr >> PAGE_SHIFT; bad535d287c9c1 Bennie Yan 2024-09-24 704 ret = vfio_pin_pages(&user->vdev, vaddr, 1, IOMMU_READ | IOMMU_WRITE, &h_page); bad535d287c9c1 Bennie Yan 2024-09-24 705 if (ret <= 0) { bad535d287c9c1 Bennie Yan 2024-09-24 706 dev_err(dev, "vfio_pin_pages failed %d\n", ret); bad535d287c9c1 Bennie Yan 2024-09-24 707 goto mutext_unlock; bad535d287c9c1 Bennie Yan 2024-09-24 708 } bad535d287c9c1 Bennie Yan 2024-09-24 709 bad535d287c9c1 Bennie Yan 2024-09-24 710 pfn = page_to_pfn(h_page); bad535d287c9c1 Bennie Yan 2024-09-24 711 ret = 0; bad535d287c9c1 Bennie Yan 2024-09-24 712 vfio_unpin_pages(&user->vdev, vaddr, 1); bad535d287c9c1 Bennie Yan 2024-09-24 713 bad535d287c9c1 Bennie Yan 2024-09-24 714 if (pfn != dma->pfn) { bad535d287c9c1 Bennie Yan 2024-09-24 715 dev_err(dev, "multiple dma pfn not equal, new pfn %lu, dma pfn %lu\n", bad535d287c9c1 Bennie Yan 2024-09-24 716 pfn, dma->pfn); bad535d287c9c1 Bennie Yan 2024-09-24 717 ret = -EINVAL; bad535d287c9c1 Bennie Yan 2024-09-24 718 goto mutext_unlock; bad535d287c9c1 Bennie Yan 2024-09-24 719 } bad535d287c9c1 Bennie Yan 2024-09-24 720 bad535d287c9c1 Bennie Yan 2024-09-24 721 dev_info(dev, "existing dma info, ref_cnt++\n"); bad535d287c9c1 Bennie Yan 2024-09-24 722 dma->ref_cnt++; bad535d287c9c1 Bennie Yan 2024-09-24 723 goto mutext_unlock; bad535d287c9c1 Bennie Yan 2024-09-24 724 } else if (dma) { bad535d287c9c1 Bennie Yan 2024-09-24 725 dev_info(dev, "multiple dma not equal\n"); bad535d287c9c1 Bennie Yan 2024-09-24 726 ret = -EINVAL; bad535d287c9c1 Bennie Yan 2024-09-24 727 goto mutext_unlock; bad535d287c9c1 Bennie Yan 2024-09-24 728 } bad535d287c9c1 Bennie Yan 2024-09-24 729 bad535d287c9c1 Bennie Yan 2024-09-24 730 dma = kzalloc(sizeof(*dma), GFP_KERNEL); bad535d287c9c1 Bennie Yan 2024-09-24 731 if (!dma) { bad535d287c9c1 Bennie Yan 2024-09-24 732 ret = -ENOMEM; bad535d287c9c1 Bennie Yan 2024-09-24 733 goto mutext_unlock; bad535d287c9c1 Bennie Yan 2024-09-24 734 } bad535d287c9c1 Bennie Yan 2024-09-24 735 bad535d287c9c1 Bennie Yan 2024-09-24 736 if (nbl_vfio_batch_init(&batch)) { bad535d287c9c1 Bennie Yan 2024-09-24 737 kfree(dma); bad535d287c9c1 Bennie Yan 2024-09-24 738 ret = -ENOMEM; bad535d287c9c1 Bennie Yan 2024-09-24 739 goto mutext_unlock; bad535d287c9c1 Bennie Yan 2024-09-24 740 } bad535d287c9c1 Bennie Yan 2024-09-24 741 bad535d287c9c1 Bennie Yan 2024-09-24 742 while (npage) { bad535d287c9c1 Bennie Yan 2024-09-24 743 if (batch.size == 0) { bad535d287c9c1 Bennie Yan 2024-09-24 744 if (npage >= NBL_VFIO_BATCH_MAX_CAPACITY) bad535d287c9c1 Bennie Yan 2024-09-24 745 batch_pages = NBL_VFIO_BATCH_MAX_CAPACITY; bad535d287c9c1 Bennie Yan 2024-09-24 746 else bad535d287c9c1 Bennie Yan 2024-09-24 747 batch_pages = npage; bad535d287c9c1 Bennie Yan 2024-09-24 748 batch.pages_in[0] = vaddr >> PAGE_SHIFT; bad535d287c9c1 Bennie Yan 2024-09-24 749 for (i = 1; i < batch_pages; i++) bad535d287c9c1 Bennie Yan 2024-09-24 750 batch.pages_in[i] = batch.pages_in[i - 1] + 1; bad535d287c9c1 Bennie Yan 2024-09-24 751 bad535d287c9c1 Bennie Yan 2024-09-24 752 ret = vfio_pin_pages(&user->vdev, vaddr, batch_pages, bad535d287c9c1 Bennie Yan 2024-09-24 753 IOMMU_READ | IOMMU_WRITE, batch.h_page); bad535d287c9c1 Bennie Yan 2024-09-24 754 bad535d287c9c1 Bennie Yan 2024-09-24 755 dev_dbg(dev, "page %ld pages, return %d\n", batch_pages, batch.size); bad535d287c9c1 Bennie Yan 2024-09-24 756 if (ret <= 0) { bad535d287c9c1 Bennie Yan 2024-09-24 757 dev_err(dev, "pin page failed\n"); bad535d287c9c1 Bennie Yan 2024-09-24 758 goto unwind; bad535d287c9c1 Bennie Yan 2024-09-24 759 } bad535d287c9c1 Bennie Yan 2024-09-24 760 bad535d287c9c1 Bennie Yan 2024-09-24 761 for (i = 0; i < batch_pages; i++) bad535d287c9c1 Bennie Yan 2024-09-24 762 batch.pages_out[i] = page_to_pfn(batch.h_page[i]); bad535d287c9c1 Bennie Yan 2024-09-24 763 bad535d287c9c1 Bennie Yan 2024-09-24 764 batch.offset = 0; bad535d287c9c1 Bennie Yan 2024-09-24 765 batch.size = ret; bad535d287c9c1 Bennie Yan 2024-09-24 766 if (!pfn_base) { bad535d287c9c1 Bennie Yan 2024-09-24 767 pfn_base = batch.pages_out[batch.offset]; bad535d287c9c1 Bennie Yan 2024-09-24 768 dma->pfn = batch.pages_out[batch.offset]; bad535d287c9c1 Bennie Yan 2024-09-24 769 } bad535d287c9c1 Bennie Yan 2024-09-24 770 } bad535d287c9c1 Bennie Yan 2024-09-24 771 bad535d287c9c1 Bennie Yan 2024-09-24 772 while (batch.size) { bad535d287c9c1 Bennie Yan 2024-09-24 773 pfn = batch.pages_out[batch.offset]; bad535d287c9c1 Bennie Yan 2024-09-24 774 if (pfn == (pfn_base + pinned)) { bad535d287c9c1 Bennie Yan 2024-09-24 775 pinned++; bad535d287c9c1 Bennie Yan 2024-09-24 776 vaddr += PAGE_SIZE; bad535d287c9c1 Bennie Yan 2024-09-24 777 batch.offset++; bad535d287c9c1 Bennie Yan 2024-09-24 778 batch.size--; bad535d287c9c1 Bennie Yan 2024-09-24 779 npage--; bad535d287c9c1 Bennie Yan 2024-09-24 780 continue; bad535d287c9c1 Bennie Yan 2024-09-24 781 } bad535d287c9c1 Bennie Yan 2024-09-24 782 bad535d287c9c1 Bennie Yan 2024-09-24 783 size = pinned << PAGE_SHIFT; bad535d287c9c1 Bennie Yan 2024-09-24 784 phys = pfn_base << PAGE_SHIFT; bad535d287c9c1 Bennie Yan 2024-09-24 785 bad535d287c9c1 Bennie Yan 2024-09-24 786 ret = iommu_map(iommu_get_domain_for_dev(dev), iova, phys, bad535d287c9c1 Bennie Yan 2024-09-24 787 size, IOMMU_READ | IOMMU_WRITE | IOMMU_CACHE, GFP_KERNEL); bad535d287c9c1 Bennie Yan 2024-09-24 788 bad535d287c9c1 Bennie Yan 2024-09-24 789 if (ret) { bad535d287c9c1 Bennie Yan 2024-09-24 790 dev_err(dev, "iommu_map failed\n"); bad535d287c9c1 Bennie Yan 2024-09-24 791 goto unwind; bad535d287c9c1 Bennie Yan 2024-09-24 792 } bad535d287c9c1 Bennie Yan 2024-09-24 793 dev_dbg(dev, "iommu map succeed, iova 0x%llx, phys 0x%llx,\n" bad535d287c9c1 Bennie Yan 2024-09-24 794 "size 0x%llx\n", (u64)iova, (u64)phys, (u64)size); bad535d287c9c1 Bennie Yan 2024-09-24 795 pfn_base = pfn; bad535d287c9c1 Bennie Yan 2024-09-24 796 pinned = 0; bad535d287c9c1 Bennie Yan 2024-09-24 797 iova += size; bad535d287c9c1 Bennie Yan 2024-09-24 798 } bad535d287c9c1 Bennie Yan 2024-09-24 799 } bad535d287c9c1 Bennie Yan 2024-09-24 800 bad535d287c9c1 Bennie Yan 2024-09-24 801 if (pinned) { bad535d287c9c1 Bennie Yan 2024-09-24 802 size = pinned << PAGE_SHIFT; bad535d287c9c1 Bennie Yan 2024-09-24 803 phys = pfn_base << PAGE_SHIFT; bad535d287c9c1 Bennie Yan 2024-09-24 804 bad535d287c9c1 Bennie Yan 2024-09-24 805 ret = iommu_map(iommu_get_domain_for_dev(dev), iova, phys, bad535d287c9c1 Bennie Yan 2024-09-24 806 size, IOMMU_READ | IOMMU_WRITE | IOMMU_CACHE, GFP_KERNEL); bad535d287c9c1 Bennie Yan 2024-09-24 807 bad535d287c9c1 Bennie Yan 2024-09-24 808 if (ret) { bad535d287c9c1 Bennie Yan 2024-09-24 809 dev_err(dev, "iommu_map failed\n"); bad535d287c9c1 Bennie Yan 2024-09-24 810 goto unwind; bad535d287c9c1 Bennie Yan 2024-09-24 811 } bad535d287c9c1 Bennie Yan 2024-09-24 812 dev_dbg(dev, "iommu map succeed, iova 0x%llx, phys 0x%llx,\n" bad535d287c9c1 Bennie Yan 2024-09-24 813 "size 0x%llx\n", (u64)iova, (u64)phys, (u64)size); bad535d287c9c1 Bennie Yan 2024-09-24 814 } bad535d287c9c1 Bennie Yan 2024-09-24 815 nbl_vfio_batch_fini(&batch); bad535d287c9c1 Bennie Yan 2024-09-24 816 bad535d287c9c1 Bennie Yan 2024-09-24 817 dma->iova = map.iova; bad535d287c9c1 Bennie Yan 2024-09-24 818 dma->size = map.size; bad535d287c9c1 Bennie Yan 2024-09-24 819 dma->vaddr = map.vaddr; bad535d287c9c1 Bennie Yan 2024-09-24 820 dma->ref_cnt = 1; bad535d287c9c1 Bennie Yan 2024-09-24 821 nbl_userdev_link_dma(user->group, dma); bad535d287c9c1 Bennie Yan 2024-09-24 822 bad535d287c9c1 Bennie Yan 2024-09-24 823 dev_info(dev, "dma map info: vaddr=0x%llx, iova=0x%llx, size=0x%llx\n", bad535d287c9c1 Bennie Yan 2024-09-24 824 (u64)map.vaddr, (u64)map.iova, (u64)map.size); bad535d287c9c1 Bennie Yan 2024-09-24 825 mutex_unlock(&user->group->dma_tree_lock); bad535d287c9c1 Bennie Yan 2024-09-24 826 bad535d287c9c1 Bennie Yan 2024-09-24 827 return ret; bad535d287c9c1 Bennie Yan 2024-09-24 828 bad535d287c9c1 Bennie Yan 2024-09-24 829 unwind: bad535d287c9c1 Bennie Yan 2024-09-24 830 if (iova > map.iova) bad535d287c9c1 Bennie Yan 2024-09-24 831 iommu_unmap(iommu_get_domain_for_dev(dev), map.iova, iova - map.iova); bad535d287c9c1 Bennie Yan 2024-09-24 832 bad535d287c9c1 Bennie Yan 2024-09-24 833 if (batch.size) bad535d287c9c1 Bennie Yan 2024-09-24 834 vfio_unpin_pages(&user->vdev, vaddr, batch.size); bad535d287c9c1 Bennie Yan 2024-09-24 835 bad535d287c9c1 Bennie Yan 2024-09-24 836 npage = (vaddr - map.vaddr) >> PAGE_SHIFT; bad535d287c9c1 Bennie Yan 2024-09-24 837 vaddr = map.vaddr; bad535d287c9c1 Bennie Yan 2024-09-24 838 bad535d287c9c1 Bennie Yan 2024-09-24 839 while (npage) { bad535d287c9c1 Bennie Yan 2024-09-24 840 if (npage >= NBL_VFIO_BATCH_MAX_CAPACITY) bad535d287c9c1 Bennie Yan 2024-09-24 841 batch_pages = NBL_VFIO_BATCH_MAX_CAPACITY; bad535d287c9c1 Bennie Yan 2024-09-24 842 else bad535d287c9c1 Bennie Yan 2024-09-24 843 batch_pages = npage; bad535d287c9c1 Bennie Yan 2024-09-24 844 bad535d287c9c1 Bennie Yan 2024-09-24 845 batch.pages_in[0] = vaddr >> PAGE_SHIFT; bad535d287c9c1 Bennie Yan 2024-09-24 846 for (i = 1; i < batch_pages; i++) bad535d287c9c1 Bennie Yan 2024-09-24 847 batch.pages_in[i] = batch.pages_in[i - 1] + 1; bad535d287c9c1 Bennie Yan 2024-09-24 848 bad535d287c9c1 Bennie Yan 2024-09-24 849 vfio_unpin_pages(&user->vdev, vaddr, batch_pages); bad535d287c9c1 Bennie Yan 2024-09-24 850 npage -= batch_pages; bad535d287c9c1 Bennie Yan 2024-09-24 851 vaddr += (batch_pages << PAGE_SHIFT); bad535d287c9c1 Bennie Yan 2024-09-24 852 } bad535d287c9c1 Bennie Yan 2024-09-24 853 nbl_vfio_batch_fini(&batch); bad535d287c9c1 Bennie Yan 2024-09-24 854 bad535d287c9c1 Bennie Yan 2024-09-24 855 mutext_unlock: bad535d287c9c1 Bennie Yan 2024-09-24 856 mutex_unlock(&user->group->dma_tree_lock); bad535d287c9c1 Bennie Yan 2024-09-24 857 bad535d287c9c1 Bennie Yan 2024-09-24 858 return ret; bad535d287c9c1 Bennie Yan 2024-09-24 859 } bad535d287c9c1 Bennie Yan 2024-09-24 860 :::::: The code at line 676 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:OLK-5.10 3406/3406] kernel/irq/proc.c:338:13: warning: no previous prototype for 'register_irqchip_proc'
by kernel test robot 12 Dec '25

12 Dec '25
tree: https://gitee.com/openeuler/kernel.git OLK-5.10 head: da8948fdddb84e5496272bab85973165594dd469 commit: a05426a568e457640f58698c8ebd636fcde4d202 [3406/3406] arm64: Introduce Xint software solution config: arm64-randconfig-003-20251211 (https://download.01.org/0day-ci/archive/20251212/202512121754.9WlPC9ui-lkp@…) compiler: aarch64-linux-gcc (GCC) 14.3.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251212/202512121754.9WlPC9ui-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/202512121754.9WlPC9ui-lkp@intel.com/ All warnings (new ones prefixed by >>): >> kernel/irq/proc.c:338:13: warning: no previous prototype for 'register_irqchip_proc' [-Wmissing-prototypes] 338 | void __weak register_irqchip_proc(struct irq_desc *desc, void *irqp) { } | ^~~~~~~~~~~~~~~~~~~~~ >> kernel/irq/proc.c:339:13: warning: no previous prototype for 'unregister_irqchip_proc' [-Wmissing-prototypes] 339 | void __weak unregister_irqchip_proc(struct irq_desc *desc) { } | ^~~~~~~~~~~~~~~~~~~~~~~ vim +/register_irqchip_proc +338 kernel/irq/proc.c 337 > 338 void __weak register_irqchip_proc(struct irq_desc *desc, void *irqp) { } > 339 void __weak unregister_irqchip_proc(struct irq_desc *desc) { } 340 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki
1 0
0 0
[openeuler:openEuler-1.0-LTS 1941/1941] versioncheck: ./drivers/scsi/spraid/spraid_main.c: 9 linux/version.h not needed.
by kernel test robot 12 Dec '25

12 Dec '25
tree: https://gitee.com/openeuler/kernel.git openEuler-1.0-LTS head: df8d11fbcbb07177c2500e63d7f5a36063977596 commit: bb9f019c483389f48183be55d92dbb21769fa55a [1941/1941] scsi:spraid: support Ramaxel's spraid driver reproduce: (https://download.01.org/0day-ci/archive/20251212/202512121057.DAxaeONm-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/202512121057.DAxaeONm-lkp@intel.com/ versioncheck warnings: (new ones prefixed by >>) INFO PATH=/opt/cross/rustc-1.58.0-bindgen-0.56.0/cargo/bin:/opt/cross/clang/bin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin /usr/bin/timeout -k 100 3h /usr/bin/make KCFLAGS= -fno-crash-diagnostics -Wno-error=return-type -Wreturn-type -funsigned-char -Wundef W=1 --keep-going CROSS_COMPILE=/opt/cross/gcc-15.1.0-nolibc/x86_64-linux/bin/x86_64-linux- CC=clang AR=llvm-ar NM=llvm-nm STRIP=llvm-strip OBJDUMP=llvm-objdump OBJSIZE=llvm-size READELF=llvm-readelf HOSTCC=clang HOSTCXX=clang++ HOSTAR=llvm-ar LD=ld.lld HOSTLD=ld.lld OBJCOPY=llvm-objcopy -j32 ARCH=x86_64 versioncheck find ./* \( -name SCCS -o -name BitKeeper -o -name .svn -o -name CVS -o -name .pc -o -name .hg -o -name .git \) -prune -o \ -name '*.[hcS]' -type f -print | sort \ | xargs perl -w ./scripts/checkversion.pl ./arch/arm64/kernel/hibernate.c: 25 linux/version.h not needed. ./arch/um/drivers/vector_kern.c: 11 linux/version.h not needed. ./arch/x86/hyperv/hv_apic.c: 23 linux/version.h not needed. ./drivers/block/rsxx/rsxx_priv.h: 28 linux/version.h not needed. ./drivers/block/skd_main.c: 30 linux/version.h not needed. ./drivers/crypto/cavium/cpt/cptpf_main.c: 16 linux/version.h not needed. ./drivers/crypto/cavium/zip/common.h: 59 linux/version.h not needed. ./drivers/crypto/ccree/cc_driver.h: 25 linux/version.h not needed. ./drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c: 50 linux/version.h not needed. ./drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.c: 28 linux/version.h not needed. ./drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c: 26 linux/version.h not needed. ./drivers/gpu/drm/pl111/pl111_display.c: 19 linux/version.h not needed. ./drivers/gpu/drm/pl111/pl111_drv.c: 56 linux/version.h not needed. ./drivers/gpu/drm/tve200/tve200_display.c: 17 linux/version.h not needed. ./drivers/gpu/drm/tve200/tve200_drv.c: 42 linux/version.h not needed. ./drivers/hv/hv.c: 29 linux/version.h not needed. ./drivers/i2c/busses/i2c-brcmstb.c: 25 linux/version.h not needed. ./drivers/i2c/busses/i2c-xgene-slimpro.c: 35 linux/version.h not needed. ./drivers/media/dvb-frontends/mxl5xx.c: 30 linux/version.h not needed. ./drivers/media/pci/cx25821/cx25821.h: 41 linux/version.h not needed. ./drivers/media/platform/s3c-camif/camif-core.c: 30 linux/version.h not needed. ./drivers/media/platform/sti/c8sectpfe/c8sectpfe-common.h: 16 linux/version.h not needed. ./drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c: 31 linux/version.h not needed. ./drivers/media/platform/sti/c8sectpfe/c8sectpfe-dvb.c: 14 linux/version.h not needed. ./drivers/media/usb/uvc/uvc_driver.c: 23 linux/version.h not needed. ./drivers/mtd/nand/raw/brcmnand/brcmnand.c: 15 linux/version.h not needed. ./drivers/net/ethernet/broadcom/genet/bcmgenet_wol.c: 24 linux/version.h not needed. ./drivers/net/ethernet/hisilicon/hns3/hns3_cae/hns3_cae_init.c: 536: need linux/version.h ./drivers/net/ethernet/hisilicon/hns3/hns3_extension/hns3_enet_it.c: 84: need linux/version.h ./drivers/net/ethernet/hisilicon/hns3/kcompat.c: 82: need linux/version.h ./drivers/net/ethernet/huawei/bma/edma_drv/bma_include.h: 32 linux/version.h not needed. ./drivers/net/ethernet/huawei/bma/edma_drv/bma_pci.c: 17 linux/version.h not needed. ./drivers/net/ethernet/huawei/bma/kbox_drv/kbox_include.h: 20 linux/version.h not needed. ./drivers/net/ethernet/huawei/bma/kbox_drv/kbox_main.c: 22 linux/version.h not needed. ./drivers/net/ethernet/huawei/bma/kbox_drv/kbox_mce.c: 16 linux/version.h not needed. ./drivers/net/ethernet/huawei/bma/kbox_drv/kbox_ram_op.c: 16 linux/version.h not needed. ./drivers/net/ethernet/huawei/hinic/ossl_knl_linux.h: 22 linux/version.h not needed. ./drivers/net/ethernet/qlogic/qede/qede.h: 35 linux/version.h not needed. ./drivers/net/ethernet/qlogic/qede/qede_ethtool.c: 32 linux/version.h not needed. ./drivers/net/ethernet/qlogic/qede/qede_main.c: 34 linux/version.h not needed. ./drivers/net/usb/lan78xx.c: 17 linux/version.h not needed. ./drivers/net/wireless/rsi/rsi_91x_ps.c: 19 linux/version.h not needed. ./drivers/scsi/cxgbi/libcxgbi.h: 27 linux/version.h not needed. ./drivers/scsi/huawei/hifc/hifc_knl_adp.h: 23 linux/version.h not needed. ./drivers/scsi/qedf/qedf.h: 18 linux/version.h not needed. ./drivers/scsi/qedf/qedf_dbg.h: 16 linux/version.h not needed. ./drivers/scsi/qedi/qedi_dbg.h: 17 linux/version.h not needed. >> ./drivers/scsi/spraid/spraid_main.c: 9 linux/version.h not needed. ./drivers/soc/tegra/powergate-bpmp.c: 18 linux/version.h not needed. ./drivers/staging/gasket/gasket_interrupt.c: 12 linux/version.h not needed. ./drivers/staging/media/bcm2048/radio-bcm2048.c: 35 linux/version.h not needed. ./drivers/staging/mt7621-eth/mtk_eth_soc.h: 24 linux/version.h not needed. ./drivers/staging/mt7621-mmc/dbg.c: 36 linux/version.h not needed. ./drivers/staging/rtl8723bs/include/drv_types.h: 17 linux/version.h not needed. ./drivers/staging/rtl8723bs/include/ioctl_cfg80211.h: 10 linux/version.h not needed. ./drivers/staging/vboxvideo/vbox_drv.h: 36 linux/version.h not needed. ./drivers/usb/early/xhci-dbc.c: 21 linux/version.h not needed. ./drivers/watchdog/ziirave_wdt.c: 30 linux/version.h not needed. ./fs/ext4/ext4.h: 30 linux/version.h not needed. ./fs/proc/etmem_scan.c: 13 linux/version.h not needed. ./include/linux/qed/qed_ll2_if.h: 41 linux/version.h not needed. ./samples/bpf/sampleip_kern.c: 7 linux/version.h not needed. ./samples/bpf/trace_event_kern.c: 8 linux/version.h not needed. ./samples/mic/mpssd/mpssd.c: 40 linux/version.h not needed. ./sound/soc/codecs/cs35l35.c: 16 linux/version.h not needed. ./sound/soc/codecs/cs42l42.c: 18 linux/version.h not needed. ./tools/perf/include/bpf/bpf.h: 36: need linux/version.h ./tools/perf/tests/bpf-script-example.c: 48: need linux/version.h ./tools/perf/tests/bpf-script-test-kbuild.c: 20: need linux/version.h ./tools/perf/tests/bpf-script-test-prologue.c: 46: need linux/version.h ./tools/perf/tests/bpf-script-test-relocation.c: 50: need linux/version.h ./tools/testing/selftests/bpf/test_tcp_estats.c: 37 linux/version.h not needed. -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki
1 0
0 0
  • ← Newer
  • 1
  • 2
  • 3
  • 4
  • ...
  • 2188
  • Older →

HyperKitty Powered by HyperKitty