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
  • 21868 discussions
[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
[openeuler:openEuler-1.0-LTS 1941/1941] versioncheck: ./drivers/net/ethernet/huawei/hinic/ossl_knl_linux.h: 22 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: 1f15bf7613a9e2ad479486dbfbd6ea47c1176306 [1941/1941] net/hinic: Delete the remaining old linux kernel adaptation interface reproduce: (https://download.01.org/0day-ci/archive/20251212/202512120930.5r0dkZmW-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/202512120930.5r0dkZmW-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/hns-customer/hns3_enet_it.c: 84: need linux/version.h ./drivers/net/ethernet/hisilicon/hns3/hns3_cae/hns3_cae_init.c: 536: need linux/version.h ./drivers/net/ethernet/hisilicon/hns3/kcompat.c: 82: need linux/version.h >> ./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/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/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. ./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
[openeuler:openEuler-1.0-LTS 1941/1941] versioncheck: ./drivers/net/ethernet/hisilicon/hns3/hns3_cae/hns3_cae_init.c: 559: need linux/version.h
by kernel test robot 12 Dec '25

12 Dec '25
tree: https://gitee.com/openeuler/kernel.git openEuler-1.0-LTS head: df8d11fbcbb07177c2500e63d7f5a36063977596 commit: 9e1cec03a3abb934592272fc19603d00bb62f7cb [1941/1941] net: hns3: place cae entrance procedure implementations in a separate file reproduce: (https://download.01.org/0day-ci/archive/20251212/202512120914.E0XLNa0N-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/202512120914.E0XLNa0N-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/hns-customer/hns3_enet_it.c: 89: need linux/version.h >> ./drivers/net/ethernet/hisilicon/hns3/hns3_cae/hns3_cae_init.c: 559: need linux/version.h ./drivers/net/ethernet/hisilicon/hns3/kcompat.c: 82: need linux/version.h ./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/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/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. ./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
[openeuler:OLK-5.10 3406/3406] fs/cachefiles/xattr.c:221:5: warning: no previous prototype for function 'cachefiles_check_old_object_xattr'
by kernel test robot 12 Dec '25

12 Dec '25
Hi Baokun, FYI, the error/warning still remains. tree: https://gitee.com/openeuler/kernel.git OLK-5.10 head: 58f07869576fac9de85244333864fb34fb7df411 commit: 62cbbf255badab153207e0a54d04da8c345ae307 [3406/3406] cachefiles: use mainline xattr in ondemand mode config: x86_64-rhel-9.4-rust (https://download.01.org/0day-ci/archive/20251212/202512121508.P9ozIbTH-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/20251212/202512121508.P9ozIbTH-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/202512121508.P9ozIbTH-lkp@intel.com/ All warnings (new ones prefixed by >>): >> fs/cachefiles/xattr.c:221:5: warning: no previous prototype for function 'cachefiles_check_old_object_xattr' [-Wmissing-prototypes] 221 | int cachefiles_check_old_object_xattr(struct cachefiles_object *object, | ^ fs/cachefiles/xattr.c:221:1: note: declare 'static' if the function is not intended to be used outside of this translation unit 221 | int cachefiles_check_old_object_xattr(struct cachefiles_object *object, | ^ | static 1 warning generated. vim +/cachefiles_check_old_object_xattr +221 fs/cachefiles/xattr.c 220 > 221 int cachefiles_check_old_object_xattr(struct cachefiles_object *object, 222 struct cachefiles_xattr *auxdata) 223 { 224 struct cachefiles_xattr *auxbuf; 225 unsigned int len = sizeof(struct cachefiles_xattr) + 512; 226 struct dentry *dentry = object->dentry; 227 int ret; 228 229 auxbuf = kmalloc(len, cachefiles_gfp); 230 if (!auxbuf) 231 return -ENOMEM; 232 233 /* read the current type label */ 234 ret = vfs_getxattr(dentry, cachefiles_xattr_cache, 235 &auxbuf->type, 512 + 1); 236 if (ret < 0) 237 goto error; 238 239 /* check the on-disk object */ 240 if (ret < 1) { 241 pr_err("Cache object %lu xattr length incorrect\n", 242 d_backing_inode(dentry)->i_ino); 243 goto stale; 244 } 245 246 if (auxbuf->type != auxdata->type) 247 goto stale; 248 249 auxbuf->len = ret; 250 251 /* consult the netfs */ 252 if (object->fscache.cookie->def->check_aux) { 253 enum fscache_checkaux result; 254 unsigned int dlen; 255 256 dlen = auxbuf->len - 1; 257 258 _debug("checkaux %s #%u", 259 object->fscache.cookie->def->name, dlen); 260 261 result = fscache_check_aux(&object->fscache, 262 &auxbuf->data, dlen, 263 i_size_read(d_backing_inode(dentry))); 264 265 switch (result) { 266 /* entry okay as is */ 267 case FSCACHE_CHECKAUX_OKAY: 268 goto okay; 269 270 /* entry requires update */ 271 case FSCACHE_CHECKAUX_NEEDS_UPDATE: 272 break; 273 274 /* entry requires deletion */ 275 case FSCACHE_CHECKAUX_OBSOLETE: 276 goto stale; 277 278 default: 279 BUG(); 280 } 281 282 /* update the current label */ 283 ret = vfs_setxattr(dentry, cachefiles_xattr_cache, 284 &auxdata->type, auxdata->len, 285 XATTR_REPLACE); 286 if (ret < 0) { 287 cachefiles_io_error_obj(object, 288 "Can't update xattr on %lu" 289 " (error %d)", 290 d_backing_inode(dentry)->i_ino, -ret); 291 goto error; 292 } 293 } 294 295 okay: 296 ret = 0; 297 298 error: 299 kfree(auxbuf); 300 return ret; 301 302 stale: 303 ret = -ESTALE; 304 goto error; 305 } 306 -- 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/net/ethernet/hisilicon/hns3/kcompat.c: 82: need linux/version.h
by kernel test robot 12 Dec '25

12 Dec '25
tree: https://gitee.com/openeuler/kernel.git openEuler-1.0-LTS head: df8d11fbcbb07177c2500e63d7f5a36063977596 commit: 09262653590358d6bd64c121600490fcfa3312b3 [1941/1941] driver: hns3: update hns3 driver from drivers reproduce: (https://download.01.org/0day-ci/archive/20251212/202512120808.zP315Ldk-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/202512120808.zP315Ldk-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/kcompat.c: 82: need linux/version.h ./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/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/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. ./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
[PATCH openEuler-1.0-LTS] mmc: core: Fix kernel panic when remove non-standard SDIO card
by Cai Xinchen 12 Dec '25

12 Dec '25
From: Matthew Ma <mahongwei(a)zeku.com> stable inclusion from stable-v4.19.264 commit 1fb79478695d92bab1c120ad3dad05252b02a29d category: bugfix bugzilla: https://gitee.com/src-openeuler/kernel/issues/IDBMTC CVE: CVE-2022-50640 Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id… -------------------------------- commit 9972e6b404884adae9eec7463e30d9b3c9a70b18 upstream. SDIO tuple is only allocated for standard SDIO card, especially it causes memory corruption issues when the non-standard SDIO card has removed, which is because the card device's reference counter does not increase for it at sdio_init_func(), but all SDIO card device reference counter gets decreased at sdio_release_func(). Fixes: 6f51be3d37df ("sdio: allow non-standard SDIO cards") Signed-off-by: Matthew Ma <mahongwei(a)zeku.com> Reviewed-by: Weizhao Ouyang <ouyangweizhao(a)zeku.com> Reviewed-by: John Wang <wangdayu(a)zeku.com> Cc: stable(a)vger.kernel.org Link: https://lore.kernel.org/r/20221014034951.2300386-1-ouyangweizhao@zeku.com Signed-off-by: Ulf Hansson <ulf.hansson(a)linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh(a)linuxfoundation.org> Conflicts: drivers/mmc/core/sdio_bus.c [Only context conflicts since the commit 605d9fb9556 ("mmc: sdio: fix possible resource leaks in some error paths") is merged.] Signed-off-by: Cai Xinchen <caixinchen1(a)huawei.com> --- drivers/mmc/core/sdio_bus.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/mmc/core/sdio_bus.c b/drivers/mmc/core/sdio_bus.c index 2ee4822c9285..dd73e8e83c72 100644 --- a/drivers/mmc/core/sdio_bus.c +++ b/drivers/mmc/core/sdio_bus.c @@ -264,7 +264,8 @@ static void sdio_release_func(struct device *dev) { struct sdio_func *func = dev_to_sdio_func(dev); - sdio_free_func_cis(func); + if (!(func->card->quirks & MMC_QUIRK_NONSTD_SDIO)) + sdio_free_func_cis(func); /* * We have now removed the link to the tuples in the -- 2.34.1
2 1
0 0
[openeuler:OLK-5.10 3406/3406] kernel/cgroup/cgroup.c:6734: warning: Function parameter or member 'fd' not described in 'cgroup_get_from_fd_v2'
by kernel test robot 12 Dec '25

12 Dec '25
tree: https://gitee.com/openeuler/kernel.git OLK-5.10 head: 58f07869576fac9de85244333864fb34fb7df411 commit: 56fee14453059f894b018d08071826d47e634800 [3406/3406] cgroup: make cgroup_bpf_prog_attach work when cgroup2 is not mounted config: arm64-randconfig-003-20251211 (https://download.01.org/0day-ci/archive/20251212/202512121532.9swcl8n5-lkp@…) compiler: aarch64-linux-gcc (GCC) 14.3.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251212/202512121532.9swcl8n5-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/202512121532.9swcl8n5-lkp@intel.com/ All warnings (new ones prefixed by >>): kernel/cgroup/cgroup.c:6217: warning: Function parameter or member 'f' not described in 'cgroup_get_from_file' kernel/cgroup/cgroup.c:6369: warning: Function parameter or member 'kargs' not described in 'cgroup_can_fork' kernel/cgroup/cgroup.c:6430: warning: Function parameter or member 'kargs' not described in 'cgroup_post_fork' kernel/cgroup/cgroup.c:6716: warning: Function parameter or member 'fd' not described in 'cgroup_get_from_fd' >> kernel/cgroup/cgroup.c:6734: warning: Function parameter or member 'fd' not described in 'cgroup_get_from_fd_v2' vim +6734 kernel/cgroup/cgroup.c 6729 6730 /** 6731 * same with cgroup_get_from_fd, only add cgrp_dfl_visible check 6732 */ 6733 struct cgroup *cgroup_get_from_fd_v2(int fd) > 6734 { 6735 struct cgroup *cgrp = cgroup_v1v2_get_from_fd(fd); 6736 6737 if (IS_ERR(cgrp)) 6738 return ERR_CAST(cgrp); 6739 6740 if (!cgroup_on_dfl(cgrp)) { 6741 cgroup_put(cgrp); 6742 if (cgrp_dfl_visible) 6743 return ERR_PTR(-EBADF); 6744 6745 cgrp = &cgrp_dfl_root.cgrp; 6746 cgroup_get(cgrp); 6747 } 6748 return cgrp; 6749 } 6750 EXPORT_SYMBOL_GPL(cgroup_get_from_fd_v2); 6751 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki
1 0
0 0
  • ← Newer
  • 1
  • 2
  • 3
  • 4
  • ...
  • 2187
  • Older →

HyperKitty Powered by HyperKitty