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 -----
  • 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

  • 27 participants
  • 18549 discussions
[openeuler:OLK-6.6 1474/1474] fs/userfaultfd.c:1809:23: sparse: sparse: invalid assignment: |=
by kernel test robot 01 Dec '24

01 Dec '24
tree: https://gitee.com/openeuler/kernel.git OLK-6.6 head: df4c334beecb4cf58e4e8d63b491aa5ac0a84f46 commit: 0214feb8f616acf62f9a6a2a131f0a1479b2b8af [1474/1474] mm/userswap: introduce UFFDIO_COPY_MODE_DIRECT_MAP config: x86_64-randconfig-121-20241118 (https://download.01.org/0day-ci/archive/20241201/202412012041.BUdDNxqk-lkp@…) compiler: gcc-12 (Debian 12.2.0-14) 12.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241201/202412012041.BUdDNxqk-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/202412012041.BUdDNxqk-lkp@intel.com/ sparse warnings: (new ones prefixed by >>) >> fs/userfaultfd.c:1809:23: sparse: sparse: invalid assignment: |= fs/userfaultfd.c:1809:23: sparse: left side has type restricted uffd_flags_t fs/userfaultfd.c:1809:23: sparse: right side has type int fs/userfaultfd.c: note: in included file: include/linux/list.h:83:21: sparse: sparse: self-comparison always evaluates to true fs/userfaultfd.c: note: in included file (through include/linux/rculist.h, include/linux/hashtable.h): include/linux/rcupdate.h:780:9: sparse: sparse: context imbalance in 'handle_userfault' - unexpected unlock fs/userfaultfd.c: note: in included file: include/linux/list.h:83:21: sparse: sparse: self-comparison always evaluates to true include/linux/list.h:83:21: sparse: sparse: self-comparison always evaluates to true include/linux/list.h:83:21: sparse: sparse: self-comparison always evaluates to true include/linux/list.h:83:21: sparse: sparse: self-comparison always evaluates to true include/linux/list.h:83:21: sparse: sparse: self-comparison always evaluates to true include/linux/list.h:83:21: sparse: sparse: self-comparison always evaluates to true -- mm/userfaultfd.c: note: in included file (through include/linux/rbtree.h, include/linux/mm_types.h, include/linux/mmzone.h, ...): include/linux/rcupdate.h:780:9: sparse: sparse: context imbalance in 'mfill_atomic_install_pte' - unexpected unlock include/linux/rcupdate.h:780:9: sparse: sparse: context imbalance in 'mfill_atomic_pte_zeropage' - unexpected unlock include/linux/rcupdate.h:780:9: sparse: sparse: context imbalance in 'mfill_atomic_pte_poison' - unexpected unlock mm/userfaultfd.c: note: in included file: >> include/linux/userfaultfd_k.h:66:45: sparse: sparse: restricted uffd_flags_t degrades to integer >> include/linux/userfaultfd_k.h:67:32: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected restricted uffd_flags_t [usertype] flags @@ got unsigned int enum mfill_atomic_mode mode @@ include/linux/userfaultfd_k.h:67:32: sparse: expected restricted uffd_flags_t [usertype] flags include/linux/userfaultfd_k.h:67:32: sparse: got unsigned int enum mfill_atomic_mode mode >> include/linux/userfaultfd_k.h:66:45: sparse: sparse: restricted uffd_flags_t degrades to integer >> include/linux/userfaultfd_k.h:67:32: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected restricted uffd_flags_t [usertype] flags @@ got unsigned int enum mfill_atomic_mode mode @@ include/linux/userfaultfd_k.h:67:32: sparse: expected restricted uffd_flags_t [usertype] flags include/linux/userfaultfd_k.h:67:32: sparse: got unsigned int enum mfill_atomic_mode mode >> include/linux/userfaultfd_k.h:66:45: sparse: sparse: restricted uffd_flags_t degrades to integer >> include/linux/userfaultfd_k.h:67:32: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected restricted uffd_flags_t [usertype] flags @@ got unsigned int enum mfill_atomic_mode mode @@ include/linux/userfaultfd_k.h:67:32: sparse: expected restricted uffd_flags_t [usertype] flags include/linux/userfaultfd_k.h:67:32: sparse: got unsigned int enum mfill_atomic_mode mode >> include/linux/userfaultfd_k.h:66:45: sparse: sparse: restricted uffd_flags_t degrades to integer >> include/linux/userfaultfd_k.h:67:32: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected restricted uffd_flags_t [usertype] flags @@ got unsigned int enum mfill_atomic_mode mode @@ include/linux/userfaultfd_k.h:67:32: sparse: expected restricted uffd_flags_t [usertype] flags include/linux/userfaultfd_k.h:67:32: sparse: got unsigned int enum mfill_atomic_mode mode vim +1809 fs/userfaultfd.c 1769 1770 static int userfaultfd_copy(struct userfaultfd_ctx *ctx, 1771 unsigned long arg) 1772 { 1773 __s64 ret; 1774 struct uffdio_copy uffdio_copy; 1775 struct uffdio_copy __user *user_uffdio_copy; 1776 struct userfaultfd_wake_range range; 1777 uffd_flags_t flags = 0; 1778 1779 user_uffdio_copy = (struct uffdio_copy __user *) arg; 1780 1781 ret = -EAGAIN; 1782 if (atomic_read(&ctx->mmap_changing)) 1783 goto out; 1784 1785 ret = -EFAULT; 1786 if (copy_from_user(&uffdio_copy, user_uffdio_copy, 1787 /* don't copy "copy" last field */ 1788 sizeof(uffdio_copy)-sizeof(__s64))) 1789 goto out; 1790 1791 ret = validate_unaligned_range(ctx->mm, uffdio_copy.src, 1792 uffdio_copy.len); 1793 if (ret) 1794 goto out; 1795 ret = validate_range(ctx->mm, uffdio_copy.dst, uffdio_copy.len); 1796 if (ret) 1797 goto out; 1798 1799 ret = -EINVAL; 1800 if (uffdio_copy.mode & ~(UFFDIO_COPY_MODE_DONTWAKE | 1801 UFFDIO_COPY_MODE_WP | 1802 IS_ENABLED(CONFIG_USERSWAP) ? 1803 UFFDIO_COPY_MODE_DIRECT_MAP : 0)) 1804 goto out; 1805 if (uffdio_copy.mode & UFFDIO_COPY_MODE_WP) 1806 flags |= MFILL_ATOMIC_WP; 1807 if (IS_ENABLED(CONFIG_USERSWAP) && 1808 (uffdio_copy.mode & UFFDIO_COPY_MODE_DIRECT_MAP)) > 1809 flags |= MFILL_ATOMIC_DIRECT_MAP; 1810 if (mmget_not_zero(ctx->mm)) { 1811 ret = mfill_atomic_copy(ctx->mm, uffdio_copy.dst, uffdio_copy.src, 1812 uffdio_copy.len, &ctx->mmap_changing, 1813 flags); 1814 mmput(ctx->mm); 1815 } else { 1816 return -ESRCH; 1817 } 1818 if (unlikely(put_user(ret, &user_uffdio_copy->copy))) 1819 return -EFAULT; 1820 if (ret < 0) 1821 goto out; 1822 BUG_ON(!ret); 1823 /* len == 0 would wake all */ 1824 range.len = ret; 1825 if (!(uffdio_copy.mode & UFFDIO_COPY_MODE_DONTWAKE)) { 1826 range.start = uffdio_copy.dst; 1827 wake_userfault(ctx, &range); 1828 } 1829 ret = range.len == uffdio_copy.len ? 0 : -EAGAIN; 1830 out: 1831 return ret; 1832 } 1833 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki
1 0
0 0
[openeuler:openEuler-1.0-LTS 1268/1268] drivers/net/ieee802154/.tmp_mac802154_hwsim.o: warning: objtool: missing symbol for section .exit.text
by kernel test robot 01 Dec '24

01 Dec '24
tree: https://gitee.com/openeuler/kernel.git openEuler-1.0-LTS head: b5504db0db8375a77340b5bb54c17cfb75d3c754 commit: f25da51fdc381ca2863248c7060b3662632f0872 [1268/1268] ieee802154: hwsim: add replacement for fakelb config: x86_64-buildonly-randconfig-004-20241103 (https://download.01.org/0day-ci/archive/20241201/202412011926.MpDNl2Le-lkp@…) compiler: gcc-12 (Debian 12.2.0-14) 12.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241201/202412011926.MpDNl2Le-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/202412011926.MpDNl2Le-lkp@intel.com/ All warnings (new ones prefixed by >>): In file included from drivers/net/ieee802154/mac802154_hwsim.c:22: include/linux/module.h:132:13: warning: 'init_module' specifies less restrictive attribute than its target 'hwsim_init_module': 'cold' [-Wmissing-attributes] 132 | int init_module(void) __attribute__((alias(#initfn))); | ^~~~~~~~~~~ drivers/net/ieee802154/mac802154_hwsim.c:918:1: note: in expansion of macro 'module_init' 918 | module_init(hwsim_init_module); | ^~~~~~~~~~~ drivers/net/ieee802154/mac802154_hwsim.c:883:19: note: 'init_module' target declared here 883 | static __init int hwsim_init_module(void) | ^~~~~~~~~~~~~~~~~ include/linux/module.h:138:14: warning: 'cleanup_module' specifies less restrictive attribute than its target 'hwsim_remove_module': 'cold' [-Wmissing-attributes] 138 | void cleanup_module(void) __attribute__((alias(#exitfn))); | ^~~~~~~~~~~~~~ drivers/net/ieee802154/mac802154_hwsim.c:919:1: note: in expansion of macro 'module_exit' 919 | module_exit(hwsim_remove_module); | ^~~~~~~~~~~ drivers/net/ieee802154/mac802154_hwsim.c:911:20: note: 'cleanup_module' target declared here 911 | static __exit void hwsim_remove_module(void) | ^~~~~~~~~~~~~~~~~~~ >> drivers/net/ieee802154/.tmp_mac802154_hwsim.o: warning: objtool: missing symbol for section .exit.text -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki
1 0
0 0
[openeuler:OLK-6.6 1466/1466] binfmt_elf32.c:undefined reference to `arch_elf_adjust_prot'
by kernel test robot 01 Dec '24

01 Dec '24
Hi Yury, FYI, the error/warning still remains. tree: https://gitee.com/openeuler/kernel.git OLK-6.6 head: df4c334beecb4cf58e4e8d63b491aa5ac0a84f46 commit: 7de3ab4c3dd938fae3626a6344830b018eb7ba4f [1466/1466] arm64: introduce binfmt_elf32.c config: arm64-randconfig-004-20241114 (https://download.01.org/0day-ci/archive/20241201/202412011905.YdgrD0E0-lkp@…) compiler: aarch64-linux-gcc (GCC) 14.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241201/202412011905.YdgrD0E0-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/202412011905.YdgrD0E0-lkp@intel.com/ All errors (new ones prefixed by >>): aarch64-linux-ld: Unexpected GOT/PLT entries detected! aarch64-linux-ld: Unexpected run-time procedure linkages detected! aarch64-linux-ld: arch/arm64/kernel/binfmt_elf32.o: in function `load_elf_interp': >> binfmt_elf32.c:(.text+0xb58): undefined reference to `arch_elf_adjust_prot' aarch64-linux-ld: arch/arm64/kernel/binfmt_elf32.o: in function `load_elf_binary': binfmt_elf32.c:(.text+0x2044): undefined reference to `arch_elf_adjust_prot' -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki
1 0
0 0
[openeuler:openEuler-1.0-LTS 1298/1298] drivers/i2c/busses/i2c-qcom-geni.o: warning: objtool: missing symbol for section .init.text
by kernel test robot 01 Dec '24

01 Dec '24
tree: https://gitee.com/openeuler/kernel.git openEuler-1.0-LTS head: b5504db0db8375a77340b5bb54c17cfb75d3c754 commit: 37692de5d5235304835f4fdd5b3e5d5bae72fc16 [1298/1298] i2c: i2c-qcom-geni: Add bus driver for the Qualcomm GENI I2C controller config: x86_64-buildonly-randconfig-006-20241118 (https://download.01.org/0day-ci/archive/20241201/202412011940.QJsnBEa8-lkp@…) compiler: gcc-12 (Debian 12.2.0-14) 12.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241201/202412011940.QJsnBEa8-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/202412011940.QJsnBEa8-lkp@intel.com/ All warnings (new ones prefixed by >>): In file included from drivers/i2c/busses/i2c-qcom-geni.c:10: include/linux/module.h:138:14: warning: 'cleanup_module' specifies less restrictive attribute than its target 'geni_i2c_driver_exit': 'cold' [-Wmissing-attributes] 138 | void cleanup_module(void) __attribute__((alias(#exitfn))); | ^~~~~~~~~~~~~~ include/linux/device.h:1558:1: note: in expansion of macro 'module_exit' 1558 | module_exit(__driver##_exit); | ^~~~~~~~~~~ include/linux/platform_device.h:228:9: note: in expansion of macro 'module_driver' 228 | module_driver(__platform_driver, platform_driver_register, \ | ^~~~~~~~~~~~~ drivers/i2c/busses/i2c-qcom-geni.c:670:1: note: in expansion of macro 'module_platform_driver' 670 | module_platform_driver(geni_i2c_driver); | ^~~~~~~~~~~~~~~~~~~~~~ In file included from include/linux/dma-mapping.h:7, from drivers/i2c/busses/i2c-qcom-geni.c:5: drivers/i2c/busses/i2c-qcom-geni.c:670:24: note: 'cleanup_module' target declared here 670 | module_platform_driver(geni_i2c_driver); | ^~~~~~~~~~~~~~~ include/linux/device.h:1554:20: note: in definition of macro 'module_driver' 1554 | static void __exit __driver##_exit(void) \ | ^~~~~~~~ drivers/i2c/busses/i2c-qcom-geni.c:670:1: note: in expansion of macro 'module_platform_driver' 670 | module_platform_driver(geni_i2c_driver); | ^~~~~~~~~~~~~~~~~~~~~~ include/linux/module.h:132:13: warning: 'init_module' specifies less restrictive attribute than its target 'geni_i2c_driver_init': 'cold' [-Wmissing-attributes] 132 | int init_module(void) __attribute__((alias(#initfn))); | ^~~~~~~~~~~ include/linux/device.h:1553:1: note: in expansion of macro 'module_init' 1553 | module_init(__driver##_init); \ | ^~~~~~~~~~~ include/linux/platform_device.h:228:9: note: in expansion of macro 'module_driver' 228 | module_driver(__platform_driver, platform_driver_register, \ | ^~~~~~~~~~~~~ drivers/i2c/busses/i2c-qcom-geni.c:670:1: note: in expansion of macro 'module_platform_driver' 670 | module_platform_driver(geni_i2c_driver); | ^~~~~~~~~~~~~~~~~~~~~~ drivers/i2c/busses/i2c-qcom-geni.c:670:24: note: 'init_module' target declared here 670 | module_platform_driver(geni_i2c_driver); | ^~~~~~~~~~~~~~~ include/linux/device.h:1549:19: note: in definition of macro 'module_driver' 1549 | static int __init __driver##_init(void) \ | ^~~~~~~~ drivers/i2c/busses/i2c-qcom-geni.c:670:1: note: in expansion of macro 'module_platform_driver' 670 | module_platform_driver(geni_i2c_driver); | ^~~~~~~~~~~~~~~~~~~~~~ >> drivers/i2c/busses/i2c-qcom-geni.o: warning: objtool: missing symbol for section .init.text -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki
1 0
0 0
[openeuler:openEuler-1.0-LTS 1312/1312] drivers/scsi/huawei/hifc/.tmp_hifc_lld.o: warning: objtool: missing symbol for section .init.text
by kernel test robot 01 Dec '24

01 Dec '24
Hi Chenguangli, FYI, the error/warning still remains. tree: https://gitee.com/openeuler/kernel.git openEuler-1.0-LTS head: b5504db0db8375a77340b5bb54c17cfb75d3c754 commit: 7fc993d55d1b54ae40e29dfac825a18d04d644c6 [1312/1312] scsi/hifc: add hifc driver FC service module config: x86_64-buildonly-randconfig-003-20241128 (https://download.01.org/0day-ci/archive/20241201/202412011830.EPRXYtU4-lkp@…) compiler: gcc-12 (Debian 12.2.0-14) 12.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241201/202412011830.EPRXYtU4-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/202412011830.EPRXYtU4-lkp@intel.com/ All warnings (new ones prefixed by >>): drivers/scsi/huawei/hifc/hifc_lld.c:333:7: warning: no previous prototype for 'hifc_get_ppf_hwdev_by_pdev' [-Wmissing-prototypes] 333 | void *hifc_get_ppf_hwdev_by_pdev(struct pci_dev *pdev) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/scsi/huawei/hifc/hifc_lld.c:362:6: warning: no previous prototype for 'hifc_event_process' [-Wmissing-prototypes] 362 | void hifc_event_process(void *adapter, struct hifc_event_info *event) | ^~~~~~~~~~~~~~~~~~ >> drivers/scsi/huawei/hifc/.tmp_hifc_lld.o: warning: objtool: missing symbol for section .init.text Kconfig warnings: (for reference only) WARNING: unmet direct dependencies detected for FB_BACKLIGHT Depends on [n]: HAS_IOMEM [=y] && FB [=n] Selected by [m]: - DRM_NOUVEAU [=m] && HAS_IOMEM [=y] && DRM [=y] && PCI [=y] && MMU [=y] && DRM_NOUVEAU_BACKLIGHT [=y] -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki
1 0
0 0
[openeuler:OLK-5.10 2441/2441] mm/kasan/common.c:471:16: error: void value not ignored as it ought to be
by kernel test robot 01 Dec '24

01 Dec '24
tree: https://gitee.com/openeuler/kernel.git OLK-5.10 head: a2b4d661a5ca59dd7cf972c1cce8b98422102ab7 commit: d5ddd7080c7442f22d6b92d6fed0dacc606013d1 [2441/2441] kasan: sanitize objects when metadata doesn't fit config: arm64-randconfig-003-20241118 (https://download.01.org/0day-ci/archive/20241201/202412011647.JJxaTRfd-lkp@…) compiler: aarch64-linux-gcc (GCC) 14.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241201/202412011647.JJxaTRfd-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/202412011647.JJxaTRfd-lkp@intel.com/ All errors (new ones prefixed by >>): In file included from mm/kasan/common.c:40: mm/kasan/kasan.h: In function 'quarantine_put': mm/kasan/kasan.h:198:84: warning: 'return' with a value, in function returning void [-Wreturn-mismatch] 198 | static inline void quarantine_put(struct kmem_cache *cache, void *object) { return false; } | ^~~~~ mm/kasan/kasan.h:198:20: note: declared here 198 | static inline void quarantine_put(struct kmem_cache *cache, void *object) { return false; } | ^~~~~~~~~~~~~~ mm/kasan/common.c: In function '__kasan_slab_free': >> mm/kasan/common.c:471:16: error: void value not ignored as it ought to be 471 | return quarantine_put(cache, object); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mm/kasan/common.c:472:1: warning: control reaches end of non-void function [-Wreturn-type] 472 | } | ^ vim +471 mm/kasan/common.c 431 432 static bool __kasan_slab_free(struct kmem_cache *cache, void *object, 433 unsigned long ip, bool quarantine) 434 { 435 s8 shadow_byte; 436 u8 tag; 437 void *tagged_object; 438 unsigned long rounded_up_size; 439 440 tag = get_tag(object); 441 tagged_object = object; 442 object = reset_tag(object); 443 444 if (is_kfence_address(object)) 445 return false; 446 447 if (unlikely(nearest_obj(cache, virt_to_head_page(object), object) != 448 object)) { 449 kasan_report_invalid_free(tagged_object, ip); 450 return true; 451 } 452 453 /* RCU slabs could be legally used after free within the RCU period */ 454 if (unlikely(cache->flags & SLAB_TYPESAFE_BY_RCU)) 455 return false; 456 457 shadow_byte = READ_ONCE(*(s8 *)kasan_mem_to_shadow(object)); 458 if (shadow_invalid(tag, shadow_byte)) { 459 kasan_report_invalid_free(tagged_object, ip); 460 return true; 461 } 462 463 rounded_up_size = round_up(cache->object_size, KASAN_SHADOW_SCALE_SIZE); 464 kasan_poison_shadow(object, rounded_up_size, KASAN_KMALLOC_FREE); 465 466 if ((IS_ENABLED(CONFIG_KASAN_GENERIC) && !quarantine)) 467 return false; 468 469 kasan_set_free_info(cache, object, tag); 470 > 471 return quarantine_put(cache, object); 472 } 473 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki
1 0
0 0
[openeuler:openEuler-1.0-LTS 1298/1298] drivers/hid/intel-ish-hid/ipc/pci-ish.o: warning: objtool: missing symbol for section .exit.text
by kernel test robot 01 Dec '24

01 Dec '24
Hi Joel, FYI, the error/warning still remains. tree: https://gitee.com/openeuler/kernel.git openEuler-1.0-LTS head: b5504db0db8375a77340b5bb54c17cfb75d3c754 commit: c3bc8fd637a9623f5c507bd18f9677effbddf584 [1298/1298] tracing: Centralize preemptirq tracepoints and unify their usage config: x86_64-buildonly-randconfig-006-20241118 (https://download.01.org/0day-ci/archive/20241201/202412011608.l2EWWbUS-lkp@…) compiler: gcc-12 (Debian 12.2.0-14) 12.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241201/202412011608.l2EWWbUS-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/202412011608.l2EWWbUS-lkp@intel.com/ All warnings (new ones prefixed by >>): drivers/hid/intel-ish-hid/ipc/pci-ish.c: In function 'ish_resume_handler': drivers/hid/intel-ish-hid/ipc/pci-ish.c:227:13: warning: variable 'ret' set but not used [-Wunused-but-set-variable] 227 | int ret; | ^~~ In file included from drivers/hid/intel-ish-hid/ipc/pci-ish.c:16: drivers/hid/intel-ish-hid/ipc/pci-ish.c: At top level: include/linux/module.h:138:14: warning: 'cleanup_module' specifies less restrictive attribute than its target 'ish_driver_exit': 'cold' [-Wmissing-attributes] 138 | void cleanup_module(void) __attribute__((alias(#exitfn))); | ^~~~~~~~~~~~~~ include/linux/device.h:1558:1: note: in expansion of macro 'module_exit' 1558 | module_exit(__driver##_exit); | ^~~~~~~~~~~ include/linux/pci.h:1279:9: note: in expansion of macro 'module_driver' 1279 | module_driver(__pci_driver, pci_register_driver, pci_unregister_driver) | ^~~~~~~~~~~~~ drivers/hid/intel-ish-hid/ipc/pci-ish.c:323:1: note: in expansion of macro 'module_pci_driver' 323 | module_pci_driver(ish_driver); | ^~~~~~~~~~~~~~~~~ In file included from drivers/hid/intel-ish-hid/ipc/pci-ish.c:19: drivers/hid/intel-ish-hid/ipc/pci-ish.c:323:19: note: 'cleanup_module' target declared here 323 | module_pci_driver(ish_driver); | ^~~~~~~~~~ include/linux/device.h:1554:20: note: in definition of macro 'module_driver' 1554 | static void __exit __driver##_exit(void) \ | ^~~~~~~~ drivers/hid/intel-ish-hid/ipc/pci-ish.c:323:1: note: in expansion of macro 'module_pci_driver' 323 | module_pci_driver(ish_driver); | ^~~~~~~~~~~~~~~~~ include/linux/module.h:132:13: warning: 'init_module' specifies less restrictive attribute than its target 'ish_driver_init': 'cold' [-Wmissing-attributes] 132 | int init_module(void) __attribute__((alias(#initfn))); | ^~~~~~~~~~~ include/linux/device.h:1553:1: note: in expansion of macro 'module_init' 1553 | module_init(__driver##_init); \ | ^~~~~~~~~~~ include/linux/pci.h:1279:9: note: in expansion of macro 'module_driver' 1279 | module_driver(__pci_driver, pci_register_driver, pci_unregister_driver) | ^~~~~~~~~~~~~ drivers/hid/intel-ish-hid/ipc/pci-ish.c:323:1: note: in expansion of macro 'module_pci_driver' 323 | module_pci_driver(ish_driver); | ^~~~~~~~~~~~~~~~~ drivers/hid/intel-ish-hid/ipc/pci-ish.c:323:19: note: 'init_module' target declared here 323 | module_pci_driver(ish_driver); | ^~~~~~~~~~ include/linux/device.h:1549:19: note: in definition of macro 'module_driver' 1549 | static int __init __driver##_init(void) \ | ^~~~~~~~ drivers/hid/intel-ish-hid/ipc/pci-ish.c:323:1: note: in expansion of macro 'module_pci_driver' 323 | module_pci_driver(ish_driver); | ^~~~~~~~~~~~~~~~~ drivers/hid/intel-ish-hid/ipc/pci-ish.c:54: warning: Function parameter or member '2' not described in '__printf' drivers/hid/intel-ish-hid/ipc/pci-ish.c:54: warning: Function parameter or member '3' not described in '__printf' drivers/hid/intel-ish-hid/ipc/pci-ish.c:54: warning: Excess function parameter 'dev' description in '__printf' drivers/hid/intel-ish-hid/ipc/pci-ish.c:54: warning: Excess function parameter 'format' description in '__printf' >> drivers/hid/intel-ish-hid/ipc/pci-ish.o: warning: objtool: missing symbol for section .exit.text -- In file included from drivers/mmc/core/core.c:13: include/linux/module.h:132:13: warning: 'init_module' specifies less restrictive attribute than its target 'mmc_init': 'cold' [-Wmissing-attributes] 132 | int init_module(void) __attribute__((alias(#initfn))); | ^~~~~~~~~~~ include/linux/module.h:115:41: note: in expansion of macro 'module_init' 115 | #define subsys_initcall(fn) module_init(fn) | ^~~~~~~~~~~ drivers/mmc/core/core.c:2871:1: note: in expansion of macro 'subsys_initcall' 2871 | subsys_initcall(mmc_init); | ^~~~~~~~~~~~~~~ drivers/mmc/core/core.c:2839:19: note: 'init_module' target declared here 2839 | static int __init mmc_init(void) | ^~~~~~~~ include/linux/module.h:138:14: warning: 'cleanup_module' specifies less restrictive attribute than its target 'mmc_exit': 'cold' [-Wmissing-attributes] 138 | void cleanup_module(void) __attribute__((alias(#exitfn))); | ^~~~~~~~~~~~~~ drivers/mmc/core/core.c:2872:1: note: in expansion of macro 'module_exit' 2872 | module_exit(mmc_exit); | ^~~~~~~~~~~ drivers/mmc/core/core.c:2864:20: note: 'cleanup_module' target declared here 2864 | static void __exit mmc_exit(void) | ^~~~~~~~ drivers/mmc/core/core.c:1343: warning: Function parameter or member 'mmc' not described in 'mmc_regulator_set_vqmmc' drivers/mmc/core/core.c:1343: warning: Function parameter or member 'ios' not described in 'mmc_regulator_set_vqmmc' drivers/mmc/core/core.o: warning: objtool: mmc_hw_reset()+0xf9: sibling call from callable instruction with modified stack frame drivers/mmc/core/core.o: warning: objtool: mmc_sw_reset()+0xf9: sibling call from callable instruction with modified stack frame drivers/mmc/core/core.o: warning: objtool: mmc_wait_for_req_done()+0x13b: sibling call from callable instruction with modified stack frame drivers/mmc/core/core.o: warning: objtool: mmc_do_erase()+0xe8: sibling call from callable instruction with modified stack frame drivers/mmc/core/core.o: warning: objtool: mmc_of_parse_voltage()+0x60: sibling call from callable instruction with modified stack frame drivers/mmc/core/core.o: warning: objtool: mmc_execute_tuning()+0x79: sibling call from callable instruction with modified stack frame drivers/mmc/core/core.o: warning: objtool: mmc_set_uhs_voltage()+0x41: sibling call from callable instruction with modified stack frame >> drivers/mmc/core/core.o: warning: objtool: missing symbol for section .exit.text -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki
1 0
0 0
[openeuler:OLK-5.10 2441/2441] mm/swapfile.o: warning: objtool: free_swap_and_cache()+0xfc: unreachable instruction
by kernel test robot 01 Dec '24

01 Dec '24
Hi Ryan, FYI, the error/warning still remains. tree: https://gitee.com/openeuler/kernel.git OLK-5.10 head: a2b4d661a5ca59dd7cf972c1cce8b98422102ab7 commit: 1d94cc3410041f99602b68b4d1d79e57fbebf6ca [2441/2441] mm: swap: fix race between free_swap_and_cache() and swapoff() config: x86_64-buildonly-randconfig-001-20241118 (https://download.01.org/0day-ci/archive/20241201/202412011634.AmMCv17V-lkp@…) compiler: clang version 19.1.3 (https://github.com/llvm/llvm-project ab51eccf88f5321e7c60591c5546b254b6afab99) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241201/202412011634.AmMCv17V-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/202412011634.AmMCv17V-lkp@intel.com/ All warnings (new ones prefixed by >>): >> mm/swapfile.o: warning: objtool: free_swap_and_cache()+0xfc: unreachable instruction -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki
1 0
0 0
[openeuler:OLK-6.6 1474/1474] drivers/gpu/drm/amd/amdgpu/../display/dmub/src/dmub_srv.c:484:77: sparse: sparse: Using plain integer as NULL pointer
by kernel test robot 01 Dec '24

01 Dec '24
tree: https://gitee.com/openeuler/kernel.git OLK-6.6 head: df4c334beecb4cf58e4e8d63b491aa5ac0a84f46 commit: 2991f29868ddf9a3dd2dd132323ae2a4558b7bb0 [1474/1474] drm/amd/display: Change the DMCUB mailbox memory location from FB to inbox config: x86_64-randconfig-121-20241118 (https://download.01.org/0day-ci/archive/20241201/202412011624.BbzK9R6O-lkp@…) compiler: gcc-12 (Debian 12.2.0-14) 12.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241201/202412011624.BbzK9R6O-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/202412011624.BbzK9R6O-lkp@intel.com/ sparse warnings: (new ones prefixed by >>) >> drivers/gpu/drm/amd/amdgpu/../display/dmub/src/dmub_srv.c:484:77: sparse: sparse: Using plain integer as NULL pointer vim +484 drivers/gpu/drm/amd/amdgpu/../display/dmub/src/dmub_srv.c 457 458 enum dmub_status dmub_srv_calc_mem_info(struct dmub_srv *dmub, 459 const struct dmub_srv_memory_params *params, 460 struct dmub_srv_fb_info *out) 461 { 462 uint8_t *cpu_base; 463 uint64_t gpu_base; 464 uint32_t i; 465 466 if (!dmub->sw_init) 467 return DMUB_STATUS_INVALID; 468 469 memset(out, 0, sizeof(*out)); 470 471 if (params->region_info->num_regions != DMUB_NUM_WINDOWS) 472 return DMUB_STATUS_INVALID; 473 474 cpu_base = (uint8_t *)params->cpu_fb_addr; 475 gpu_base = params->gpu_fb_addr; 476 477 for (i = 0; i < DMUB_NUM_WINDOWS; ++i) { 478 const struct dmub_region *reg = 479 &params->region_info->regions[i]; 480 481 out->fb[i].cpu_addr = cpu_base + reg->base; 482 out->fb[i].gpu_addr = gpu_base + reg->base; 483 > 484 if (i == DMUB_WINDOW_4_MAILBOX && params->cpu_inbox_addr != 0) { 485 out->fb[i].cpu_addr = (uint8_t *)params->cpu_inbox_addr + reg->base; 486 out->fb[i].gpu_addr = params->gpu_inbox_addr + reg->base; 487 } 488 489 out->fb[i].size = reg->top - reg->base; 490 } 491 492 out->num_fb = DMUB_NUM_WINDOWS; 493 494 return DMUB_STATUS_OK; 495 } 496 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki
1 0
0 0
[openeuler:openEuler-1.0-LTS 1294/1294] drivers/gpio/gpio-phytium-platform.c:30:36: warning: 'phytium_gpio_acpi_match' defined but not used
by kernel test robot 01 Dec '24

01 Dec '24
Hi Tian, FYI, the error/warning still remains. tree: https://gitee.com/openeuler/kernel.git openEuler-1.0-LTS head: b5504db0db8375a77340b5bb54c17cfb75d3c754 commit: 00711bad7e372a30c4975ba43811ffa666aff0e1 [1294/1294] gpio: add phytium gpio driver config: arm64-randconfig-001-20241114 (https://download.01.org/0day-ci/archive/20241201/202412011639.nWeLS0HH-lkp@…) compiler: aarch64-linux-gcc (GCC) 14.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241201/202412011639.nWeLS0HH-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/202412011639.nWeLS0HH-lkp@intel.com/ All warnings (new ones prefixed by >>): >> drivers/gpio/gpio-phytium-platform.c:30:36: warning: 'phytium_gpio_acpi_match' defined but not used [-Wunused-const-variable=] 30 | static const struct acpi_device_id phytium_gpio_acpi_match[] = { | ^~~~~~~~~~~~~~~~~~~~~~~ Kconfig warnings: (for reference only) WARNING: unmet direct dependencies detected for HARDLOCKUP_DETECTOR Depends on [n]: DEBUG_KERNEL [=n] && !S390 && (HAVE_HARDLOCKUP_DETECTOR_PERF [=n] || HAVE_HARDLOCKUP_DETECTOR_ARCH [=y]) Selected by [y]: - SDEI_WATCHDOG [=y] && <choice> && ARM_SDE_INTERFACE [=y] && !HARDLOCKUP_CHECK_TIMESTAMP [=n] vim +/phytium_gpio_acpi_match +30 drivers/gpio/gpio-phytium-platform.c 29 > 30 static const struct acpi_device_id phytium_gpio_acpi_match[] = { 31 { "PHYT0001", 0 }, 32 { } 33 }; 34 MODULE_DEVICE_TABLE(acpi, phytium_gpio_acpi_match); 35 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki
1 0
0 0
  • ← Newer
  • 1
  • ...
  • 340
  • 341
  • 342
  • 343
  • 344
  • 345
  • 346
  • ...
  • 1855
  • Older →

HyperKitty Powered by HyperKitty