Kernel
Threads by month
- ----- 2025 -----
- 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
- 57 participants
- 19201 discussions

[openeuler:openEuler-1.0-LTS] BUILD SUCCESS 167d155c403778cd99cb5855f09cd442a5460df2
by kernel test robot 03 Apr '24
by kernel test robot 03 Apr '24
03 Apr '24
tree/branch: https://gitee.com/openeuler/kernel.git openEuler-1.0-LTS
branch HEAD: 167d155c403778cd99cb5855f09cd442a5460df2 !5713 v2 tipc: wait and exit until all work queues are done
Warning ids grouped by kconfigs:
gcc_recent_errors
|-- arm64-allmodconfig
| |-- drivers-dma-pl330.c:warning:dst-may-be-used-uninitialized
| `-- drivers-dma-pl330.c:warning:src-may-be-used-uninitialized
|-- arm64-defconfig
| |-- drivers-dma-pl330.c:warning:dst-may-be-used-uninitialized
| `-- drivers-dma-pl330.c:warning:src-may-be-used-uninitialized
|-- arm64-randconfig-001-20240403
| |-- drivers-dma-pl330.c:warning:dst-may-be-used-uninitialized
| `-- drivers-dma-pl330.c:warning:src-may-be-used-uninitialized
`-- arm64-randconfig-r112-20240401
|-- drivers-block-DAC960.c:warning:dac960_user_command_proc_fops-defined-but-not-used
|-- drivers-bus-hisi_lpc.c:sparse:sparse:incorrect-type-in-argument-(different-address-spaces)-expected-unsigned-char-mbase-got-void-noderef-asn-membase
|-- drivers-bus-hisi_lpc.c:sparse:sparse:incorrect-type-in-argument-(different-address-spaces)-expected-void-const-volatile-noderef-asn-addr-got-unsigned-char
|-- drivers-crypto-mediatek-mtk-sha.c:sparse:sparse:Variable-length-array-is-used.
|-- drivers-gpu-drm-amd-amdgpu-amdgpu_debugfs.c:sparse:sparse:incorrect-type-in-initializer-(different-address-spaces)-expected-signed-int-noderef-asn-got-signed-int-usertype
|-- drivers-gpu-drm-amd-amdgpu-amdgpu_debugfs.c:sparse:sparse:incorrect-type-in-initializer-(different-address-spaces)-expected-unsigned-int-noderef-asn-got-unsigned-int-usertype
|-- drivers-gpu-drm-amd-amdgpu-amdgpu_ring.c:sparse:sparse:incorrect-type-in-initializer-(different-address-spaces)-expected-unsigned-int-noderef-asn-got-unsigned-int-usertype
|-- drivers-gpu-drm-amd-amdgpu-amdgpu_ttm.c:sparse:sparse:incorrect-type-in-initializer-(different-address-spaces)-expected-unsigned-int-noderef-asn-got-unsigned-int-usertype
|-- drivers-gpu-drm-cirrus-cirrus_fbdev.c:sparse:sparse:incorrect-type-in-argument-(different-address-spaces)-expected-void-volatile-noderef-asn-got-void
|-- drivers-gpu-drm-mgag200-mgag200_cursor.c:sparse:sparse:incorrect-type-in-argument-(different-address-spaces)-expected-void-const-volatile-noderef-asn-addr-got-void
|-- drivers-gpu-drm-mgag200-mgag200_cursor.c:sparse:sparse:incorrect-type-in-argument-(different-address-spaces)-expected-void-volatile-noderef-asn-got-void
|-- drivers-gpu-drm-mgag200-mgag200_fb.c:sparse:sparse:incorrect-type-in-argument-(different-address-spaces)-expected-void-volatile-noderef-asn-got-void
|-- drivers-gpu-drm-radeon-radeon_bios.c:sparse:sparse:incorrect-type-in-argument-(different-address-spaces)-expected-void-const-src-got-unsigned-char-noderef-usertype-asn-assigned-bios
|-- drivers-gpu-drm-radeon-radeon_ttm.c:sparse:sparse:incorrect-type-in-initializer-(different-address-spaces)-expected-unsigned-int-noderef-asn-got-unsigned-int-usertype
|-- drivers-md-bcache-request.c:sparse:sparse:incorrect-type-in-argument-(different-address-spaces)-expected-void-const-noderef-asn-from-got-struct-set_bcache_status
|-- drivers-md-bcache-request.c:sparse:sparse:incorrect-type-in-argument-(different-address-spaces)-expected-void-noderef-asn-to-got-struct-get_bcache_status
|-- drivers-misc-aspeed-lpc-snoop.c:sparse:sparse:incorrect-type-in-initializer-(different-base-types)-expected-restricted-__poll_t-(-poll-)(-...-)-got-unsigned-int-(-)(-...-)
|-- drivers-mtd-nand-raw-hisi504_nand.c:sparse:sparse:incorrect-type-in-argument-(different-address-spaces)-expected-void-got-void-noderef-asn-mmio
|-- drivers-mtd-nand-raw-jz4740_nand.c:sparse:sparse:incorrect-type-in-argument-(different-address-spaces)-expected-void-noderef-asn-base-got-void-noderef-asn
|-- drivers-mtd-nand-raw-jz4740_nand.c:sparse:sparse:incorrect-type-in-assignment-(different-address-spaces)-expected-void-noderef-asn-got-void-noderef-asn
|-- drivers-mtd-spi-nor-fsl-quadspi.c:sparse:sparse:incorrect-type-in-argument-(different-address-spaces)-expected-void-const-got-void-noderef-asn
|-- drivers-pci-controller-hisi-pcie-customer-hisi_pcie_cae.c:sparse:sparse:incorrect-type-in-argument-(different-address-spaces)-expected-void-noderef-asn-to-got-void
|-- drivers-pci-rom.c:sparse:sparse:incorrect-type-in-return-expression-(different-address-spaces)-expected-void-noderef-asn-got-void
|-- drivers-phy-qualcomm-phy-qcom-ufs.c:sparse:sparse:cast-removes-address-space-asn-of-expression
|-- drivers-phy-qualcomm-phy-qcom-ufs.c:sparse:sparse:symbol-ufs_qcom_phy_disable_iface_clk-was-not-declared.-Should-it-be-static
|-- drivers-staging-gasket-gasket_page_table.c:sparse:sparse:incorrect-type-in-argument-(different-address-spaces)-expected-void-cpu_addr-got-unsigned-char-noderef-usertype-asn-virt_base
|-- drivers-staging-gasket-gasket_page_table.c:sparse:sparse:incorrect-type-in-assignment-(different-address-spaces)-expected-unsigned-char-noderef-usertype-asn-virt_base-got-void-assigned-mem
|-- drivers-tty-cyclades.c:sparse:sparse:incorrect-type-in-argument-(different-address-spaces)-expected-void-const-volatile-noderef-asn-addr-got-unsigned-int
|-- drivers-tty-cyclades.c:sparse:sparse:incorrect-type-in-assignment-(different-address-spaces)-expected-struct-BUF_CTRL-noderef-asn-buf_ctrl-got-struct-BUF_CTRL
|-- drivers-tty-cyclades.c:sparse:sparse:incorrect-type-in-assignment-(different-address-spaces)-expected-struct-CH_CTRL-noderef-asn-ch_ctrl-got-struct-CH_CTRL
|-- drivers-tty-cyclades.c:sparse:sparse:incorrect-type-in-assignment-(different-address-spaces)-expected-struct-ZFW_CTRL-zfw_ctrl-got-void-noderef-asn
|-- drivers-tty-cyclades.c:sparse:sparse:incorrect-type-in-initializer-(different-address-spaces)-expected-struct-FIRM_ID-firm_id-got-void-noderef-asn
|-- drivers-tty-synclinkmp.c:sparse:sparse:incorrect-type-in-argument-(different-address-spaces)-expected-void-volatile-noderef-asn-addr-got-unsigned-char
|-- drivers-tty-synclinkmp.c:sparse:sparse:incorrect-type-in-argument-(different-address-spaces)-expected-void-volatile-noderef-asn-addr-got-unsigned-char-usertype-memory_base
|-- drivers-tty-synclinkmp.c:sparse:sparse:incorrect-type-in-assignment-(different-address-spaces)-expected-unsigned-char-usertype-lcr_base-got-void-noderef-asn
|-- drivers-tty-synclinkmp.c:sparse:sparse:incorrect-type-in-assignment-(different-address-spaces)-expected-unsigned-char-usertype-memory_base-got-void-noderef-asn
|-- drivers-tty-synclinkmp.c:sparse:sparse:incorrect-type-in-assignment-(different-address-spaces)-expected-unsigned-char-usertype-sca_base-got-void-noderef-asn
|-- drivers-tty-synclinkmp.c:sparse:sparse:incorrect-type-in-assignment-(different-address-spaces)-expected-unsigned-char-usertype-statctrl_base-got-void-noderef-asn
|-- drivers-vfio-vfio_iommu_type1.c:sparse:sparse:incorrect-type-in-argument-(different-address-spaces)-expected-void-noderef-asn-assigned-arg-got-void
|-- drivers-xen-events-events_base.c:sparse:sparse:incorrect-type-in-initializer-(different-address-spaces)-expected-unsigned-int-noderef-asn-got-unsigned-int
|-- drivers-xen-pvcalls-back.c:sparse:sparse:incorrect-type-in-argument-(different-address-spaces)-expected-void-noderef-asn-slot-got-void-slot
|-- drivers-xen-pvcalls-back.c:sparse:sparse:incorrect-type-in-assignment-(different-address-spaces)-expected-void-slot-got-void-noderef-asn
|-- fs-buffer.c:sparse:sparse:incorrect-type-in-initializer-(different-address-spaces)-expected-int-noderef-asn-got-int
|-- fs-io_uring.c:sparse:sparse:incorrect-type-in-argument-(different-address-spaces)-expected-long-long-noderef-usertype-asn-off_in-got-long-long-usertype-assigned-poff_in
|-- fs-io_uring.c:sparse:sparse:incorrect-type-in-argument-(different-address-spaces)-expected-long-long-noderef-usertype-asn-off_out-got-long-long-usertype-assigned-poff_out
|-- fs-io_uring.c:sparse:sparse:incorrect-type-in-return-expression-(different-address-spaces)-expected-void-noderef-asn-got-struct-io_buffer-assigned-kbuf
|-- include-linux-uaccess.h:warning:GetHealthStatus-may-be-used-uninitialized
|-- include-linux-uaccess.h:warning:UserCommand-may-be-used-uninitialized
|-- include-linux-uaccess.h:warning:gup-may-be-used-uninitialized
|-- include-linux-uaccess.h:warning:ibuf-may-be-used-uninitialized
|-- include-linux-uaccess.h:warning:new_digi-may-be-used-uninitialized
|-- include-linux-uaccess.h:warning:newinfo-may-be-used-uninitialized
|-- include-linux-uaccess.h:warning:rq-may-be-used-uninitialized
`-- kernel-sys.c:sparse:sparse:incorrect-type-in-initializer-(different-address-spaces)-expected-int-noderef-asn-noderef-asn-got-int-noderef-asn-tid_addr
clang_recent_errors
|-- x86_64-randconfig-121-20240403
| |-- drivers-pci-controller-hisi-pcie-customer-hisi_pcie_cae.c:sparse:sparse:incorrect-type-in-argument-(different-address-spaces)-expected-void-noderef-asn-to-got-void
| |-- drivers-pci-rom.c:sparse:sparse:incorrect-type-in-return-expression-(different-address-spaces)-expected-void-noderef-asn-got-void
| |-- fs-io_uring.c:sparse:sparse:incorrect-type-in-argument-(different-address-spaces)-expected-long-long-noderef-usertype-asn-off_in-got-long-long-usertype-assigned-poff_in
| |-- fs-io_uring.c:sparse:sparse:incorrect-type-in-argument-(different-address-spaces)-expected-long-long-noderef-usertype-asn-off_out-got-long-long-usertype-assigned-poff_out
| |-- fs-io_uring.c:sparse:sparse:incorrect-type-in-return-expression-(different-address-spaces)-expected-void-noderef-asn-got-struct-io_buffer-assigned-kbuf
| |-- kernel-events-core.c:sparse:sparse:incorrect-type-in-argument-(different-address-spaces)-expected-void-noderef-asn-got-int-noderef-pmu_disable_count
| |-- kernel-events-core.c:sparse:sparse:incorrect-type-in-argument-(different-address-spaces)-expected-void-noderef-asn-got-struct-perf_cpu_context-noderef-pmu_cpu_context
| |-- kernel-events-core.c:sparse:sparse:incorrect-type-in-initializer-(different-address-spaces)-expected-void-const-noderef-asn-got-int
| `-- kernel-events-core.c:sparse:sparse:incorrect-type-in-initializer-(different-address-spaces)-expected-void-const-noderef-asn-got-struct-perf_cpu_context
`-- x86_64-randconfig-123-20240403
|-- drivers-pci-controller-hisi-pcie-customer-hisi_pcie_cae.c:sparse:sparse:incorrect-type-in-argument-(different-address-spaces)-expected-void-noderef-asn-to-got-void
|-- drivers-pci-rom.c:sparse:sparse:incorrect-type-in-return-expression-(different-address-spaces)-expected-void-noderef-asn-got-void
|-- fs-io_uring.c:sparse:sparse:incorrect-type-in-argument-(different-address-spaces)-expected-long-long-noderef-usertype-asn-off_in-got-long-long-usertype-assigned-poff_in
|-- fs-io_uring.c:sparse:sparse:incorrect-type-in-argument-(different-address-spaces)-expected-long-long-noderef-usertype-asn-off_out-got-long-long-usertype-assigned-poff_out
|-- fs-io_uring.c:sparse:sparse:incorrect-type-in-return-expression-(different-address-spaces)-expected-void-noderef-asn-got-struct-io_buffer-assigned-kbuf
|-- kernel-events-core.c:sparse:sparse:incorrect-type-in-argument-(different-address-spaces)-expected-void-noderef-asn-got-int-noderef-pmu_disable_count
|-- kernel-events-core.c:sparse:sparse:incorrect-type-in-argument-(different-address-spaces)-expected-void-noderef-asn-got-struct-perf_cpu_context-noderef-pmu_cpu_context
|-- kernel-events-core.c:sparse:sparse:incorrect-type-in-initializer-(different-address-spaces)-expected-void-const-noderef-asn-got-int
`-- kernel-events-core.c:sparse:sparse:incorrect-type-in-initializer-(different-address-spaces)-expected-void-const-noderef-asn-got-struct-perf_cpu_context
elapsed time: 732m
configs tested: 28
configs skipped: 147
The following configs have been built successfully.
More configs may be tested in the coming days.
tested configs:
arm64 allmodconfig gcc
arm64 allnoconfig gcc
arm64 defconfig gcc
arm64 randconfig-001-20240403 gcc
arm64 randconfig-002-20240403 gcc
arm64 randconfig-003-20240403 gcc
arm64 randconfig-004-20240403 gcc
x86_64 allnoconfig clang
x86_64 allyesconfig clang
x86_64 buildonly-randconfig-001-20240403 gcc
x86_64 buildonly-randconfig-002-20240403 gcc
x86_64 buildonly-randconfig-003-20240403 clang
x86_64 buildonly-randconfig-004-20240403 gcc
x86_64 buildonly-randconfig-005-20240403 clang
x86_64 buildonly-randconfig-006-20240403 gcc
x86_64 defconfig gcc
x86_64 randconfig-001-20240403 gcc
x86_64 randconfig-002-20240403 clang
x86_64 randconfig-003-20240403 gcc
x86_64 randconfig-004-20240403 gcc
x86_64 randconfig-005-20240403 gcc
x86_64 randconfig-011-20240403 gcc
x86_64 randconfig-012-20240403 gcc
x86_64 randconfig-013-20240403 gcc
x86_64 randconfig-014-20240403 gcc
x86_64 randconfig-015-20240403 gcc
x86_64 randconfig-016-20240403 gcc
x86_64 rhel-8.3-rust clang
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
1
0

[openeuler:OLK-6.6 7041/7265] drivers/net/ethernet/mucse/rnpgbevf/vf.c:488:5: warning: no previous prototype for 'rnpgbevf_addr_list_itr'
by kernel test robot 03 Apr '24
by kernel test robot 03 Apr '24
03 Apr '24
tree: https://gitee.com/openeuler/kernel.git OLK-6.6
head: 448a7c1b3e0654d6b6801c216e7c265445a83a2f
commit: bf177ad1d8f72824180b44563c09f37562f645de [7041/7265] drivers: initial support for rnpgbevf drivers from Mucse Technology
config: loongarch-allmodconfig (https://download.01.org/0day-ci/archive/20240403/202404030843.QBSlcQpx-lkp@…)
compiler: loongarch64-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240403/202404030843.QBSlcQpx-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/202404030843.QBSlcQpx-lkp@intel.com/
All warnings (new ones prefixed by >>):
In file included from drivers/net/ethernet/mucse/rnpgbevf/vf.h:13,
from drivers/net/ethernet/mucse/rnpgbevf/vf.c:4:
drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_defines.h: In function '_rnp_skb_dump':
drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_defines.h:265:23: warning: variable 'tailroom' set but not used [-Wunused-but-set-variable]
265 | int headroom, tailroom;
| ^~~~~~~~
drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_defines.h:265:13: warning: variable 'headroom' set but not used [-Wunused-but-set-variable]
265 | int headroom, tailroom;
| ^~~~~~~~
drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_defines.h:264:23: warning: variable 'has_trans' set but not used [-Wunused-but-set-variable]
264 | bool has_mac, has_trans;
| ^~~~~~~~~
drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_defines.h:264:14: warning: variable 'has_mac' set but not used [-Wunused-but-set-variable]
264 | bool has_mac, has_trans;
| ^~~~~~~
drivers/net/ethernet/mucse/rnpgbevf/vf.c: In function 'rnpgbevf_stop_hw_vf':
drivers/net/ethernet/mucse/rnpgbevf/vf.c:258:13: warning: variable 'number_of_queues' set but not used [-Wunused-but-set-variable]
258 | u32 number_of_queues;
| ^~~~~~~~~~~~~~~~
drivers/net/ethernet/mucse/rnpgbevf/vf.c: At top level:
>> drivers/net/ethernet/mucse/rnpgbevf/vf.c:488:5: warning: no previous prototype for 'rnpgbevf_addr_list_itr' [-Wmissing-prototypes]
488 | u8 *rnpgbevf_addr_list_itr(struct rnpgbevf_hw __maybe_unused *hw,
| ^~~~~~~~~~~~~~~~~~~~~~
>> drivers/net/ethernet/mucse/rnpgbevf/vf.c:685:5: warning: no previous prototype for 'rnpgbevf_negotiate_api_version' [-Wmissing-prototypes]
685 | int rnpgbevf_negotiate_api_version(struct rnpgbevf_hw *hw, int api)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> drivers/net/ethernet/mucse/rnpgbevf/vf.c:690:5: warning: no previous prototype for 'rnpgbevf_get_queues' [-Wmissing-prototypes]
690 | int rnpgbevf_get_queues(struct rnpgbevf_hw *hw, unsigned int *num_tcs,
| ^~~~~~~~~~~~~~~~~~~
>> drivers/net/ethernet/mucse/rnpgbevf/vf.c:696:6: warning: no previous prototype for 'rnpgbevf_set_veb_mac_n500' [-Wmissing-prototypes]
696 | void rnpgbevf_set_veb_mac_n500(struct rnpgbevf_hw *hw, u8 *mac, u32 vf_num,
| ^~~~~~~~~~~~~~~~~~~~~~~~~
>> drivers/net/ethernet/mucse/rnpgbevf/vf.c:709:6: warning: no previous prototype for 'rnpgbevf_set_vlan_n500' [-Wmissing-prototypes]
709 | void rnpgbevf_set_vlan_n500(struct rnpgbevf_hw *hw, u16 vid, u32 vf_num)
| ^~~~~~~~~~~~~~~~~~~~~~
--
In file included from drivers/net/ethernet/mucse/rnpgbevf/vf.h:13,
from drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf.h:14,
from drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_ethtool.c:16:
drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_defines.h: In function '_rnp_skb_dump':
drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_defines.h:265:23: warning: variable 'tailroom' set but not used [-Wunused-but-set-variable]
265 | int headroom, tailroom;
| ^~~~~~~~
drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_defines.h:265:13: warning: variable 'headroom' set but not used [-Wunused-but-set-variable]
265 | int headroom, tailroom;
| ^~~~~~~~
drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_defines.h:264:23: warning: variable 'has_trans' set but not used [-Wunused-but-set-variable]
264 | bool has_mac, has_trans;
| ^~~~~~~~~
drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_defines.h:264:14: warning: variable 'has_mac' set but not used [-Wunused-but-set-variable]
264 | bool has_mac, has_trans;
| ^~~~~~~
drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_ethtool.c: At top level:
>> drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_ethtool.c:254:6: warning: no previous prototype for 'rnpgbevf_get_ringparam' [-Wmissing-prototypes]
254 | void rnpgbevf_get_ringparam(struct net_device *netdev,
| ^~~~~~~~~~~~~~~~~~~~~~
>> drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_ethtool.c:267:5: warning: no previous prototype for 'rnpgbevf_set_ringparam' [-Wmissing-prototypes]
267 | int rnpgbevf_set_ringparam(struct net_device *netdev,
| ^~~~~~~~~~~~~~~~~~~~~~
drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_ethtool.c: In function 'rnpgbevf_get_strings':
drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_ethtool.c:398:13: warning: variable 'queue_idx' set but not used [-Wunused-but-set-variable]
398 | u16 queue_idx;
| ^~~~~~~~~
drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_ethtool.c: At top level:
>> drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_ethtool.c:102:19: warning: 'rnp_gstrings_test' defined but not used [-Wunused-const-variable=]
102 | static const char rnp_gstrings_test[][ETH_GSTRING_LEN] = {
| ^~~~~~~~~~~~~~~~~
--
In file included from drivers/net/ethernet/mucse/rnpgbevf/vf.h:13,
from drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf.h:14,
from drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_main.c:27:
drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_defines.h: In function '_rnp_skb_dump':
drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_defines.h:265:23: warning: variable 'tailroom' set but not used [-Wunused-but-set-variable]
265 | int headroom, tailroom;
| ^~~~~~~~
drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_defines.h:265:13: warning: variable 'headroom' set but not used [-Wunused-but-set-variable]
265 | int headroom, tailroom;
| ^~~~~~~~
drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_defines.h:264:23: warning: variable 'has_trans' set but not used [-Wunused-but-set-variable]
264 | bool has_mac, has_trans;
| ^~~~~~~~~
drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_defines.h:264:14: warning: variable 'has_mac' set but not used [-Wunused-but-set-variable]
264 | bool has_mac, has_trans;
| ^~~~~~~
drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_main.c: At top level:
>> drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_main.c:119:6: warning: no previous prototype for 'rnpgbevf_unmap_and_free_tx_resource' [-Wmissing-prototypes]
119 | void rnpgbevf_unmap_and_free_tx_resource(struct rnpgbevf_ring *ring,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_main.c:777:6: warning: no previous prototype for 'rnpgbevf_alloc_rx_buffers' [-Wmissing-prototypes]
777 | void rnpgbevf_alloc_rx_buffers(struct rnpgbevf_ring *rx_ring, u16 cleaned_count)
| ^~~~~~~~~~~~~~~~~~~~~~~~~
>> drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_main.c:2263:6: warning: no previous prototype for 'rnpgbevf_write_eitr_rx' [-Wmissing-prototypes]
2263 | void rnpgbevf_write_eitr_rx(struct rnpgbevf_q_vector *q_vector)
| ^~~~~~~~~~~~~~~~~~~~~~
>> drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_main.c:2361:6: warning: no previous prototype for 'rnpgbevf_configure_tx_ring' [-Wmissing-prototypes]
2361 | void rnpgbevf_configure_tx_ring(struct rnpgbevf_adapter *adapter,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
>> drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_main.c:2426:6: warning: no previous prototype for 'rnpgbevf_disable_rx_queue' [-Wmissing-prototypes]
2426 | void rnpgbevf_disable_rx_queue(struct rnpgbevf_adapter *adapter,
| ^~~~~~~~~~~~~~~~~~~~~~~~~
>> drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_main.c:2432:6: warning: no previous prototype for 'rnpgbevf_enable_rx_queue' [-Wmissing-prototypes]
2432 | void rnpgbevf_enable_rx_queue(struct rnpgbevf_adapter *adapter,
| ^~~~~~~~~~~~~~~~~~~~~~~~
>> drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_main.c:2438:6: warning: no previous prototype for 'rnpgbevf_configure_rx_ring' [-Wmissing-prototypes]
2438 | void rnpgbevf_configure_rx_ring(struct rnpgbevf_adapter *adapter,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_main.c: In function 'rnpgbevf_vlan_rx_kill_vid':
drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_main.c:2561:13: warning: variable 'err' set but not used [-Wunused-but-set-variable]
2561 | int err = -EOPNOTSUPP;
| ^~~
drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_main.c: In function 'rnpgbevf_acquire_msix_vectors':
drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_main.c:3187:13: warning: variable 'vector_threshold' set but not used [-Wunused-but-set-variable]
3187 | int vector_threshold;
| ^~~~~~~~~~~~~~~~
drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_main.c: At top level:
>> drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_main.c:4378:6: warning: no previous prototype for 'rnpgbevf_tx_ctxtdesc' [-Wmissing-prototypes]
4378 | void rnpgbevf_tx_ctxtdesc(struct rnpgbevf_ring *tx_ring, u16 mss_seg_len,
| ^~~~~~~~~~~~~~~~~~~~
>> drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_main.c:4820:6: warning: no previous prototype for 'rnpgbevf_maybe_tx_ctxtdesc' [-Wmissing-prototypes]
4820 | void rnpgbevf_maybe_tx_ctxtdesc(struct rnpgbevf_ring *tx_ring,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
>> drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_main.c:4838:13: warning: no previous prototype for 'rnpgbevf_xmit_frame_ring' [-Wmissing-prototypes]
4838 | netdev_tx_t rnpgbevf_xmit_frame_ring(struct sk_buff *skb,
| ^~~~~~~~~~~~~~~~~~~~~~~~
>> drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_main.c:5311:6: warning: no previous prototype for 'rnpgbevf_assign_netdev_ops' [-Wmissing-prototypes]
5311 | void rnpgbevf_assign_netdev_ops(struct net_device *dev)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_main.c: In function 'rnpgbevf_request_msix_irqs':
>> drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_main.c:1978:44: warning: '%d' directive output may be truncated writing between 1 and 5 bytes into a region of size between 1 and 16 [-Wformat-truncation=]
1978 | "%s-%s-%d-%d", netdev->name, "TxRx", i,
| ^~
drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_main.c:1978:34: note: directive argument in the range [0, 65535]
1978 | "%s-%s-%d-%d", netdev->name, "TxRx", i,
| ^~~~~~~~~~~~~
drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_main.c:1977:25: note: 'snprintf' output between 10 and 29 bytes into a destination of size 24
1977 | snprintf(q_vector->name, sizeof(q_vector->name) - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1978 | "%s-%s-%d-%d", netdev->name, "TxRx", i,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1979 | q_vector->v_idx);
| ~~~~~~~~~~~~~~~~
vim +/rnpgbevf_addr_list_itr +488 drivers/net/ethernet/mucse/rnpgbevf/vf.c
487
> 488 u8 *rnpgbevf_addr_list_itr(struct rnpgbevf_hw __maybe_unused *hw,
489 u8 **mc_addr_ptr)
490 {
491 struct netdev_hw_addr *mc_ptr;
492 u8 *addr = *mc_addr_ptr;
493
494 mc_ptr = container_of(addr, struct netdev_hw_addr, addr[0]);
495 if (mc_ptr->list.next) {
496 struct netdev_hw_addr *ha;
497
498 ha = list_entry(mc_ptr->list.next, struct netdev_hw_addr, list);
499 *mc_addr_ptr = ha->addr;
500 } else {
501 *mc_addr_ptr = NULL;
502 }
503
504 return addr;
505 }
506
507 /**
508 * rnpgbevf_update_mc_addr_list_vf - Update Multicast addresses
509 * @hw: pointer to the HW structure
510 * @netdev: pointer to net device structure
511 *
512 * Updates the Multicast Table Array.
513 **/
514 static s32 rnpgbevf_update_mc_addr_list_vf(struct rnpgbevf_hw *hw,
515 struct net_device *netdev)
516 {
517 struct netdev_hw_addr *ha;
518 u32 msgbuf[RNPGBE_VFMAILBOX_SIZE];
519 u16 *vector_list = (u16 *)&msgbuf[1];
520 u32 cnt, i;
521 int addr_count = 0;
522 u8 *addr_list = NULL;
523
524 /* Each entry in the list uses 1 16 bit word. We have 30
525 * 16 bit words available in our HW msg buffer (minus 1 for the
526 * msg type). That's 30 hash values if we pack 'em right. If
527 * there are more than 30 MC addresses to add then punt the
528 * extras for now and then add code to handle more than 30 later.
529 * It would be unusual for a server to request that many multi-cast
530 * addresses except for in large enterprise network environments.
531 */
532
533 cnt = netdev_mc_count(netdev);
534 if (cnt > 30)
535 cnt = 30;
536 msgbuf[0] = RNPGBE_VF_SET_MULTICAST;
537 msgbuf[0] |= cnt << RNPGBE_VT_MSGINFO_SHIFT;
538
539 addr_count = netdev_mc_count(netdev);
540
541 ha = list_first_entry(&netdev->mc.list, struct netdev_hw_addr, list);
542 addr_list = ha->addr;
543 for (i = 0; i < addr_count; i++) {
544 vector_list[i] = rnpgbevf_mta_vector(hw,
545 rnpgbevf_addr_list_itr(hw, &addr_list));
546 }
547
548 rnpgbevf_write_msg_read_ack(hw, msgbuf, RNPGBE_VFMAILBOX_SIZE);
549
550 return 0;
551 }
552
553 /**
554 * rnpgbevf_set_vfta_vf - Set/Unset vlan filter table address
555 * @hw: pointer to the HW structure
556 * @vlan: 12 bit VLAN ID
557 * @vind: unused by VF drivers
558 * @vlan_on: if true then set bit, else clear bit
559 **/
560 static s32 rnpgbevf_set_vfta_vf(struct rnpgbevf_hw *hw, u32 vlan, u32 vind,
561 bool vlan_on)
562 {
563 struct rnp_mbx_info *mbx = &hw->mbx;
564 u32 msgbuf[2];
565 s32 err;
566
567 msgbuf[0] = RNPGBE_VF_SET_VLAN;
568 msgbuf[1] = vlan;
569 /* Setting the 8 bit field MSG INFO to TRUE indicates "add" */
570 msgbuf[0] |= vlan_on << RNPGBE_VT_MSGINFO_SHIFT;
571
572 err = mbx->ops.write_posted(hw, msgbuf, 2, false);
573 if (err)
574 goto mbx_err;
575
576 err = mbx->ops.read_posted(hw, msgbuf, 2, false);
577 if (err)
578 goto mbx_err;
579
580 /* remove extra bits from the message */
581 msgbuf[0] &= ~RNPGBE_VT_MSGTYPE_CTS;
582 msgbuf[0] &= ~(0xFF << RNPGBE_VT_MSGINFO_SHIFT);
583
584 if (msgbuf[0] != (RNPGBE_VF_SET_VLAN | RNPGBE_VT_MSGTYPE_ACK))
585 err = RNPGBE_ERR_INVALID_ARGUMENT;
586
587 mbx_err:
588 return err;
589 }
590
591 static s32 rnpgbevf_set_vlan_strip(struct rnpgbevf_hw *hw, bool vlan_on)
592 {
593 struct rnp_mbx_info *mbx = &hw->mbx;
594 struct rnpgbevf_adapter *adapter = (struct rnpgbevf_adapter *)hw->back;
595 u32 msgbuf[4];
596 s32 err;
597 int i;
598
599 if (adapter->num_rx_queues > 2) {
600 err = -EINVAL;
601 goto mbx_err;
602 }
603
604 msgbuf[0] = RNPGBE_VF_SET_VLAN_STRIP;
605 msgbuf[1] = (vlan_on << 31) | adapter->num_rx_queues;
606
607 for (i = 0; i < adapter->num_rx_queues; i++)
608 msgbuf[2 + i] = adapter->rx_ring[i]->rnpgbevf_queue_idx;
609
610 err = mbx->ops.write_posted(hw, msgbuf, 2 + adapter->num_rx_queues,
611 false);
612 if (err)
613 goto mbx_err;
614
615 err = mbx->ops.read_posted(hw, msgbuf, 1, false);
616 if (err)
617 goto mbx_err;
618
619 /* remove extra bits from the message */
620 msgbuf[0] &= ~RNPGBE_VT_MSGTYPE_CTS;
621 msgbuf[0] &= ~(0xFF << RNPGBE_VT_MSGINFO_SHIFT);
622
623 if (msgbuf[0] != (RNPGBE_VF_SET_VLAN_STRIP | RNPGBE_VT_MSGTYPE_ACK))
624 err = RNPGBE_ERR_INVALID_ARGUMENT;
625
626 mbx_err:
627 return err;
628 }
629
630 /**
631 * rnpgbevf_setup_mac_link_vf - Setup MAC link settings
632 * @hw: pointer to hardware structure
633 * @speed: Unused in this implementation
634 * @autoneg: Unused in this implementation
635 * @autoneg_wait_to_complete: Unused in this implementation
636 *
637 * Do nothing and return success. VF drivers are not allowed to change
638 * global settings. Maintained for driver compatibility.
639 **/
640 static s32 rnpgbevf_setup_mac_link_vf(struct rnpgbevf_hw *hw,
641 rnp_link_speed speed, bool autoneg,
642 bool autoneg_wait_to_complete)
643 {
644 return 0;
645 }
646
647 /**
648 * rnpgbevf_check_mac_link_vf - Get link/speed status
649 * @hw: pointer to hardware structure
650 * @speed: pointer to link speed
651 * @link_up: true is link is up, false otherwise
652 * @autoneg_wait_to_complete: true when waiting for completion is needed
653 *
654 * Reads the links register to determine if link is up and the current speed
655 **/
656 static s32 rnpgbevf_check_mac_link_vf(struct rnpgbevf_hw *hw,
657 rnp_link_speed *speed, bool *link_up,
658 bool autoneg_wait_to_complete)
659 {
660 *speed = hw->speed;
661 *link_up = hw->link;
662
663 return 0;
664 }
665
666 /**
667 * rnpgbevf_rlpml_set_vf - Set the maximum receive packet length
668 * @hw: pointer to the HW structure
669 * @max_size: value to assign to max frame size
670 **/
671 void rnpgbevf_rlpml_set_vf(struct rnpgbevf_hw *hw, u16 max_size)
672 {
673 u32 msgbuf[2];
674
675 msgbuf[0] = RNPGBE_VF_SET_LPE;
676 msgbuf[1] = max_size;
677 rnpgbevf_write_msg_read_ack(hw, msgbuf, 2);
678 }
679
680 /**
681 * rnpgbevf_negotiate_api_version - Negotiate supported API version
682 * @hw: pointer to the HW structure
683 * @api: integer containing requested API version
684 **/
> 685 int rnpgbevf_negotiate_api_version(struct rnpgbevf_hw *hw, int api)
686 {
687 return 0;
688 }
689
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
1
0

[openeuler:OLK-5.10] BUILD SUCCESS c4873f039cbd9224f030748a55b2ec9285f70118
by kernel test robot 03 Apr '24
by kernel test robot 03 Apr '24
03 Apr '24
tree/branch: https://gitee.com/openeuler/kernel.git OLK-5.10
branch HEAD: c4873f039cbd9224f030748a55b2ec9285f70118 !5189 vhost_vdpa: Fix the error of not executing atomic_dec
Warning ids grouped by kconfigs:
gcc_recent_errors
`-- x86_64-randconfig-122-20240403
`-- arch-x86-kernel-cpu-common.c:sparse:sparse:incorrect-type-in-initializer-(different-address-spaces)-expected-void-const-noderef-__percpu-got-unsigned-short
clang_recent_errors
|-- x86_64-allyesconfig
| |-- drivers-infiniband-hw-xsc-mem.c:warning:no-previous-prototype-for-function-xsc_find_chunk_cont_0
| |-- drivers-infiniband-hw-xsc-mr.c:warning:variable-using_peer_mem-set-but-not-used
| |-- drivers-net-ethernet-mucse-rnpm-rnpm_common.c:warning:Excess-function-parameter-eecd-description-in-rnpm_lower_eeprom_clk
| |-- drivers-net-ethernet-mucse-rnpm-rnpm_common.c:warning:Excess-function-parameter-hash_value-description-in-rnpm_set_mta
| |-- drivers-net-ethernet-mucse-rnpm-rnpm_common.c:warning:Excess-function-parameter-hw-description-in-rnpm_mta_vector
| |-- drivers-net-ethernet-mucse-rnpm-rnpm_common.c:warning:Excess-function-parameter-pf-description-in-rnpm_set_vlan_anti_spoofing
| |-- drivers-net-ethernet-mucse-rnpm-rnpm_common.c:warning:Function-parameter-or-member-count-not-described-in-rnpm_shift_in_eeprom_bits
| |-- drivers-net-ethernet-mucse-rnpm-rnpm_common.c:warning:Function-parameter-or-member-eec-not-described-in-rnpm_lower_eeprom_clk
| |-- drivers-net-ethernet-mucse-rnpm-rnpm_common.c:warning:Function-parameter-or-member-mc_addr-not-described-in-rnpm_set_mta
| |-- drivers-net-ethernet-mucse-rnpm-rnpm_common.c:warning:Function-parameter-or-member-mode-not-described-in-rnpm_mta_vector
| |-- drivers-net-ethernet-mucse-rnpm-rnpm_common.c:warning:Function-parameter-or-member-vf-not-described-in-rnpm_set_vlan_anti_spoofing
| |-- drivers-net-ethernet-mucse-rnpm-rnpm_debugfs.c:warning:Excess-function-parameter-pf-description-in-rnpm_dbg_adapter_exit
| |-- drivers-net-ethernet-mucse-rnpm-rnpm_debugfs.c:warning:Function-parameter-or-member-adapter-not-described-in-rnpm_dbg_adapter_exit
| |-- drivers-net-ethernet-mucse-rnpm-rnpm_ethtool.c:warning:Excess-function-parameter-dev-description-in-rnpm_get_priv_flags
| |-- drivers-net-ethernet-mucse-rnpm-rnpm_ethtool.c:warning:Excess-function-parameter-dev-description-in-rnpm_set_priv_flags
| |-- drivers-net-ethernet-mucse-rnpm-rnpm_ethtool.c:warning:Excess-function-parameter-ec-description-in-rnpm_get_coalesce
| |-- drivers-net-ethernet-mucse-rnpm-rnpm_ethtool.c:warning:Excess-function-parameter-ee-description-in-rnpm_get_module_eeprom
| |-- drivers-net-ethernet-mucse-rnpm-rnpm_ethtool.c:warning:Excess-function-parameter-flags-description-in-rnpm_set_priv_flags
| |-- drivers-net-ethernet-mucse-rnpm-rnpm_ethtool.c:warning:Excess-function-parameter-kec-description-in-rnpm_get_coalesce
| |-- drivers-net-ethernet-mucse-rnpm-rnpm_ethtool.c:warning:Excess-function-parameter-kec-description-in-rnpm_set_coalesce
| |-- drivers-net-ethernet-mucse-rnpm-rnpm_ethtool.c:warning:Excess-function-parameter-netdev-description-in-rnpm_get_module_eeprom
| |-- drivers-net-ethernet-mucse-rnpm-rnpm_ethtool.c:warning:Excess-function-parameter-netdev-description-in-rnpm_get_module_info
| |-- drivers-net-ethernet-mucse-rnpm-rnpm_ethtool.c:warning:Excess-function-parameter-netdev-description-in-rnpm_get_rxnfc
| |-- drivers-net-ethernet-mucse-rnpm-rnpm_ethtool.c:warning:Excess-function-parameter-pf-description-in-rnpm_get_rss_hash_opts
| |-- drivers-net-ethernet-mucse-rnpm-rnpm_ethtool.c:warning:Function-parameter-or-member-adapter-not-described-in-rnpm_get_rss_hash_opts
| |-- drivers-net-ethernet-mucse-rnpm-rnpm_ethtool.c:warning:Function-parameter-or-member-coal-not-described-in-rnpm_get_coalesce
| |-- drivers-net-ethernet-mucse-rnpm-rnpm_ethtool.c:warning:Function-parameter-or-member-dev-not-described-in-rnpm_get_module_eeprom
| |-- drivers-net-ethernet-mucse-rnpm-rnpm_ethtool.c:warning:Function-parameter-or-member-dev-not-described-in-rnpm_get_module_info
| |-- drivers-net-ethernet-mucse-rnpm-rnpm_ethtool.c:warning:Function-parameter-or-member-dev-not-described-in-rnpm_get_rxnfc
| |-- drivers-net-ethernet-mucse-rnpm-rnpm_ethtool.c:warning:Function-parameter-or-member-eeprom-not-described-in-rnpm_get_module_eeprom
| |-- drivers-net-ethernet-mucse-rnpm-rnpm_ethtool.c:warning:Function-parameter-or-member-kernel_coal-not-described-in-rnpm_get_coalesce
| |-- drivers-net-ethernet-mucse-rnpm-rnpm_ethtool.c:warning:Function-parameter-or-member-kernel_coal-not-described-in-rnpm_set_coalesce
| |-- drivers-net-ethernet-mucse-rnpm-rnpm_ethtool.c:warning:Function-parameter-or-member-netdev-not-described-in-rnpm_get_priv_flags
| |-- drivers-net-ethernet-mucse-rnpm-rnpm_ethtool.c:warning:Function-parameter-or-member-netdev-not-described-in-rnpm_set_priv_flags
| |-- drivers-net-ethernet-mucse-rnpm-rnpm_ethtool.c:warning:Function-parameter-or-member-priv_flags-not-described-in-rnpm_set_priv_flags
| |-- drivers-net-ethernet-mucse-rnpm-rnpm_ethtool.c:warning:variable-autoneg_changed-set-but-not-used
| |-- drivers-net-ethernet-mucse-rnpm-rnpm_ethtool.c:warning:variable-dma_ch-set-but-not-used
| |-- drivers-net-ethernet-mucse-rnpm-rnpm_ethtool.c:warning:variable-duplex_changed-set-but-not-used
| |-- drivers-net-ethernet-mucse-rnpm-rnpm_lib.c:warning:Excess-function-parameter-inner_vlan_tag-description-in-rnpm_tx_ctxtdesc
| |-- drivers-net-ethernet-mucse-rnpm-rnpm_lib.c:warning:Excess-function-parameter-l4_hdr_len-description-in-rnpm_tx_ctxtdesc
| |-- drivers-net-ethernet-mucse-rnpm-rnpm_lib.c:warning:Excess-function-parameter-mss_seg_len-description-in-rnpm_tx_ctxtdesc
| |-- drivers-net-ethernet-mucse-rnpm-rnpm_lib.c:warning:Excess-function-parameter-rxr_count-description-in-rnpm_alloc_q_vector
| |-- drivers-net-ethernet-mucse-rnpm-rnpm_lib.c:warning:Excess-function-parameter-rxr_idx-description-in-rnpm_alloc_q_vector
| |-- drivers-net-ethernet-mucse-rnpm-rnpm_lib.c:warning:Excess-function-parameter-tunnel_hdr_len-description-in-rnpm_tx_ctxtdesc
| |-- drivers-net-ethernet-mucse-rnpm-rnpm_lib.c:warning:Excess-function-parameter-txr_count-description-in-rnpm_alloc_q_vector
| |-- drivers-net-ethernet-mucse-rnpm-rnpm_lib.c:warning:Excess-function-parameter-txr_idx-description-in-rnpm_alloc_q_vector
| |-- drivers-net-ethernet-mucse-rnpm-rnpm_lib.c:warning:Excess-function-parameter-v_count-description-in-rnpm_alloc_q_vector
| |-- drivers-net-ethernet-mucse-rnpm-rnpm_lib.c:warning:Function-parameter-or-member-eth_queue_idx-not-described-in-rnpm_alloc_q_vector
| |-- drivers-net-ethernet-mucse-rnpm-rnpm_lib.c:warning:Function-parameter-or-member-inner_vlan_tunnel_len-not-described-in-rnpm_tx_ctxtdesc
| |-- drivers-net-ethernet-mucse-rnpm-rnpm_lib.c:warning:Function-parameter-or-member-mss_len_vf_num-not-described-in-rnpm_tx_ctxtdesc
| |-- drivers-net-ethernet-mucse-rnpm-rnpm_lib.c:warning:Function-parameter-or-member-r_count-not-described-in-rnpm_alloc_q_vector
| |-- drivers-net-ethernet-mucse-rnpm-rnpm_lib.c:warning:Function-parameter-or-member-r_idx-not-described-in-rnpm_alloc_q_vector
| |-- drivers-net-ethernet-mucse-rnpm-rnpm_lib.c:warning:Function-parameter-or-member-step-not-described-in-rnpm_alloc_q_vector
| |-- drivers-net-ethernet-mucse-rnpm-rnpm_lib.c:warning:no-previous-prototype-for-function-rnpm_setup_layer2_remapping
| |-- drivers-net-ethernet-mucse-rnpm-rnpm_lib.c:warning:no-previous-prototype-for-function-rnpm_setup_tuple5_remapping
| |-- drivers-net-ethernet-mucse-rnpm-rnpm_lib.c:warning:no-previous-prototype-for-function-rnpm_setup_tuple5_remapping_tcam
| |-- drivers-net-ethernet-mucse-rnpm-rnpm_main.c:warning:Excess-function-parameter-data-description-in-rnpm_pf_service_timer
| |-- drivers-net-ethernet-mucse-rnpm-rnpm_main.c:warning:Excess-function-parameter-data-description-in-rnpm_service_timer
| |-- drivers-net-ethernet-mucse-rnpm-rnpm_main.c:warning:Excess-function-parameter-ent-description-in-rnpm_probe
| |-- drivers-net-ethernet-mucse-rnpm-rnpm_main.c:warning:Excess-function-parameter-hw-description-in-rnpm_wol_supported
| |-- drivers-net-ethernet-mucse-rnpm-rnpm_main.c:warning:Excess-function-parameter-link_speed-description-in-rnpm_watchdog_update_link
| |-- drivers-net-ethernet-mucse-rnpm-rnpm_main.c:warning:Excess-function-parameter-maxrate-description-in-rnpm_tx_maxrate_own
| |-- drivers-net-ethernet-mucse-rnpm-rnpm_main.c:warning:Excess-function-parameter-msix_vector-description-in-rnpm_set_ring_vector
| |-- drivers-net-ethernet-mucse-rnpm-rnpm_main.c:warning:Excess-function-parameter-netdev-description-in-rnpm_setup_tc
| |-- drivers-net-ethernet-mucse-rnpm-rnpm_main.c:warning:Excess-function-parameter-netdev-description-in-rnpm_tx_maxrate_own
| |-- drivers-net-ethernet-mucse-rnpm-rnpm_main.c:warning:Excess-function-parameter-pb-description-in-rnpm_lpbthresh
| |-- drivers-net-ethernet-mucse-rnpm-rnpm_main.c:warning:Excess-function-parameter-queue-description-in-rnpm_set_ring_vector
| |-- drivers-net-ethernet-mucse-rnpm-rnpm_main.c:warning:Excess-function-parameter-skb-description-in-rnpm_is_non_eop
| |-- drivers-net-ethernet-mucse-rnpm-rnpm_main.c:warning:Excess-function-parameter-subdev_id-description-in-rnpm_wol_supported
| |-- drivers-net-ethernet-mucse-rnpm-rnpm_main.c:warning:Function-parameter-or-member-adapter-not-described-in-rnpm_rx_ring_reinit
| |-- drivers-net-ethernet-mucse-rnpm-rnpm_main.c:warning:Function-parameter-or-member-adapter-not-described-in-rnpm_setup_rx_resources
| |-- drivers-net-ethernet-mucse-rnpm-rnpm_main.c:warning:Function-parameter-or-member-adapter-not-described-in-rnpm_setup_tx_resources
| |-- drivers-net-ethernet-mucse-rnpm-rnpm_main.c:warning:Function-parameter-or-member-adapter-not-described-in-rnpm_tx_maxrate_own
| |-- drivers-net-ethernet-mucse-rnpm-rnpm_main.c:warning:Function-parameter-or-member-adapter-not-described-in-rnpm_wol_supported
| |-- drivers-net-ethernet-mucse-rnpm-rnpm_main.c:warning:Function-parameter-or-member-dev-not-described-in-rnpm_setup_tc
| |-- drivers-net-ethernet-mucse-rnpm-rnpm_main.c:warning:Function-parameter-or-member-id-not-described-in-rnpm_probe
| |-- drivers-net-ethernet-mucse-rnpm-rnpm_main.c:warning:Function-parameter-or-member-is_rxframe-not-described-in-rnpm_write_eitr
| |-- drivers-net-ethernet-mucse-rnpm-rnpm_main.c:warning:Function-parameter-or-member-napi_budget-not-described-in-rnpm_clean_tx_irq
| |-- drivers-net-ethernet-mucse-rnpm-rnpm_main.c:warning:Function-parameter-or-member-rnpm_msix_vector-not-described-in-rnpm_set_ring_vector
| |-- drivers-net-ethernet-mucse-rnpm-rnpm_main.c:warning:Function-parameter-or-member-rnpm_queue-not-described-in-rnpm_set_ring_vector
| |-- drivers-net-ethernet-mucse-rnpm-rnpm_main.c:warning:Function-parameter-or-member-subdevice_id-not-described-in-rnpm_wol_supported
| |-- drivers-net-ethernet-mucse-rnpm-rnpm_main.c:warning:Function-parameter-or-member-t-not-described-in-rnpm_pf_service_timer
| |-- drivers-net-ethernet-mucse-rnpm-rnpm_main.c:warning:Function-parameter-or-member-t-not-described-in-rnpm_service_timer
| |-- drivers-net-ethernet-mucse-rnpm-rnpm_main.c:warning:Function-parameter-or-member-txqueue-not-described-in-rnpm_tx_timeout
| |-- drivers-net-ethernet-mucse-rnpm-rnpm_main.c:warning:no-previous-prototype-for-function-clean_all_port_resetting
| |-- drivers-net-ethernet-mucse-rnpm-rnpm_main.c:warning:no-previous-prototype-for-function-control_mac_rx
| |-- drivers-net-ethernet-mucse-rnpm-rnpm_main.c:warning:no-previous-prototype-for-function-rnpm_assign_netdev_ops
| |-- drivers-net-ethernet-mucse-rnpm-rnpm_main.c:warning:no-previous-prototype-for-function-rnpm_can_rpu_start
| |-- drivers-net-ethernet-mucse-rnpm-rnpm_main.c:warning:no-previous-prototype-for-function-rnpm_check_mc_addr
| |-- drivers-net-ethernet-mucse-rnpm-rnpm_main.c:warning:no-previous-prototype-for-function-rnpm_clear_udp_tunnel_port
| |-- drivers-net-ethernet-mucse-rnpm-rnpm_main.c:warning:no-previous-prototype-for-function-rnpm_fix_queue_number
| |-- drivers-net-ethernet-mucse-rnpm-rnpm_main.c:warning:no-previous-prototype-for-function-rnpm_pf_service_event_schedule
| |-- drivers-net-ethernet-mucse-rnpm-rnpm_main.c:warning:no-previous-prototype-for-function-rnpm_pf_service_task
| |-- drivers-net-ethernet-mucse-rnpm-rnpm_main.c:warning:no-previous-prototype-for-function-rnpm_pf_service_timer
| |-- drivers-net-ethernet-mucse-rnpm-rnpm_main.c:warning:no-previous-prototype-for-function-rnpm_rx_ring_reinit
| |-- drivers-net-ethernet-mucse-rnpm-rnpm_main.c:warning:no-previous-prototype-for-function-rnpm_service_timer
| |-- drivers-net-ethernet-mucse-rnpm-rnpm_main.c:warning:no-previous-prototype-for-function-rnpm_vlan_stags_flag
| |-- drivers-net-ethernet-mucse-rnpm-rnpm_main.c:warning:no-previous-prototype-for-function-rnpm_write_eitr
| |-- drivers-net-ethernet-mucse-rnpm-rnpm_main.c:warning:no-previous-prototype-for-function-rnpm_xmit_nop_frame_ring
| |-- drivers-net-ethernet-mucse-rnpm-rnpm_main.c:warning:no-previous-prototype-for-function-rnpm_xmit_nop_frame_ring_temp
| |-- drivers-net-ethernet-mucse-rnpm-rnpm_main.c:warning:no-previous-prototype-for-function-update_pf_vlan
| |-- drivers-net-ethernet-mucse-rnpm-rnpm_main.c:warning:no-previous-prototype-for-function-wait_all_port_resetting
| |-- drivers-net-ethernet-mucse-rnpm-rnpm_main.c:warning:variable-hw-set-but-not-used
| |-- drivers-net-ethernet-mucse-rnpm-rnpm_main.c:warning:variable-packets-is-used-uninitialized-whenever-if-condition-is-false
| |-- drivers-net-ethernet-mucse-rnpm-rnpm_main.c:warning:variable-xdp_xmit-set-but-not-used
| |-- drivers-net-ethernet-mucse-rnpm-rnpm_mbx.c:warning:Excess-function-parameter-vf_number-description-in-rnpm_check_for_ack_pf
| |-- drivers-net-ethernet-mucse-rnpm-rnpm_mbx.c:warning:Excess-function-parameter-vf_number-description-in-rnpm_check_for_msg_pf
| |-- drivers-net-ethernet-mucse-rnpm-rnpm_mbx.c:warning:Excess-function-parameter-vf_number-description-in-rnpm_read_mbx_pf
| |-- drivers-net-ethernet-mucse-rnpm-rnpm_mbx.c:warning:Function-parameter-or-member-mbx_id-not-described-in-rnpm_check_for_ack_pf
| |-- drivers-net-ethernet-mucse-rnpm-rnpm_mbx.c:warning:Function-parameter-or-member-mbx_id-not-described-in-rnpm_check_for_msg_pf
| |-- drivers-net-ethernet-mucse-rnpm-rnpm_mbx.c:warning:Function-parameter-or-member-mbx_id-not-described-in-rnpm_read_mbx_pf
| |-- drivers-net-ethernet-mucse-rnpm-rnpm_mbx_fw.c:warning:no-previous-prototype-for-function-mbx_cookie_zalloc
| |-- drivers-net-ethernet-mucse-rnpm-rnpm_mbx_fw.c:warning:no-previous-prototype-for-function-rnpm_fw_get_capablity
| |-- drivers-net-ethernet-mucse-rnpm-rnpm_mbx_fw.c:warning:no-previous-prototype-for-function-rnpm_fw_reg_read
| |-- drivers-net-ethernet-mucse-rnpm-rnpm_mbx_fw.c:warning:no-previous-prototype-for-function-rnpm_fw_send_cmd_wait
| |-- drivers-net-ethernet-mucse-rnpm-rnpm_mbx_fw.c:warning:no-previous-prototype-for-function-rnpm_get_port_stats2
| |-- drivers-net-ethernet-mucse-rnpm-rnpm_mbx_fw.c:warning:no-previous-prototype-for-function-rnpm_link_stat_mark_disable
| |-- drivers-net-ethernet-mucse-rnpm-rnpm_mbx_fw.c:warning:no-previous-prototype-for-function-rnpm_mbx_fw_post_req
| |-- drivers-net-ethernet-mucse-rnpm-rnpm_mbx_fw.c:warning:no-previous-prototype-for-function-rnpm_mbx_lldp_all_ports_enable
| |-- drivers-net-ethernet-mucse-rnpm-rnpm_mbx_fw.c:warning:no-previous-prototype-for-function-rnpm_mbx_pluginout_evt_en
| |-- drivers-net-ethernet-mucse-rnpm-rnpm_mbx_fw.c:warning:no-previous-prototype-for-function-rnpm_mbx_write_posted_locked
| |-- drivers-net-ethernet-mucse-rnpm-rnpm_mbx_fw.c:warning:variable-err-is-uninitialized-when-used-here
| |-- drivers-net-ethernet-mucse-rnpm-rnpm_mbx_fw.c:warning:variable-err-set-but-not-used
| |-- drivers-net-ethernet-mucse-rnpm-rnpm_mbx_fw.c:warning:variable-hw-set-but-not-used
| |-- drivers-net-ethernet-mucse-rnpm-rnpm_mbx_fw.c:warning:variable-value-set-but-not-used
| |-- drivers-net-ethernet-mucse-rnpm-rnpm_n10.c:warning:Excess-function-parameter-atr_input-description-in-rnpm_atr_compute_perfect_hash_n10
| |-- drivers-net-ethernet-mucse-rnpm-rnpm_n10.c:warning:Excess-function-parameter-stream-description-in-rnpm_atr_compute_sig_hash_n10
| |-- drivers-net-ethernet-mucse-rnpm-rnpm_n10.c:warning:Function-parameter-or-member-common-not-described-in-rnpm_atr_compute_sig_hash_n10
| |-- drivers-net-ethernet-mucse-rnpm-rnpm_n10.c:warning:Function-parameter-or-member-input-not-described-in-rnpm_atr_compute_perfect_hash_n10
| |-- drivers-net-ethernet-mucse-rnpm-rnpm_n10.c:warning:Function-parameter-or-member-input-not-described-in-rnpm_atr_compute_sig_hash_n10
| |-- drivers-net-ethernet-mucse-rnpm-rnpm_n10.c:warning:no-previous-prototype-for-function-rnpm_reset_pipeline_n10
| |-- drivers-net-ethernet-mucse-rnpm-rnpm_n10.c:warning:variable-status-set-but-not-used
| |-- drivers-net-ethernet-mucse-rnpm-rnpm_phy.c:warning:Excess-function-parameter-eeprom_data-description-in-rnpm_read_i2c_sff8472_generic
| |-- drivers-net-ethernet-mucse-rnpm-rnpm_phy.c:warning:Excess-function-parameter-hw-description-in-rnpm_get_i2c_data
| |-- drivers-net-ethernet-mucse-rnpm-rnpm_phy.c:warning:Excess-function-parameter-hw-description-in-rnpm_get_phy_type_from_id
| |-- drivers-net-ethernet-mucse-rnpm-rnpm_phy.c:warning:Function-parameter-or-member-autoneg_wait_to_complete-not-described-in-rnpm_setup_phy_link_speed_generic
| |-- drivers-net-ethernet-mucse-rnpm-rnpm_phy.c:warning:Function-parameter-or-member-dev_addr-not-described-in-rnpm_read_i2c_byte_generic
| |-- drivers-net-ethernet-mucse-rnpm-rnpm_phy.c:warning:Function-parameter-or-member-dev_addr-not-described-in-rnpm_write_i2c_byte_generic
| |-- drivers-net-ethernet-mucse-rnpm-rnpm_phy.c:warning:Function-parameter-or-member-device_type-not-described-in-rnpm_read_phy_reg_generic
| |-- drivers-net-ethernet-mucse-rnpm-rnpm_phy.c:warning:Function-parameter-or-member-link_up-not-described-in-rnpm_check_phy_link_tnx
| |-- drivers-net-ethernet-mucse-rnpm-rnpm_phy.c:warning:Function-parameter-or-member-phy_id-not-described-in-rnpm_get_phy_type_from_id
| |-- drivers-net-ethernet-mucse-rnpm-rnpm_phy.c:warning:Function-parameter-or-member-sff8472_data-not-described-in-rnpm_read_i2c_sff8472_generic
| |-- drivers-net-ethernet-mucse-rnpm-rnpm_phy.c:warning:Function-parameter-or-member-speed-not-described-in-rnpm_check_phy_link_tnx
| |-- drivers-net-ethernet-mucse-rnpm-rnpm_ptp.c:warning:no-previous-prototype-for-function-rnpm_ptp_setup_ptp
| |-- drivers-net-ethernet-mucse-rnpm-rnpm_ptp.c:warning:variable-target-set-but-not-used
| |-- drivers-net-ethernet-mucse-rnpm-rnpm_sysfs.c:warning:no-previous-prototype-for-function-rnpm_mbx_get_pn_sn
| |-- drivers-net-ethernet-yunsilicon-xsc-common-xsc_core.h:warning:bitwise-or-with-non-zero-value-always-evaluates-to-true
| |-- drivers-net-ethernet-yunsilicon-xsc-net-main.c:warning:no-previous-prototype-for-function-xsc_eth_change_link_status
| |-- drivers-net-ethernet-yunsilicon-xsc-net-main.c:warning:no-previous-prototype-for-function-xsc_get_vf_config
| |-- drivers-net-ethernet-yunsilicon-xsc-net-main.c:warning:no-previous-prototype-for-function-xsc_rx_get_linear_frag_sz
| |-- drivers-net-ethernet-yunsilicon-xsc-net-main.c:warning:no-previous-prototype-for-function-xsc_rx_is_linear_skb
| |-- drivers-net-ethernet-yunsilicon-xsc-net-main.c:warning:no-previous-prototype-for-function-xsc_select_queue
| |-- drivers-net-ethernet-yunsilicon-xsc-net-main.c:warning:variable-txq_ix-is-uninitialized-when-used-here
| |-- drivers-net-ethernet-yunsilicon-xsc-net-xsc_dcbnl.c:warning:variable-buffer_size-set-but-not-used
| |-- drivers-net-ethernet-yunsilicon-xsc-net-xsc_dcbnl.c:warning:variable-curr_pfc_en-is-uninitialized-when-used-here
| |-- drivers-net-ethernet-yunsilicon-xsc-net-xsc_dcbnl.c:warning:variable-prio2buffer-set-but-not-used
| |-- drivers-net-ethernet-yunsilicon-xsc-pci-main.c:warning:no-previous-prototype-for-function-xsc_devid_to_pcie_no
| |-- drivers-net-ethernet-yunsilicon-xsc-pci-xsc_pci_ctrl.c:warning:no-previous-prototype-for-function-find_kallsyms_lookup_name
| |-- drivers-net-ethernet-yunsilicon-xsc-pci-xsc_pci_ctrl.c:warning:no-previous-prototype-for-function-noop_pre
| |-- drivers-net-ethernet-yusur-k2-..-platform-ys_intr.c:warning:overlapping-comparisons-always-evaluate-to-false
| `-- drivers-net-ethernet-yusur-k2-ys_k2_tx.c:warning:variable-clean_tail_ptr-set-but-not-used
|-- x86_64-randconfig-121-20240403
| `-- arch-x86-kernel-cpu-common.c:sparse:sparse:incorrect-type-in-initializer-(different-address-spaces)-expected-void-const-noderef-__percpu-got-unsigned-short
`-- x86_64-randconfig-123-20240403
`-- arch-x86-kernel-cpu-common.c:sparse:sparse:incorrect-type-in-initializer-(different-address-spaces)-expected-void-const-noderef-__percpu-got-unsigned-short
elapsed time: 731m
configs tested: 34
configs skipped: 149
The following configs have been built successfully.
More configs may be tested in the coming days.
tested configs:
arm64 allmodconfig clang
arm64 allnoconfig gcc
arm64 defconfig gcc
arm64 randconfig-001-20240403 clang
arm64 randconfig-002-20240403 clang
arm64 randconfig-003-20240403 gcc
arm64 randconfig-004-20240403 clang
x86_64 allnoconfig clang
x86_64 allyesconfig clang
x86_64 buildonly-randconfig-001-20240403 gcc
x86_64 buildonly-randconfig-002-20240403 gcc
x86_64 buildonly-randconfig-003-20240403 clang
x86_64 buildonly-randconfig-004-20240403 gcc
x86_64 buildonly-randconfig-005-20240403 clang
x86_64 buildonly-randconfig-006-20240403 gcc
x86_64 defconfig gcc
x86_64 randconfig-001-20240403 gcc
x86_64 randconfig-002-20240403 clang
x86_64 randconfig-003-20240403 gcc
x86_64 randconfig-004-20240403 gcc
x86_64 randconfig-005-20240403 gcc
x86_64 randconfig-006-20240403 clang
x86_64 randconfig-011-20240403 gcc
x86_64 randconfig-012-20240403 gcc
x86_64 randconfig-013-20240403 gcc
x86_64 randconfig-014-20240403 gcc
x86_64 randconfig-015-20240403 gcc
x86_64 randconfig-016-20240403 gcc
x86_64 randconfig-071-20240403 clang
x86_64 randconfig-072-20240403 gcc
x86_64 randconfig-073-20240403 clang
x86_64 randconfig-074-20240403 gcc
x86_64 randconfig-075-20240403 gcc
x86_64 rhel-8.3-rust clang
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
1
0

[openeuler:OLK-6.6 7130/7265] arch/loongarch/kvm/vcpu.c:68:37: error: 'struct sched_info' has no member named 'run_delay'
by kernel test robot 03 Apr '24
by kernel test robot 03 Apr '24
03 Apr '24
tree: https://gitee.com/openeuler/kernel.git OLK-6.6
head: 448a7c1b3e0654d6b6801c216e7c265445a83a2f
commit: faa35b0fcdefb1e5f2d05b0eeac12be32e69e566 [7130/7265] LoongArch: KVM: Add steal time support in kvm side
config: loongarch-randconfig-002-20240403 (https://download.01.org/0day-ci/archive/20240403/202404030537.GbaKR7zc-lkp@…)
compiler: loongarch64-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240403/202404030537.GbaKR7zc-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/202404030537.GbaKR7zc-lkp@intel.com/
All errors (new ones prefixed by >>):
arch/loongarch/kvm/vcpu.c: In function 'kvm_update_stolen_time':
>> arch/loongarch/kvm/vcpu.c:68:37: error: 'struct sched_info' has no member named 'run_delay'
68 | steal += current->sched_info.run_delay -
| ^
arch/loongarch/kvm/vcpu.c:70:55: error: 'struct sched_info' has no member named 'run_delay'
70 | vcpu->arch.st.last_steal = current->sched_info.run_delay;
| ^
--
arch/loongarch/kvm/exit.c: In function 'kvm_save_notify':
>> arch/loongarch/kvm/exit.c:764:63: error: 'struct sched_info' has no member named 'run_delay'
764 | vcpu->arch.st.last_steal = current->sched_info.run_delay;
| ^
vim +68 arch/loongarch/kvm/vcpu.c
33
34 static void kvm_update_stolen_time(struct kvm_vcpu *vcpu)
35 {
36 struct kvm_steal_time __user *st;
37 struct gfn_to_hva_cache *ghc;
38 struct kvm_memslots *slots;
39 gpa_t gpa;
40 u64 steal;
41 u32 version;
42
43 ghc = &vcpu->arch.st.cache;
44 gpa = vcpu->arch.st.guest_addr;
45 if (!(gpa & KVM_STEAL_PHYS_VALID))
46 return;
47
48 gpa &= KVM_STEAL_PHYS_MASK;
49 slots = kvm_memslots(vcpu->kvm);
50 if (slots->generation != ghc->generation || gpa != ghc->gpa) {
51 if (kvm_gfn_to_hva_cache_init(vcpu->kvm, ghc, gpa,
52 sizeof(*st))) {
53 ghc->gpa = INVALID_GPA;
54 return;
55 }
56 }
57
58 st = (struct kvm_steal_time __user *)ghc->hva;
59 unsafe_get_user(version, &st->version, out);
60 if (version & 1)
61 version += 1;
62 version += 1;
63 unsafe_put_user(version, &st->version, out);
64 /* Make sure st->version is written first */
65 smp_wmb();
66
67 unsafe_get_user(steal, &st->steal, out);
> 68 steal += current->sched_info.run_delay -
69 vcpu->arch.st.last_steal;
70 vcpu->arch.st.last_steal = current->sched_info.run_delay;
71 unsafe_put_user(steal, &st->steal, out);
72
73 /* Make sure st->steal is written first */
74 smp_wmb();
75 version += 1;
76 unsafe_put_user(version, &st->version, out);
77 out:
78 mark_page_dirty_in_slot(vcpu->kvm, ghc->memslot, gpa_to_gfn(ghc->gpa));
79 }
80
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
1
0

[openeuler:OLK-6.6 6862/7265] drivers/net/ethernet/mucse/rnpvf/vf.c:486:5: warning: no previous prototype for 'rnpvf_addr_list_itr'
by kernel test robot 03 Apr '24
by kernel test robot 03 Apr '24
03 Apr '24
tree: https://gitee.com/openeuler/kernel.git OLK-6.6
head: 448a7c1b3e0654d6b6801c216e7c265445a83a2f
commit: 6adab536d69347a10c2366aaf6b86de963d5994b [6862/7265] drivers: initial support for rnpvf drivers from Mucse Technology
config: loongarch-allmodconfig (https://download.01.org/0day-ci/archive/20240403/202404030557.mZnvUtOv-lkp@…)
compiler: loongarch64-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240403/202404030557.mZnvUtOv-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/202404030557.mZnvUtOv-lkp@intel.com/
All warnings (new ones prefixed by >>):
drivers/net/ethernet/mucse/rnpvf/vf.c: In function 'rnpvf_stop_hw_vf':
drivers/net/ethernet/mucse/rnpvf/vf.c:256:13: warning: variable 'number_of_queues' set but not used [-Wunused-but-set-variable]
256 | u32 number_of_queues;
| ^~~~~~~~~~~~~~~~
drivers/net/ethernet/mucse/rnpvf/vf.c: At top level:
>> drivers/net/ethernet/mucse/rnpvf/vf.c:486:5: warning: no previous prototype for 'rnpvf_addr_list_itr' [-Wmissing-prototypes]
486 | u8 *rnpvf_addr_list_itr(struct rnpvf_hw __maybe_unused *hw,
| ^~~~~~~~~~~~~~~~~~~
>> drivers/net/ethernet/mucse/rnpvf/vf.c:685:5: warning: no previous prototype for 'rnpvf_negotiate_api_version' [-Wmissing-prototypes]
685 | int rnpvf_negotiate_api_version(struct rnpvf_hw *hw, int api)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
>> drivers/net/ethernet/mucse/rnpvf/vf.c:690:5: warning: no previous prototype for 'rnpvf_get_queues' [-Wmissing-prototypes]
690 | int rnpvf_get_queues(struct rnpvf_hw *hw, unsigned int *num_tcs,
| ^~~~~~~~~~~~~~~~
>> drivers/net/ethernet/mucse/rnpvf/vf.c:696:6: warning: no previous prototype for 'rnpvf_set_veb_mac_n10' [-Wmissing-prototypes]
696 | void rnpvf_set_veb_mac_n10(struct rnpvf_hw *hw, u8 *mac, u32 vfnum,
| ^~~~~~~~~~~~~~~~~~~~~
>> drivers/net/ethernet/mucse/rnpvf/vf.c:718:6: warning: no previous prototype for 'rnpvf_set_vlan_n10' [-Wmissing-prototypes]
718 | void rnpvf_set_vlan_n10(struct rnpvf_hw *hw, u16 vid, u32 vf_num)
| ^~~~~~~~~~~~~~~~~~
--
>> drivers/net/ethernet/mucse/rnpvf/ethtool.c:249:6: warning: no previous prototype for 'rnpvf_get_ringparam' [-Wmissing-prototypes]
249 | void rnpvf_get_ringparam(struct net_device *netdev,
| ^~~~~~~~~~~~~~~~~~~
drivers/net/ethernet/mucse/rnpvf/ethtool.c: In function 'rnpvf_get_strings':
drivers/net/ethernet/mucse/rnpvf/ethtool.c:269:13: warning: variable 'queue_idx' set but not used [-Wunused-but-set-variable]
269 | u16 queue_idx;
| ^~~~~~~~~
drivers/net/ethernet/mucse/rnpvf/ethtool.c: At top level:
>> drivers/net/ethernet/mucse/rnpvf/ethtool.c:103:19: warning: 'rnp_gstrings_test' defined but not used [-Wunused-const-variable=]
103 | static const char rnp_gstrings_test[][ETH_GSTRING_LEN] = {
| ^~~~~~~~~~~~~~~~~
--
>> drivers/net/ethernet/mucse/rnpvf/rnpvf_main.c:127:6: warning: no previous prototype for 'rnpvf_unmap_and_free_tx_resource' [-Wmissing-prototypes]
127 | void rnpvf_unmap_and_free_tx_resource(struct rnpvf_ring *ring,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> drivers/net/ethernet/mucse/rnpvf/rnpvf_main.c:919:6: warning: no previous prototype for 'rnpvf_alloc_rx_buffers' [-Wmissing-prototypes]
919 | void rnpvf_alloc_rx_buffers(struct rnpvf_ring *rx_ring, u16 cleaned_count)
| ^~~~~~~~~~~~~~~~~~~~~~
>> drivers/net/ethernet/mucse/rnpvf/rnpvf_main.c:1945:6: warning: no previous prototype for 'update_rx_count' [-Wmissing-prototypes]
1945 | void update_rx_count(int cleaned, struct rnpvf_q_vector *q_vector)
| ^~~~~~~~~~~~~~~
>> drivers/net/ethernet/mucse/rnpvf/rnpvf_main.c:2420:6: warning: no previous prototype for 'rnpvf_write_eitr_rx' [-Wmissing-prototypes]
2420 | void rnpvf_write_eitr_rx(struct rnpvf_q_vector *q_vector)
| ^~~~~~~~~~~~~~~~~~~
>> drivers/net/ethernet/mucse/rnpvf/rnpvf_main.c:2523:6: warning: no previous prototype for 'rnpvf_configure_tx_ring' [-Wmissing-prototypes]
2523 | void rnpvf_configure_tx_ring(struct rnpvf_adapter *adapter,
| ^~~~~~~~~~~~~~~~~~~~~~~
>> drivers/net/ethernet/mucse/rnpvf/rnpvf_main.c:2589:6: warning: no previous prototype for 'rnpvf_disable_rx_queue' [-Wmissing-prototypes]
2589 | void rnpvf_disable_rx_queue(struct rnpvf_adapter *adapter,
| ^~~~~~~~~~~~~~~~~~~~~~
>> drivers/net/ethernet/mucse/rnpvf/rnpvf_main.c:2595:6: warning: no previous prototype for 'rnpvf_enable_rx_queue' [-Wmissing-prototypes]
2595 | void rnpvf_enable_rx_queue(struct rnpvf_adapter *adapter,
| ^~~~~~~~~~~~~~~~~~~~~
>> drivers/net/ethernet/mucse/rnpvf/rnpvf_main.c:2601:6: warning: no previous prototype for 'rnpvf_configure_rx_ring' [-Wmissing-prototypes]
2601 | void rnpvf_configure_rx_ring(struct rnpvf_adapter *adapter,
| ^~~~~~~~~~~~~~~~~~~~~~~
drivers/net/ethernet/mucse/rnpvf/rnpvf_main.c: In function 'rnpvf_vlan_rx_kill_vid':
drivers/net/ethernet/mucse/rnpvf/rnpvf_main.c:2736:13: warning: variable 'err' set but not used [-Wunused-but-set-variable]
2736 | int err = -EOPNOTSUPP;
| ^~~
drivers/net/ethernet/mucse/rnpvf/rnpvf_main.c: In function 'rnpvf_acquire_msix_vectors':
drivers/net/ethernet/mucse/rnpvf/rnpvf_main.c:3307:13: warning: variable 'vector_threshold' set but not used [-Wunused-but-set-variable]
3307 | int vector_threshold;
| ^~~~~~~~~~~~~~~~
drivers/net/ethernet/mucse/rnpvf/rnpvf_main.c: In function 'irq_miss_check':
drivers/net/ethernet/mucse/rnpvf/rnpvf_main.c:3456:26: warning: variable 'hw' set but not used [-Wunused-but-set-variable]
3456 | struct rnpvf_hw *hw;
| ^~
drivers/net/ethernet/mucse/rnpvf/rnpvf_main.c: At top level:
>> drivers/net/ethernet/mucse/rnpvf/rnpvf_main.c:4590:6: warning: no previous prototype for 'rnpvf_tx_ctxtdesc' [-Wmissing-prototypes]
4590 | void rnpvf_tx_ctxtdesc(struct rnpvf_ring *tx_ring, u16 mss_seg_len,
| ^~~~~~~~~~~~~~~~~
>> drivers/net/ethernet/mucse/rnpvf/rnpvf_main.c:5039:6: warning: no previous prototype for 'rnpvf_maybe_tx_ctxtdesc' [-Wmissing-prototypes]
5039 | void rnpvf_maybe_tx_ctxtdesc(struct rnpvf_ring *tx_ring,
| ^~~~~~~~~~~~~~~~~~~~~~~
>> drivers/net/ethernet/mucse/rnpvf/rnpvf_main.c:5089:13: warning: no previous prototype for 'rnpvf_xmit_frame_ring' [-Wmissing-prototypes]
5089 | netdev_tx_t rnpvf_xmit_frame_ring(struct sk_buff *skb,
| ^~~~~~~~~~~~~~~~~~~~~
>> drivers/net/ethernet/mucse/rnpvf/rnpvf_main.c:5580:6: warning: no previous prototype for 'rnpvf_assign_netdev_ops' [-Wmissing-prototypes]
5580 | void rnpvf_assign_netdev_ops(struct net_device *dev)
| ^~~~~~~~~~~~~~~~~~~~~~~
drivers/net/ethernet/mucse/rnpvf/rnpvf_main.c: In function 'rnpvf_request_msix_irqs':
>> drivers/net/ethernet/mucse/rnpvf/rnpvf_main.c:2129:72: warning: '%d' directive output may be truncated writing between 1 and 5 bytes into a region of size between 1 and 16 [-Wformat-truncation=]
2129 | sizeof(q_vector->name) - 1, "%s-%s-%d-%d",
| ^~
drivers/net/ethernet/mucse/rnpvf/rnpvf_main.c:2129:62: note: directive argument in the range [0, 65535]
2129 | sizeof(q_vector->name) - 1, "%s-%s-%d-%d",
| ^~~~~~~~~~~~~
drivers/net/ethernet/mucse/rnpvf/rnpvf_main.c:2128:25: note: 'snprintf' output between 10 and 29 bytes into a destination of size 24
2128 | snprintf(q_vector->name,
| ^~~~~~~~~~~~~~~~~~~~~~~~
2129 | sizeof(q_vector->name) - 1, "%s-%s-%d-%d",
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2130 | netdev->name, "TxRx", i, q_vector->v_idx);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vim +/rnpvf_addr_list_itr +486 drivers/net/ethernet/mucse/rnpvf/vf.c
485
> 486 u8 *rnpvf_addr_list_itr(struct rnpvf_hw __maybe_unused *hw,
487 u8 **mc_addr_ptr)
488 {
489 struct netdev_hw_addr *mc_ptr;
490 u8 *addr = *mc_addr_ptr;
491
492 mc_ptr = container_of(addr, struct netdev_hw_addr, addr[0]);
493 if (mc_ptr->list.next) {
494 struct netdev_hw_addr *ha;
495
496 ha = list_entry(mc_ptr->list.next, struct netdev_hw_addr,
497 list);
498 *mc_addr_ptr = ha->addr;
499 } else {
500 *mc_addr_ptr = NULL;
501 }
502
503 return addr;
504 }
505
506 /**
507 * rnpvf_update_mc_addr_list_vf - Update Multicast addresses
508 * @hw: pointer to the HW structure
509 * @netdev: pointer to net device structure
510 *
511 * Updates the Multicast Table Array.
512 **/
513 static s32 rnpvf_update_mc_addr_list_vf(struct rnpvf_hw *hw,
514 struct net_device *netdev)
515 {
516 struct netdev_hw_addr *ha;
517 u32 msgbuf[RNP_VFMAILBOX_SIZE];
518 u16 *vector_list = (u16 *)&msgbuf[1];
519 u32 cnt, i;
520 int addr_count = 0;
521 u8 *addr_list = NULL;
522
523 /* Each entry in the list uses 1 16 bit word. We have 30
524 * 16 bit words available in our HW msg buffer (minus 1 for the
525 * msg type). That's 30 hash values if we pack 'em right. If
526 * there are more than 30 MC addresses to add then punt the
527 * extras for now and then add code to handle more than 30 later.
528 * It would be unusual for a server to request that many multi-cast
529 * addresses except for in large enterprise network environments.
530 */
531
532 cnt = netdev_mc_count(netdev);
533 if (cnt > 30)
534 cnt = 30;
535 msgbuf[0] = RNP_VF_SET_MULTICAST;
536 msgbuf[0] |= cnt << RNP_VT_MSGINFO_SHIFT;
537
538 addr_count = netdev_mc_count(netdev);
539
540 ha = list_first_entry(&netdev->mc.list, struct netdev_hw_addr,
541 list);
542 addr_list = ha->addr;
543 for (i = 0; i < addr_count; i++) {
544 vector_list[i] = rnpvf_mta_vector(hw,
545 rnpvf_addr_list_itr(hw, &addr_list));
546 }
547
548 rnpvf_write_msg_read_ack(hw, msgbuf, RNP_VFMAILBOX_SIZE);
549
550 return 0;
551 }
552
553 /**
554 * rnpvf_set_vfta_vf - Set/Unset vlan filter table address
555 * @hw: pointer to the HW structure
556 * @vlan: 12 bit VLAN ID
557 * @vind: unused by VF drivers
558 * @vlan_on: if true then set bit, else clear bit
559 **/
560 static s32 rnpvf_set_vfta_vf(struct rnpvf_hw *hw, u32 vlan, u32 vind,
561 bool vlan_on)
562 {
563 struct rnp_mbx_info *mbx = &hw->mbx;
564 u32 msgbuf[2];
565 s32 err;
566
567 msgbuf[0] = RNP_VF_SET_VLAN;
568 msgbuf[1] = vlan;
569 /* Setting the 8 bit field MSG INFO to TRUE indicates "add" */
570 msgbuf[0] |= vlan_on << RNP_VT_MSGINFO_SHIFT;
571
572 err = mbx->ops.write_posted(hw, msgbuf, 2, false);
573 if (err)
574 goto mbx_err;
575
576 err = mbx->ops.read_posted(hw, msgbuf, 2, false);
577 if (err)
578 goto mbx_err;
579
580 /* remove extra bits from the message */
581 msgbuf[0] &= ~RNP_VT_MSGTYPE_CTS;
582 msgbuf[0] &= ~(0xFF << RNP_VT_MSGINFO_SHIFT);
583
584 if (msgbuf[0] != (RNP_VF_SET_VLAN | RNP_VT_MSGTYPE_ACK))
585 err = RNP_ERR_INVALID_ARGUMENT;
586
587 mbx_err:
588 return err;
589 }
590
591 static s32 rnpvf_set_vlan_strip(struct rnpvf_hw *hw, bool vlan_on)
592 {
593 struct rnp_mbx_info *mbx = &hw->mbx;
594 struct rnpvf_adapter *adapter = (struct rnpvf_adapter *)hw->back;
595 u32 msgbuf[4];
596 s32 err;
597 int i;
598
599 if (adapter->num_rx_queues > 2) {
600 err = -EINVAL;
601 goto mbx_err;
602 }
603
604 msgbuf[0] = RNP_VF_SET_VLAN_STRIP;
605 msgbuf[1] = (vlan_on << 31) | adapter->num_rx_queues;
606
607 for (i = 0; i < adapter->num_rx_queues; i++)
608 msgbuf[2 + i] = adapter->rx_ring[i]->rnpvf_queue_idx;
609
610 err = mbx->ops.write_posted(hw, msgbuf, 2 + adapter->num_rx_queues,
611 false);
612 if (err)
613 goto mbx_err;
614
615 err = mbx->ops.read_posted(hw, msgbuf, 1, false);
616 if (err)
617 goto mbx_err;
618
619 /* remove extra bits from the message */
620 msgbuf[0] &= ~RNP_VT_MSGTYPE_CTS;
621 msgbuf[0] &= ~(0xFF << RNP_VT_MSGINFO_SHIFT);
622
623 if (msgbuf[0] != (RNP_VF_SET_VLAN_STRIP | RNP_VT_MSGTYPE_ACK))
624 err = RNP_ERR_INVALID_ARGUMENT;
625
626 mbx_err:
627 return err;
628 }
629
630 /**
631 * rnpvf_setup_mac_link_vf - Setup MAC link settings
632 * @hw: pointer to hardware structure
633 * @speed: Unused in this implementation
634 * @autoneg: Unused in this implementation
635 * @autoneg_wait_to_complete: Unused in this implementation
636 *
637 * Do nothing and return success. VF drivers are not allowed to change
638 * global settings. Maintained for driver compatibility.
639 **/
640 static s32 rnpvf_setup_mac_link_vf(struct rnpvf_hw *hw,
641 rnp_link_speed speed, bool autoneg,
642 bool autoneg_wait_to_complete)
643 {
644 return 0;
645 }
646
647 /**
648 * rnpvf_check_mac_link_vf - Get link/speed status
649 * @hw: pointer to hardware structure
650 * @speed: pointer to link speed
651 * @link_up: true is link is up, false otherwise
652 * @autoneg_wait_to_complete: true when waiting for completion is needed
653 *
654 * Reads the links register to determine if link is up and the current speed
655 **/
656 static s32 rnpvf_check_mac_link_vf(struct rnpvf_hw *hw,
657 rnp_link_speed *speed, bool *link_up,
658 bool autoneg_wait_to_complete)
659 {
660 *speed = hw->speed;
661 *link_up = hw->link;
662
663 return 0;
664 }
665
666 /**
667 * rnpvf_rlpml_set_vf - Set the maximum receive packet length
668 * @hw: pointer to the HW structure
669 * @max_size: value to assign to max frame size
670 **/
671 void rnpvf_rlpml_set_vf(struct rnpvf_hw *hw, u16 max_size)
672 {
673 u32 msgbuf[2];
674
675 msgbuf[0] = RNP_VF_SET_LPE;
676 msgbuf[1] = max_size;
677 rnpvf_write_msg_read_ack(hw, msgbuf, 2);
678 }
679
680 /**
681 * rnpvf_negotiate_api_version - Negotiate supported API version
682 * @hw: pointer to the HW structure
683 * @api: integer containing requested API version
684 **/
> 685 int rnpvf_negotiate_api_version(struct rnpvf_hw *hw, int api)
686 {
687 return 0;
688 }
689
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
1
0
From: JiangShui Yang <yangjiangshui(a)h-partners.com>
Longfang Liu (4):
vfio/migration: added map length page alignment
vfio/migration: bugfix some driver code
vfio/migration: add eq and aeq interruption restore
vfio/migration: bugfix cache write-back issue
Weili Qian (2):
vfio/migration: remove unused local variable
hisi_acc_vfio_pci: obtain the mailbox configuration at one time
drivers/crypto/hisilicon/qm.c | 15 ++-
.../vfio/pci/hisilicon/hisi_acc_vfio_pci.c | 125 +++++++++---------
.../vfio/pci/hisilicon/hisi_acc_vfio_pci.h | 3 +
include/linux/hisi_acc_qm.h | 8 +-
4 files changed, 78 insertions(+), 73 deletions(-)
--
2.33.0
2
7
CVE-2024-26654
Duoming Zhou (1):
ALSA: sh: aica: reorder cleanup operations to avoid UAF bugs
Takashi Iwai (1):
ALSA: aica: Fix a long-time build breakage
sound/sh/aica.c | 29 +++++++++++++++++------------
1 file changed, 17 insertions(+), 12 deletions(-)
--
2.25.1
2
3
Daniel Vacek (1):
IB/ipoib: Fix mcast list locking
Jack Wang (1):
RDMA/IPoIB: Fix error code return in ipoib_mcast_join
drivers/infiniband/ulp/ipoib/ipoib_multicast.c | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
--
2.25.1
2
3

[openeuler:openEuler-1.0-LTS 14777/22023] drivers/scsi/huawei/hifc/.tmp_hifc_module.o: warning: objtool: missing symbol for section .text
by kernel test robot 02 Apr '24
by kernel test robot 02 Apr '24
02 Apr '24
tree: https://gitee.com/openeuler/kernel.git openEuler-1.0-LTS
head: 9268ff82cb11f4d613c20c217cafbf2bb1a85b45
commit: 7fc993d55d1b54ae40e29dfac825a18d04d644c6 [14777/22023] scsi/hifc: add hifc driver FC service module
config: x86_64-buildonly-randconfig-001-20240329 (https://download.01.org/0day-ci/archive/20240402/202404022024.yOXMtyZl-lkp@…)
compiler: clang version 17.0.6 (https://github.com/llvm/llvm-project 6009708b4367171ccdbf4b5905cb6a803753fe18)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240402/202404022024.yOXMtyZl-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/202404022024.yOXMtyZl-lkp@intel.com/
All warnings (new ones prefixed by >>):
In file included from drivers/scsi/huawei/hifc/hifc_module.c:7:
In file included from drivers/scsi/huawei/hifc/hifc_module.h:10:
In file included from drivers/scsi/huawei/hifc/unf_common.h:9:
In file included from drivers/scsi/huawei/hifc/unf_scsi_common.h:10:
In file included from drivers/scsi/huawei/hifc/hifc_knl_adp.h:30:
In file included from include/scsi/scsi_host.h:12:
In file included from include/linux/blk-mq.h:5:
In file included from include/linux/blkdev.h:16:
include/linux/pagemap.h:425:21: warning: cast from 'int (*)(struct file *, struct page *)' to 'filler_t *' (aka 'int (*)(void *, struct page *)') converts to incompatible function type [-Wcast-function-type-strict]
425 | filler_t *filler = (filler_t *)mapping->a_ops->readpage;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/scsi/huawei/hifc/hifc_module.c:46:5: warning: no previous prototype for function 'hifc_init_module' [-Wmissing-prototypes]
46 | int hifc_init_module(void)
| ^
drivers/scsi/huawei/hifc/hifc_module.c:46:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
46 | int hifc_init_module(void)
| ^
| static
drivers/scsi/huawei/hifc/hifc_module.c:88:6: warning: no previous prototype for function 'hifc_exit_module' [-Wmissing-prototypes]
88 | void hifc_exit_module(void)
| ^
drivers/scsi/huawei/hifc/hifc_module.c:88:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
88 | void hifc_exit_module(void)
| ^
| static
3 warnings generated.
>> drivers/scsi/huawei/hifc/.tmp_hifc_module.o: warning: objtool: missing symbol for section .text
--
In file included from drivers/scsi/huawei/hifc/hifc_sml.c:9:
In file included from drivers/scsi/huawei/hifc/hifc_knl_adp.h:30:
In file included from include/scsi/scsi_host.h:12:
In file included from include/linux/blk-mq.h:5:
In file included from include/linux/blkdev.h:16:
include/linux/pagemap.h:425:21: warning: cast from 'int (*)(struct file *, struct page *)' to 'filler_t *' (aka 'int (*)(void *, struct page *)') converts to incompatible function type [-Wcast-function-type-strict]
425 | filler_t *filler = (filler_t *)mapping->a_ops->readpage;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/scsi/huawei/hifc/hifc_sml.c:114:5: warning: no previous prototype for function 'hifc_sm_ctr_rd32_clear' [-Wmissing-prototypes]
114 | int hifc_sm_ctr_rd32_clear(void *hwdev, u8 node, u8 instance,
| ^
drivers/scsi/huawei/hifc/hifc_sml.c:114:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
114 | int hifc_sm_ctr_rd32_clear(void *hwdev, u8 node, u8 instance,
| ^
| static
drivers/scsi/huawei/hifc/hifc_sml.c:152:5: warning: no previous prototype for function 'hifc_sm_ctr_wr32' [-Wmissing-prototypes]
152 | int hifc_sm_ctr_wr32(void *hwdev, u8 node, u8 instance, u32 ctr_id, u32 value)
| ^
drivers/scsi/huawei/hifc/hifc_sml.c:152:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
152 | int hifc_sm_ctr_wr32(void *hwdev, u8 node, u8 instance, u32 ctr_id, u32 value)
| ^
| static
drivers/scsi/huawei/hifc/hifc_sml.c:212:5: warning: no previous prototype for function 'hifc_sm_ctr_wr64' [-Wmissing-prototypes]
212 | int hifc_sm_ctr_wr64(void *hwdev, u8 node, u8 instance, u32 ctr_id, u64 value)
| ^
drivers/scsi/huawei/hifc/hifc_sml.c:212:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
212 | int hifc_sm_ctr_wr64(void *hwdev, u8 node, u8 instance, u32 ctr_id, u64 value)
| ^
| static
drivers/scsi/huawei/hifc/hifc_sml.c:279:5: warning: no previous prototype for function 'hifc_sm_ctr_wr64_pair' [-Wmissing-prototypes]
279 | int hifc_sm_ctr_wr64_pair(void *hwdev, u8 node, u8 instance,
| ^
drivers/scsi/huawei/hifc/hifc_sml.c:279:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
279 | int hifc_sm_ctr_wr64_pair(void *hwdev, u8 node, u8 instance,
| ^
| static
5 warnings generated.
>> drivers/scsi/huawei/hifc/.tmp_hifc_sml.o: warning: objtool: missing symbol for section .text
--
In file included from drivers/scsi/huawei/hifc/hifc_wqe.c:7:
In file included from drivers/scsi/huawei/hifc/hifc_module.h:10:
In file included from drivers/scsi/huawei/hifc/unf_common.h:9:
In file included from drivers/scsi/huawei/hifc/unf_scsi_common.h:10:
In file included from drivers/scsi/huawei/hifc/hifc_knl_adp.h:30:
In file included from include/scsi/scsi_host.h:12:
In file included from include/linux/blk-mq.h:5:
In file included from include/linux/blkdev.h:16:
include/linux/pagemap.h:425:21: warning: cast from 'int (*)(struct file *, struct page *)' to 'filler_t *' (aka 'int (*)(void *, struct page *)') converts to incompatible function type [-Wcast-function-type-strict]
425 | filler_t *filler = (filler_t *)mapping->a_ops->readpage;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.
>> drivers/scsi/huawei/hifc/.tmp_hifc_wqe.o: warning: objtool: missing symbol for section .text
--
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/scsi/huawei/hifc/unf_npiv.c:173:14: warning: no previous prototype for function 'unf_alloc_vp_index' [-Wmissing-prototypes]
173 | unsigned int unf_alloc_vp_index(struct unf_vport_pool_s *v_vport_pool,
| ^
drivers/scsi/huawei/hifc/unf_npiv.c:173:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
173 | unsigned int unf_alloc_vp_index(struct unf_vport_pool_s *v_vport_pool,
| ^
| static
drivers/scsi/huawei/hifc/unf_npiv.c:229:6: warning: no previous prototype for function 'unf_free_vp_index' [-Wmissing-prototypes]
229 | void unf_free_vp_index(struct unf_vport_pool_s *v_vport_pool,
| ^
drivers/scsi/huawei/hifc/unf_npiv.c:229:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
229 | void unf_free_vp_index(struct unf_vport_pool_s *v_vport_pool,
| ^
| static
drivers/scsi/huawei/hifc/unf_npiv.c:255:21: warning: no previous prototype for function 'unf_get_free_vport' [-Wmissing-prototypes]
255 | struct unf_lport_s *unf_get_free_vport(struct unf_lport_s *v_lport)
| ^
drivers/scsi/huawei/hifc/unf_npiv.c:255:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
255 | struct unf_lport_s *unf_get_free_vport(struct unf_lport_s *v_lport)
| ^
| static
drivers/scsi/huawei/hifc/unf_npiv.c:287:6: warning: no previous prototype for function 'unf_vport_back_to_pool' [-Wmissing-prototypes]
287 | void unf_vport_back_to_pool(void *v_vport)
| ^
drivers/scsi/huawei/hifc/unf_npiv.c:287:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
287 | void unf_vport_back_to_pool(void *v_vport)
| ^
| static
drivers/scsi/huawei/hifc/unf_npiv.c:312:6: warning: no previous prototype for function 'unf_init_vport_from_lport' [-Wmissing-prototypes]
312 | void unf_init_vport_from_lport(struct unf_lport_s *v_vport,
| ^
drivers/scsi/huawei/hifc/unf_npiv.c:312:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
312 | void unf_init_vport_from_lport(struct unf_lport_s *v_vport,
| ^
| static
drivers/scsi/huawei/hifc/unf_npiv.c:339:6: warning: no previous prototype for function 'unf_check_vport_pool_status' [-Wmissing-prototypes]
339 | void unf_check_vport_pool_status(struct unf_lport_s *v_lport)
| ^
drivers/scsi/huawei/hifc/unf_npiv.c:339:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
339 | void unf_check_vport_pool_status(struct unf_lport_s *v_lport)
| ^
| static
drivers/scsi/huawei/hifc/unf_npiv.c:366:6: warning: no previous prototype for function 'unf_vport_deinit' [-Wmissing-prototypes]
366 | void unf_vport_deinit(void *v_vport)
| ^
drivers/scsi/huawei/hifc/unf_npiv.c:366:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
366 | void unf_vport_deinit(void *v_vport)
| ^
| static
drivers/scsi/huawei/hifc/unf_npiv.c:410:14: warning: no previous prototype for function 'unf_vport_init' [-Wmissing-prototypes]
410 | unsigned int unf_vport_init(void *v_vport)
| ^
drivers/scsi/huawei/hifc/unf_npiv.c:410:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
410 | unsigned int unf_vport_init(void *v_vport)
| ^
| static
drivers/scsi/huawei/hifc/unf_npiv.c:928:6: warning: no previous prototype for function 'unf_vport_abort_all_sfs_exch' [-Wmissing-prototypes]
928 | void unf_vport_abort_all_sfs_exch(struct unf_lport_s *vport)
| ^
drivers/scsi/huawei/hifc/unf_npiv.c:928:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
928 | void unf_vport_abort_all_sfs_exch(struct unf_lport_s *vport)
| ^
| static
drivers/scsi/huawei/hifc/unf_npiv.c:979:6: warning: no previous prototype for function 'unf_vport_abort_ini_io_exch' [-Wmissing-prototypes]
979 | void unf_vport_abort_ini_io_exch(struct unf_lport_s *vport)
| ^
drivers/scsi/huawei/hifc/unf_npiv.c:979:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
979 | void unf_vport_abort_ini_io_exch(struct unf_lport_s *vport)
| ^
| static
drivers/scsi/huawei/hifc/unf_npiv.c:1028:6: warning: no previous prototype for function 'unf_vport_abort_all_exch' [-Wmissing-prototypes]
1028 | void unf_vport_abort_all_exch(struct unf_lport_s *vport)
| ^
drivers/scsi/huawei/hifc/unf_npiv.c:1028:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
1028 | void unf_vport_abort_all_exch(struct unf_lport_s *vport)
| ^
| static
drivers/scsi/huawei/hifc/unf_npiv.c:1037:14: warning: no previous prototype for function 'unf_vport_wait_all_exch_removed' [-Wmissing-prototypes]
1037 | unsigned int unf_vport_wait_all_exch_removed(struct unf_lport_s *vport)
| ^
drivers/scsi/huawei/hifc/unf_npiv.c:1037:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
1037 | unsigned int unf_vport_wait_all_exch_removed(struct unf_lport_s *vport)
| ^
| static
drivers/scsi/huawei/hifc/unf_npiv.c:1114:14: warning: no previous prototype for function 'unf_vport_wait_rports_removed' [-Wmissing-prototypes]
1114 | unsigned int unf_vport_wait_rports_removed(struct unf_lport_s *vport)
| ^
drivers/scsi/huawei/hifc/unf_npiv.c:1114:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
1114 | unsigned int unf_vport_wait_rports_removed(struct unf_lport_s *vport)
| ^
| static
drivers/scsi/huawei/hifc/unf_npiv.c:1303:5: warning: no previous prototype for function 'unf_process_vports_linkup' [-Wmissing-prototypes]
1303 | int unf_process_vports_linkup(void *v_arg_in, void *v_arg_out)
| ^
drivers/scsi/huawei/hifc/unf_npiv.c:1303:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
1303 | int unf_process_vports_linkup(void *v_arg_in, void *v_arg_out)
| ^
| static
15 warnings generated.
>> drivers/scsi/huawei/hifc/.tmp_unf_npiv.o: warning: objtool: missing symbol for section .text
--
In file included from drivers/scsi/huawei/hifc/unf_event.c:8:
In file included from drivers/scsi/huawei/hifc/unf_common.h:9:
In file included from drivers/scsi/huawei/hifc/unf_scsi_common.h:10:
In file included from drivers/scsi/huawei/hifc/hifc_knl_adp.h:30:
In file included from include/scsi/scsi_host.h:12:
In file included from include/linux/blk-mq.h:5:
In file included from include/linux/blkdev.h:16:
include/linux/pagemap.h:425:21: warning: cast from 'int (*)(struct file *, struct page *)' to 'filler_t *' (aka 'int (*)(void *, struct page *)') converts to incompatible function type [-Wcast-function-type-strict]
425 | filler_t *filler = (filler_t *)mapping->a_ops->readpage;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/scsi/huawei/hifc/unf_event.c:18:14: warning: no previous prototype for function 'unf_init_event_msg' [-Wmissing-prototypes]
18 | unsigned int unf_init_event_msg(struct unf_lport_s *v_lport)
| ^
drivers/scsi/huawei/hifc/unf_event.c:18:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
18 | unsigned int unf_init_event_msg(struct unf_lport_s *v_lport)
| ^
| static
drivers/scsi/huawei/hifc/unf_event.c:69:6: warning: no previous prototype for function 'unf_init_event_node' [-Wmissing-prototypes]
69 | void unf_init_event_node(struct unf_cm_event_report *v_event_node)
| ^
drivers/scsi/huawei/hifc/unf_event.c:69:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
69 | void unf_init_event_node(struct unf_cm_event_report *v_event_node)
| ^
| static
drivers/scsi/huawei/hifc/unf_event.c:85:29: warning: no previous prototype for function 'unf_get_free_event_node' [-Wmissing-prototypes]
85 | struct unf_cm_event_report *unf_get_free_event_node(void *v_lport)
| ^
drivers/scsi/huawei/hifc/unf_event.c:85:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
85 | struct unf_cm_event_report *unf_get_free_event_node(void *v_lport)
| ^
| static
drivers/scsi/huawei/hifc/unf_event.c:128:6: warning: no previous prototype for function 'unf_check_event_mgr_status' [-Wmissing-prototypes]
128 | void unf_check_event_mgr_status(struct unf_event_mgr *v_event_mgr)
| ^
drivers/scsi/huawei/hifc/unf_event.c:128:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
128 | void unf_check_event_mgr_status(struct unf_event_mgr *v_event_mgr)
| ^
| static
drivers/scsi/huawei/hifc/unf_event.c:142:6: warning: no previous prototype for function 'unf_release_event' [-Wmissing-prototypes]
142 | void unf_release_event(void *v_lport, void *v_event_node)
| ^
drivers/scsi/huawei/hifc/unf_event.c:142:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
142 | void unf_release_event(void *v_lport, void *v_event_node)
| ^
| static
drivers/scsi/huawei/hifc/unf_event.c:166:6: warning: no previous prototype for function 'unf_post_event' [-Wmissing-prototypes]
166 | void unf_post_event(void *v_lport, void *v_event_node)
| ^
drivers/scsi/huawei/hifc/unf_event.c:166:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
166 | void unf_post_event(void *v_lport, void *v_event_node)
| ^
| static
drivers/scsi/huawei/hifc/unf_event.c:249:6: warning: no previous prototype for function 'unf_wait_event_mgr_complete' [-Wmissing-prototypes]
249 | void unf_wait_event_mgr_complete(struct unf_event_mgr *v_event_mgr)
| ^
drivers/scsi/huawei/hifc/unf_event.c:249:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
249 | void unf_wait_event_mgr_complete(struct unf_event_mgr *v_event_mgr)
| ^
| static
drivers/scsi/huawei/hifc/unf_event.c:355:6: warning: no previous prototype for function 'unf_release_global_event' [-Wmissing-prototypes]
355 | void unf_release_global_event(void *v_event_node)
| ^
drivers/scsi/huawei/hifc/unf_event.c:355:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
355 | void unf_release_global_event(void *v_event_node)
| ^
| static
9 warnings generated.
>> drivers/scsi/huawei/hifc/.tmp_unf_event.o: warning: objtool: missing symbol for section .text
--
In file included from drivers/scsi/huawei/hifc/hifc_cqm_main.c:13:
In file included from drivers/scsi/huawei/hifc/hifc_knl_adp.h:30:
In file included from include/scsi/scsi_host.h:12:
In file included from include/linux/blk-mq.h:5:
In file included from include/linux/blkdev.h:16:
include/linux/pagemap.h:425:21: warning: cast from 'int (*)(struct file *, struct page *)' to 'filler_t *' (aka 'int (*)(void *, struct page *)') converts to incompatible function type [-Wcast-function-type-strict]
425 | filler_t *filler = (filler_t *)mapping->a_ops->readpage;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/scsi/huawei/hifc/hifc_cqm_main.c:46:6: warning: no previous prototype for function 'cqm_test_mode_init' [-Wmissing-prototypes]
46 | void cqm_test_mode_init(struct cqm_handle_s *cqm_handle,
| ^
drivers/scsi/huawei/hifc/hifc_cqm_main.c:46:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
46 | void cqm_test_mode_init(struct cqm_handle_s *cqm_handle,
| ^
| static
drivers/scsi/huawei/hifc/hifc_cqm_main.c:95:5: warning: no previous prototype for function 'cqm_service_capability_init' [-Wmissing-prototypes]
95 | s32 cqm_service_capability_init(struct cqm_handle_s *cqm_handle,
| ^
drivers/scsi/huawei/hifc/hifc_cqm_main.c:95:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
95 | s32 cqm_service_capability_init(struct cqm_handle_s *cqm_handle,
| ^
| static
drivers/scsi/huawei/hifc/hifc_cqm_main.c:114:5: warning: no previous prototype for function 'cqm_capability_init' [-Wmissing-prototypes]
114 | s32 cqm_capability_init(void *ex_handle)
| ^
drivers/scsi/huawei/hifc/hifc_cqm_main.c:114:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
114 | s32 cqm_capability_init(void *ex_handle)
| ^
| static
drivers/scsi/huawei/hifc/hifc_cqm_main.c:431:5: warning: no previous prototype for function 'cqm_db_addr_alloc' [-Wmissing-prototypes]
431 | s32 cqm_db_addr_alloc(void *ex_handle, void __iomem **db_addr,
| ^
drivers/scsi/huawei/hifc/hifc_cqm_main.c:431:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
431 | s32 cqm_db_addr_alloc(void *ex_handle, void __iomem **db_addr,
| ^
| static
drivers/scsi/huawei/hifc/hifc_cqm_main.c:476:6: warning: no previous prototype for function 'cqm_db_addr_free' [-Wmissing-prototypes]
476 | void cqm_db_addr_free(void *ex_handle, void __iomem *db_addr,
| ^
drivers/scsi/huawei/hifc/hifc_cqm_main.c:476:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
476 | void cqm_db_addr_free(void *ex_handle, void __iomem *db_addr,
| ^
| static
6 warnings generated.
drivers/scsi/huawei/hifc/hifc_cqm_main.c:592: warning: Excess function parameter 'service_type' description in 'cqm_service_unregister'
>> drivers/scsi/huawei/hifc/.tmp_hifc_cqm_main.o: warning: objtool: missing symbol for section .text
--
In file included from drivers/scsi/huawei/hifc/hifc_portmng.c:6:
In file included from drivers/scsi/huawei/hifc/hifc_module.h:10:
In file included from drivers/scsi/huawei/hifc/unf_common.h:9:
In file included from drivers/scsi/huawei/hifc/unf_scsi_common.h:10:
In file included from drivers/scsi/huawei/hifc/hifc_knl_adp.h:30:
In file included from include/scsi/scsi_host.h:12:
In file included from include/linux/blk-mq.h:5:
In file included from include/linux/blkdev.h:16:
include/linux/pagemap.h:425:21: warning: cast from 'int (*)(struct file *, struct page *)' to 'filler_t *' (aka 'int (*)(void *, struct page *)') converts to incompatible function type [-Wcast-function-type-strict]
425 | filler_t *filler = (filler_t *)mapping->a_ops->readpage;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/scsi/huawei/hifc/hifc_portmng.c:570:5: warning: no previous prototype for function 'hifc_dfx_get_rxtx_error_state' [-Wmissing-prototypes]
570 | int hifc_dfx_get_rxtx_error_state(void *v_hba, void *v_buff_out)
| ^
drivers/scsi/huawei/hifc/hifc_portmng.c:570:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
570 | int hifc_dfx_get_rxtx_error_state(void *v_hba, void *v_buff_out)
| ^
| static
drivers/scsi/huawei/hifc/hifc_portmng.c:1118:14: warning: no previous prototype for function 'hifc_port_info' [-Wmissing-prototypes]
1118 | unsigned int hifc_port_info(struct unf_hinicam_pkg *v_input)
| ^
drivers/scsi/huawei/hifc/hifc_portmng.c:1118:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
1118 | unsigned int hifc_port_info(struct unf_hinicam_pkg *v_input)
| ^
| static
3 warnings generated.
>> drivers/scsi/huawei/hifc/.tmp_hifc_portmng.o: warning: objtool: missing symbol for section .text
..
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
1
0
This patch set fix a bug for hns3 driver and modify the driver
version.
Yonglong Liu (2):
net: hns3: fix port vlan filter not disabled problem in dynamic vlan
mode
net: hns3: update hns3 version to 24.3.1
drivers/net/ethernet/hisilicon/hns3/hnae3.h | 2 +-
.../ethernet/hisilicon/hns3/hns3_cae/hns3_cae_version.h | 2 +-
drivers/net/ethernet/hisilicon/hns3/hns3_enet.h | 2 +-
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c | 9 +++++++--
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.h | 2 +-
.../net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.h | 2 +-
6 files changed, 12 insertions(+), 7 deletions(-)
--
2.17.1
2
3