mailweb.openeuler.org
Manage this list

Keyboard Shortcuts

Thread View

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

Kernel

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

  • 50 participants
  • 22073 discussions
[openeuler:OLK-6.6 1/1] kismet: WARNING: unmet direct dependencies detected for PGP_PRELOAD when selected by PGP_PRELOAD_PUBLIC_KEYS
by kernel test robot 21 Dec '25

21 Dec '25
tree: https://gitee.com/openeuler/kernel.git OLK-6.6 head: 04473ee9ed912a16fff0d8846ad565bbf3d63c77 commit: 43d4042e06d2bf96adf67d25e8d91653507a4cf9 [1/1] KEYS: Provide a function to load keys from a PGP keyring blob config: x86_64-kismet-CONFIG_PGP_PRELOAD-CONFIG_PGP_PRELOAD_PUBLIC_KEYS-0-0 (https://download.01.org/0day-ci/archive/20251220/202512201919.aBYsjEcq-lkp@…) reproduce: (https://download.01.org/0day-ci/archive/20251220/202512201919.aBYsjEcq-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/202512201919.aBYsjEcq-lkp@intel.com/ kismet warnings: (new ones prefixed by >>) >> kismet: WARNING: unmet direct dependencies detected for PGP_PRELOAD when selected by PGP_PRELOAD_PUBLIC_KEYS WARNING: unmet direct dependencies detected for PGP_PRELOAD Depends on [n]: CRYPTO [=y] && ASYMMETRIC_KEY_TYPE [=n] Selected by [y]: - PGP_PRELOAD_PUBLIC_KEYS [=y] && CRYPTO [=y] -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki
1 0
0 0
[openeuler:OLK-6.6 3563/3563] drivers/scsi/linkdata/ps3stor/./linux/ps3_base.c:545:5: error: no previous prototype for function 'ps3_pci_init'
by kernel test robot 21 Dec '25

21 Dec '25
Hi liujie_answer, FYI, the error/warning still remains. tree: https://gitee.com/openeuler/kernel.git OLK-6.6 head: 04473ee9ed912a16fff0d8846ad565bbf3d63c77 commit: 97a2bb6ece556f3882263ee8df2b77f10c511311 [3563/3563] SCSI: Linkdata: Supports Linkdata HBA/RAID Controllers config: x86_64-allyesconfig (https://download.01.org/0day-ci/archive/20251221/202512210106.IqHUCCpt-lkp@…) compiler: clang version 20.1.8 (https://github.com/llvm/llvm-project 87f0227cb60147a26a1eeb4fb06e3b505e9c7261) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251221/202512210106.IqHUCCpt-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/202512210106.IqHUCCpt-lkp@intel.com/ All errors (new ones prefixed by >>): In file included from drivers/scsi/linkdata/ps3stor/ps3_ioc_manager.c:5: In file included from include/linux/pci.h:1669: In file included from include/linux/dmapool.h:14: In file included from include/linux/scatterlist.h:8: In file included from include/linux/mm.h:2253: include/linux/vmstat.h:508:43: error: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Werror,-Wenum-enum-conversion] 508 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS + | ~~~~~~~~~~~~~~~~~~~~~ ^ 509 | item]; | ~~~~ include/linux/vmstat.h:515:43: error: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Werror,-Wenum-enum-conversion] 515 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS + | ~~~~~~~~~~~~~~~~~~~~~ ^ 516 | NR_VM_NUMA_EVENT_ITEMS + | ~~~~~~~~~~~~~~~~~~~~~~ include/linux/vmstat.h:522:36: error: arithmetic between different enumeration types ('enum node_stat_item' and 'enum lru_list') [-Werror,-Wenum-enum-conversion] 522 | return node_stat_name(NR_LRU_BASE + lru) + 3; // skip "nr_" | ~~~~~~~~~~~ ^ ~~~ include/linux/vmstat.h:527:43: error: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Werror,-Wenum-enum-conversion] 527 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS + | ~~~~~~~~~~~~~~~~~~~~~ ^ 528 | NR_VM_NUMA_EVENT_ITEMS + | ~~~~~~~~~~~~~~~~~~~~~~ include/linux/vmstat.h:536:43: error: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Werror,-Wenum-enum-conversion] 536 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS + | ~~~~~~~~~~~~~~~~~~~~~ ^ 537 | NR_VM_NUMA_EVENT_ITEMS + | ~~~~~~~~~~~~~~~~~~~~~~ >> drivers/scsi/linkdata/ps3stor/ps3_ioc_manager.c:307:5: error: no previous prototype for function 'ps3_hard_reset_to_ready' [-Werror,-Wmissing-prototypes] 307 | int ps3_hard_reset_to_ready(struct ps3_instance *instance) | ^ drivers/scsi/linkdata/ps3stor/ps3_ioc_manager.c:307:1: note: declare 'static' if the function is not intended to be used outside of this translation unit 307 | int ps3_hard_reset_to_ready(struct ps3_instance *instance) | ^ | static 6 errors generated. -- In file included from drivers/scsi/linkdata/ps3stor/ps3_scsi_cmd_err.c:5: In file included from include/linux/pci.h:1669: In file included from include/linux/dmapool.h:14: In file included from include/linux/scatterlist.h:8: In file included from include/linux/mm.h:2253: include/linux/vmstat.h:508:43: error: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Werror,-Wenum-enum-conversion] 508 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS + | ~~~~~~~~~~~~~~~~~~~~~ ^ 509 | item]; | ~~~~ include/linux/vmstat.h:515:43: error: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Werror,-Wenum-enum-conversion] 515 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS + | ~~~~~~~~~~~~~~~~~~~~~ ^ 516 | NR_VM_NUMA_EVENT_ITEMS + | ~~~~~~~~~~~~~~~~~~~~~~ include/linux/vmstat.h:522:36: error: arithmetic between different enumeration types ('enum node_stat_item' and 'enum lru_list') [-Werror,-Wenum-enum-conversion] 522 | return node_stat_name(NR_LRU_BASE + lru) + 3; // skip "nr_" | ~~~~~~~~~~~ ^ ~~~ include/linux/vmstat.h:527:43: error: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Werror,-Wenum-enum-conversion] 527 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS + | ~~~~~~~~~~~~~~~~~~~~~ ^ 528 | NR_VM_NUMA_EVENT_ITEMS + | ~~~~~~~~~~~~~~~~~~~~~~ include/linux/vmstat.h:536:43: error: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Werror,-Wenum-enum-conversion] 536 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS + | ~~~~~~~~~~~~~~~~~~~~~ ^ 537 | NR_VM_NUMA_EVENT_ITEMS + | ~~~~~~~~~~~~~~~~~~~~~~ >> drivers/scsi/linkdata/ps3stor/ps3_scsi_cmd_err.c:876:6: error: no previous prototype for function 'ps3_set_task_manager_busy' [-Werror,-Wmissing-prototypes] 876 | void ps3_set_task_manager_busy(struct ps3_instance *instance, | ^ drivers/scsi/linkdata/ps3stor/ps3_scsi_cmd_err.c:876:1: note: declare 'static' if the function is not intended to be used outside of this translation unit 876 | void ps3_set_task_manager_busy(struct ps3_instance *instance, | ^ | static >> drivers/scsi/linkdata/ps3stor/ps3_scsi_cmd_err.c:1110:5: error: no previous prototype for function 'ps3_wait_for_outstanding_complete' [-Werror,-Wmissing-prototypes] 1110 | int ps3_wait_for_outstanding_complete(struct ps3_instance *instance) | ^ drivers/scsi/linkdata/ps3stor/ps3_scsi_cmd_err.c:1110:1: note: declare 'static' if the function is not intended to be used outside of this translation unit 1110 | int ps3_wait_for_outstanding_complete(struct ps3_instance *instance) | ^ | static 7 errors generated. -- In file included from drivers/scsi/linkdata/ps3stor/ps3_cmd_complete.c:14: In file included from drivers/scsi/linkdata/ps3stor/ps3_cmd_complete.h:6: In file included from drivers/scsi/linkdata/ps3stor/ps3_irq.h:8: In file included from include/scsi/scsi_host.h:11: In file included from include/linux/blk-mq.h:5: In file included from include/linux/blkdev.h:9: In file included from include/linux/blk_types.h:10: In file included from include/linux/bvec.h:10: In file included from include/linux/highmem.h:8: In file included from include/linux/cacheflush.h:5: In file included from arch/x86/include/asm/cacheflush.h:5: In file included from include/linux/mm.h:2253: include/linux/vmstat.h:508:43: error: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Werror,-Wenum-enum-conversion] 508 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS + | ~~~~~~~~~~~~~~~~~~~~~ ^ 509 | item]; | ~~~~ include/linux/vmstat.h:515:43: error: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Werror,-Wenum-enum-conversion] 515 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS + | ~~~~~~~~~~~~~~~~~~~~~ ^ 516 | NR_VM_NUMA_EVENT_ITEMS + | ~~~~~~~~~~~~~~~~~~~~~~ include/linux/vmstat.h:522:36: error: arithmetic between different enumeration types ('enum node_stat_item' and 'enum lru_list') [-Werror,-Wenum-enum-conversion] 522 | return node_stat_name(NR_LRU_BASE + lru) + 3; // skip "nr_" | ~~~~~~~~~~~ ^ ~~~ include/linux/vmstat.h:527:43: error: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Werror,-Wenum-enum-conversion] 527 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS + | ~~~~~~~~~~~~~~~~~~~~~ ^ 528 | NR_VM_NUMA_EVENT_ITEMS + | ~~~~~~~~~~~~~~~~~~~~~~ include/linux/vmstat.h:536:43: error: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Werror,-Wenum-enum-conversion] 536 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS + | ~~~~~~~~~~~~~~~~~~~~~ ^ 537 | NR_VM_NUMA_EVENT_ITEMS + | ~~~~~~~~~~~~~~~~~~~~~~ >> drivers/scsi/linkdata/ps3stor/ps3_cmd_complete.c:131:6: error: no previous prototype for function 'ps3_trigger_irq_poll' [-Werror,-Wmissing-prototypes] 131 | void ps3_trigger_irq_poll(struct ps3_irq *irq) | ^ drivers/scsi/linkdata/ps3stor/ps3_cmd_complete.c:131:1: note: declare 'static' if the function is not intended to be used outside of this translation unit 131 | void ps3_trigger_irq_poll(struct ps3_irq *irq) | ^ | static >> drivers/scsi/linkdata/ps3stor/ps3_cmd_complete.c:243:5: error: no previous prototype for function 'ps3_resp_status_convert' [-Werror,-Wmissing-prototypes] 243 | int ps3_resp_status_convert(unsigned int resp_status) | ^ drivers/scsi/linkdata/ps3stor/ps3_cmd_complete.c:243:1: note: declare 'static' if the function is not intended to be used outside of this translation unit 243 | int ps3_resp_status_convert(unsigned int resp_status) | ^ | static 7 errors generated. -- In file included from drivers/scsi/linkdata/ps3stor/ps3_qos.c:7: In file included from include/scsi/scsi_host.h:11: In file included from include/linux/blk-mq.h:5: In file included from include/linux/blkdev.h:9: In file included from include/linux/blk_types.h:10: In file included from include/linux/bvec.h:10: In file included from include/linux/highmem.h:8: In file included from include/linux/cacheflush.h:5: In file included from arch/x86/include/asm/cacheflush.h:5: In file included from include/linux/mm.h:2253: include/linux/vmstat.h:508:43: error: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Werror,-Wenum-enum-conversion] 508 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS + | ~~~~~~~~~~~~~~~~~~~~~ ^ 509 | item]; | ~~~~ include/linux/vmstat.h:515:43: error: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Werror,-Wenum-enum-conversion] 515 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS + | ~~~~~~~~~~~~~~~~~~~~~ ^ 516 | NR_VM_NUMA_EVENT_ITEMS + | ~~~~~~~~~~~~~~~~~~~~~~ include/linux/vmstat.h:522:36: error: arithmetic between different enumeration types ('enum node_stat_item' and 'enum lru_list') [-Werror,-Wenum-enum-conversion] 522 | return node_stat_name(NR_LRU_BASE + lru) + 3; // skip "nr_" | ~~~~~~~~~~~ ^ ~~~ include/linux/vmstat.h:527:43: error: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Werror,-Wenum-enum-conversion] 527 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS + | ~~~~~~~~~~~~~~~~~~~~~ ^ 528 | NR_VM_NUMA_EVENT_ITEMS + | ~~~~~~~~~~~~~~~~~~~~~~ include/linux/vmstat.h:536:43: error: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Werror,-Wenum-enum-conversion] 536 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS + | ~~~~~~~~~~~~~~~~~~~~~ ^ 537 | NR_VM_NUMA_EVENT_ITEMS + | ~~~~~~~~~~~~~~~~~~~~~~ >> drivers/scsi/linkdata/ps3stor/ps3_qos.c:211:1: error: no previous prototype for function 'ps3_qos_cmd_waitq_get' [-Werror,-Wmissing-prototypes] 211 | ps3_qos_cmd_waitq_get(struct ps3_qos_tg_context *qos_tg_ctx, | ^ drivers/scsi/linkdata/ps3stor/ps3_qos.c:210:1: note: declare 'static' if the function is not intended to be used outside of this translation unit 210 | struct qos_wait_queue * | ^ | static >> drivers/scsi/linkdata/ps3stor/ps3_qos.c:335:15: error: no previous prototype for function 'ps3_qos_vd_cmdword_get' [-Werror,-Wmissing-prototypes] 335 | unsigned char ps3_qos_vd_cmdword_get(struct ps3_cmd *cmd) | ^ drivers/scsi/linkdata/ps3stor/ps3_qos.c:335:1: note: declare 'static' if the function is not intended to be used outside of this translation unit 335 | unsigned char ps3_qos_vd_cmdword_get(struct ps3_cmd *cmd) | ^ | static >> drivers/scsi/linkdata/ps3stor/ps3_qos.c:351:15: error: no previous prototype for function 'ps3_qos_exclusive_cmdword_get' [-Werror,-Wmissing-prototypes] 351 | unsigned char ps3_qos_exclusive_cmdword_get(struct ps3_cmd *cmd) | ^ drivers/scsi/linkdata/ps3stor/ps3_qos.c:351:1: note: declare 'static' if the function is not intended to be used outside of this translation unit 351 | unsigned char ps3_qos_exclusive_cmdword_get(struct ps3_cmd *cmd) | ^ | static >> drivers/scsi/linkdata/ps3stor/ps3_qos.c:363:15: error: no previous prototype for function 'ps3_qos_tg_decision' [-Werror,-Wmissing-prototypes] 363 | unsigned char ps3_qos_tg_decision(struct ps3_cmd *cmd) | ^ drivers/scsi/linkdata/ps3stor/ps3_qos.c:363:1: note: declare 'static' if the function is not intended to be used outside of this translation unit 363 | unsigned char ps3_qos_tg_decision(struct ps3_cmd *cmd) | ^ | static >> drivers/scsi/linkdata/ps3stor/ps3_qos.c:749:15: error: no previous prototype for function 'ps3_qos_all_pd_rc_get' [-Werror,-Wmissing-prototypes] 749 | unsigned char ps3_qos_all_pd_rc_get(struct ps3_cmd *cmd) | ^ drivers/scsi/linkdata/ps3stor/ps3_qos.c:749:1: note: declare 'static' if the function is not intended to be used outside of this translation unit 749 | unsigned char ps3_qos_all_pd_rc_get(struct ps3_cmd *cmd) | ^ | static >> drivers/scsi/linkdata/ps3stor/ps3_qos.c:876:6: error: no previous prototype for function 'ps3_pd_quota_waitq_clear_all' [-Werror,-Wmissing-prototypes] 876 | void ps3_pd_quota_waitq_clear_all(struct ps3_qos_pd_mgr *qos_pd_mgr, | ^ drivers/scsi/linkdata/ps3stor/ps3_qos.c:876:1: note: declare 'static' if the function is not intended to be used outside of this translation unit 876 | void ps3_pd_quota_waitq_clear_all(struct ps3_qos_pd_mgr *qos_pd_mgr, | ^ | static >> drivers/scsi/linkdata/ps3stor/ps3_qos.c:892:6: error: no previous prototype for function 'ps3_pd_quota_waitq_clean' [-Werror,-Wmissing-prototypes] 892 | void ps3_pd_quota_waitq_clean(struct ps3_qos_pd_mgr *qos_pd_mgr, | ^ drivers/scsi/linkdata/ps3stor/ps3_qos.c:892:1: note: declare 'static' if the function is not intended to be used outside of this translation unit 892 | void ps3_pd_quota_waitq_clean(struct ps3_qos_pd_mgr *qos_pd_mgr, | ^ | static >> drivers/scsi/linkdata/ps3stor/ps3_qos.c:1058:6: error: no previous prototype for function 'ps3_qos_pd_waitq_ratio_update' [-Werror,-Wmissing-prototypes] 1058 | void ps3_qos_pd_waitq_ratio_update(struct ps3_qos_pd_mgr *qos_pd_mgr) | ^ drivers/scsi/linkdata/ps3stor/ps3_qos.c:1058:1: note: declare 'static' if the function is not intended to be used outside of this translation unit 1058 | void ps3_qos_pd_waitq_ratio_update(struct ps3_qos_pd_mgr *qos_pd_mgr) | ^ | static >> drivers/scsi/linkdata/ps3stor/ps3_qos.c:2019:15: error: no previous prototype for function 'ps3_hba_qos_decision' [-Werror,-Wmissing-prototypes] 2019 | unsigned char ps3_hba_qos_decision(struct ps3_cmd *cmd) | ^ drivers/scsi/linkdata/ps3stor/ps3_qos.c:2019:1: note: declare 'static' if the function is not intended to be used outside of this translation unit 2019 | unsigned char ps3_hba_qos_decision(struct ps3_cmd *cmd) | ^ | static >> drivers/scsi/linkdata/ps3stor/ps3_qos.c:2040:6: error: no previous prototype for function 'ps3_hba_qos_waitq_notify' [-Werror,-Wmissing-prototypes] 2040 | void ps3_hba_qos_waitq_notify(struct ps3_instance *instance) | ^ drivers/scsi/linkdata/ps3stor/ps3_qos.c:2040:1: note: declare 'static' if the function is not intended to be used outside of this translation unit 2040 | void ps3_hba_qos_waitq_notify(struct ps3_instance *instance) | ^ | static >> drivers/scsi/linkdata/ps3stor/ps3_qos.c:2100:6: error: no previous prototype for function 'ps3_cmd_waitq_abort' [-Werror,-Wmissing-prototypes] 2100 | bool ps3_cmd_waitq_abort(struct ps3_cmd *aborted_cmd) | ^ drivers/scsi/linkdata/ps3stor/ps3_qos.c:2100:1: note: declare 'static' if the function is not intended to be used outside of this translation unit 2100 | bool ps3_cmd_waitq_abort(struct ps3_cmd *aborted_cmd) | ^ | static >> drivers/scsi/linkdata/ps3stor/ps3_qos.c:2463:6: error: no previous prototype for function 'ps3_hba_qos_waitq_clear_all' [-Werror,-Wmissing-prototypes] 2463 | void ps3_hba_qos_waitq_clear_all(struct ps3_instance *instance, int resp_status) | ^ drivers/scsi/linkdata/ps3stor/ps3_qos.c:2463:1: note: declare 'static' if the function is not intended to be used outside of this translation unit 2463 | void ps3_hba_qos_waitq_clear_all(struct ps3_instance *instance, int resp_status) | ^ | static >> drivers/scsi/linkdata/ps3stor/ps3_qos.c:2827:6: error: no previous prototype for function 'ps3_hba_qos_vd_init' [-Werror,-Wmissing-prototypes] 2827 | void ps3_hba_qos_vd_init(struct ps3_instance *instance, | ^ drivers/scsi/linkdata/ps3stor/ps3_qos.c:2827:1: note: declare 'static' if the function is not intended to be used outside of this translation unit 2827 | void ps3_hba_qos_vd_init(struct ps3_instance *instance, | ^ | static >> drivers/scsi/linkdata/ps3stor/ps3_qos.c:2936:6: error: no previous prototype for function 'ps3_hba_qos_vd_reset' [-Werror,-Wmissing-prototypes] 2936 | void ps3_hba_qos_vd_reset(struct ps3_instance *instance, unsigned short disk_id) | ^ drivers/scsi/linkdata/ps3stor/ps3_qos.c:2936:1: note: declare 'static' if the function is not intended to be used outside of this translation unit 2936 | void ps3_hba_qos_vd_reset(struct ps3_instance *instance, unsigned short disk_id) | ^ | static fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. -- In file included from drivers/scsi/linkdata/ps3stor/ps3_cmd_statistics.c:6: In file included from drivers/scsi/linkdata/ps3stor/ps3_cmd_statistics.h:7: In file included from include/scsi/scsi_cmnd.h:5: In file included from include/linux/dma-mapping.h:11: In file included from include/linux/scatterlist.h:8: In file included from include/linux/mm.h:2253: include/linux/vmstat.h:508:43: error: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Werror,-Wenum-enum-conversion] 508 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS + | ~~~~~~~~~~~~~~~~~~~~~ ^ 509 | item]; | ~~~~ include/linux/vmstat.h:515:43: error: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Werror,-Wenum-enum-conversion] 515 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS + | ~~~~~~~~~~~~~~~~~~~~~ ^ 516 | NR_VM_NUMA_EVENT_ITEMS + | ~~~~~~~~~~~~~~~~~~~~~~ include/linux/vmstat.h:522:36: error: arithmetic between different enumeration types ('enum node_stat_item' and 'enum lru_list') [-Werror,-Wenum-enum-conversion] 522 | return node_stat_name(NR_LRU_BASE + lru) + 3; // skip "nr_" | ~~~~~~~~~~~ ^ ~~~ include/linux/vmstat.h:527:43: error: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Werror,-Wenum-enum-conversion] 527 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS + | ~~~~~~~~~~~~~~~~~~~~~ ^ 528 | NR_VM_NUMA_EVENT_ITEMS + | ~~~~~~~~~~~~~~~~~~~~~~ include/linux/vmstat.h:536:43: error: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Werror,-Wenum-enum-conversion] 536 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS + | ~~~~~~~~~~~~~~~~~~~~~ ^ 537 | NR_VM_NUMA_EVENT_ITEMS + | ~~~~~~~~~~~~~~~~~~~~~~ >> drivers/scsi/linkdata/ps3stor/ps3_cmd_statistics.c:85:6: error: no previous prototype for function 'ps3_cmd_stat_content_clear' [-Werror,-Wmissing-prototypes] 85 | void ps3_cmd_stat_content_clear(struct ps3_instance *instance) | ^ drivers/scsi/linkdata/ps3stor/ps3_cmd_statistics.c:85:1: note: declare 'static' if the function is not intended to be used outside of this translation unit 85 | void ps3_cmd_stat_content_clear(struct ps3_instance *instance) | ^ | static >> drivers/scsi/linkdata/ps3stor/ps3_cmd_statistics.c:403:6: error: no previous prototype for function 'ps3_io_recv_ok_stat_inc' [-Werror,-Wmissing-prototypes] 403 | void ps3_io_recv_ok_stat_inc(struct ps3_instance *ins, | ^ drivers/scsi/linkdata/ps3stor/ps3_cmd_statistics.c:403:1: note: declare 'static' if the function is not intended to be used outside of this translation unit 403 | void ps3_io_recv_ok_stat_inc(struct ps3_instance *ins, | ^ | static 7 errors generated. .. vim +/ps3_pci_init +545 drivers/scsi/linkdata/ps3stor/./linux/ps3_base.c 544 > 545 int ps3_pci_init(struct pci_dev *pdev, struct ps3_instance *instance) 546 { 547 resource_size_t base_addr = 0; 548 int ret = PS3_SUCCESS; 549 550 ret = pci_enable_device_mem(pdev); 551 if (ret != PS3_SUCCESS) { 552 LOG_ERROR("hno:%u pci id[%u] pci enable failed\n", 553 PS3_HOST(instance), pdev->dev.id); 554 goto l_pci_enable_device_mem_failed; 555 } 556 557 pci_set_master(pdev); 558 559 instance->reg_bar = PS3_REGISTER_BAR_INDEX; 560 ret = (pci_resource_flags(pdev, instance->reg_bar) & IORESOURCE_MEM); 561 if (!ret) { 562 LOG_ERROR("hno:%u Bar %lu isnot IORESOURCE_MEM\n", 563 PS3_HOST(instance), instance->reg_bar); 564 goto l_bar_check_failed; 565 } 566 ret = pci_request_selected_regions(pdev, 1 << instance->reg_bar, 567 "PS3 pci regions"); 568 if (ret != PS3_SUCCESS) { 569 LOG_ERROR("hno:%u IO memory region busy\n", PS3_HOST(instance)); 570 goto l_pci_request_selected_regions_failed; 571 } 572 #if defined(PS3_SUPPORT_PCIE_REPORT) 573 pci_enable_pcie_error_reporting(pdev); 574 #endif 575 if (instance->ioc_adpter->reg_set) { 576 instance->reg_set = 577 (struct Ps3Fifo __iomem *)instance->ioc_adpter->reg_set( 578 pdev, instance->reg_bar); 579 } else { 580 instance->reg_set = (struct Ps3Fifo __iomem *)ioremap( 581 pci_resource_start(pdev, instance->reg_bar), 582 PS3_REGISTER_SET_SIZE); 583 } 584 if (instance->reg_set == NULL) { 585 LOG_ERROR("hno:%u ioremap failed\n", PS3_HOST(instance)); 586 goto l_ioremap_failed; 587 } else { 588 pci_set_drvdata(pdev, instance); 589 } 590 591 ps3_atomic_set(&instance->watchdog_reg_read_fail_count, 0); 592 LOG_INFO( 593 "reg_bar_idx = %lu, bar_base_paddr = 0x%llx, reg_set_vaddr = 0x%p\n", 594 instance->reg_bar, (unsigned long long)base_addr, instance->reg_set); 595 596 return PS3_SUCCESS; 597 l_ioremap_failed: 598 pci_release_selected_regions(instance->pdev, 1 << instance->reg_bar); 599 #if defined(PS3_SUPPORT_PCIE_REPORT) 600 pci_disable_pcie_error_reporting(pdev); 601 #endif 602 l_pci_request_selected_regions_failed: 603 pci_disable_device(instance->pdev); 604 l_bar_check_failed: 605 l_pci_enable_device_mem_failed: 606 return -PS3_FAILED; 607 } 608 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki
1 0
0 0
[openeuler:OLK-6.6 3542/3542] drivers/crypto/ccp/hygon/hct.c:1333:15: warning: no previous prototype for function 'hct_pin_memory'
by kernel test robot 21 Dec '25

21 Dec '25
tree: https://gitee.com/openeuler/kernel.git OLK-6.6 head: 04473ee9ed912a16fff0d8846ad565bbf3d63c77 commit: c74ae2c5da57becf3f41c596d79b3dd30fa1baa6 [3542/3542] hct: add mediated ccp driver support for hygon crypto technology. config: x86_64-randconfig-012-20251215 (https://download.01.org/0day-ci/archive/20251221/202512210747.245hMJvq-lkp@…) compiler: clang version 20.1.8 (https://github.com/llvm/llvm-project 87f0227cb60147a26a1eeb4fb06e3b505e9c7261) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251221/202512210747.245hMJvq-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/202512210747.245hMJvq-lkp@intel.com/ All warnings (new ones prefixed by >>): In file included from drivers/crypto/ccp/hygon/hct.c:20: In file included from include/linux/vfio.h:12: In file included from include/linux/iommu.h:10: In file included from include/linux/scatterlist.h:8: In file included from include/linux/mm.h:2242: include/linux/vmstat.h:522:36: warning: arithmetic between different enumeration types ('enum node_stat_item' and 'enum lru_list') [-Wenum-enum-conversion] 522 | return node_stat_name(NR_LRU_BASE + lru) + 3; // skip "nr_" | ~~~~~~~~~~~ ^ ~~~ >> drivers/crypto/ccp/hygon/hct.c:1333:15: warning: no previous prototype for function 'hct_pin_memory' [-Wmissing-prototypes] 1333 | struct page **hct_pin_memory(struct hct_private *private, unsigned long uaddr, | ^ drivers/crypto/ccp/hygon/hct.c:1333:1: note: declare 'static' if the function is not intended to be used outside of this translation unit 1333 | struct page **hct_pin_memory(struct hct_private *private, unsigned long uaddr, | ^ | static drivers/crypto/ccp/hygon/hct.c:1730:45: error: no member named 'numa_node' in 'struct device' 1730 | *node = hct_data.iommu[page_idx].pdev->dev.numa_node; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ 2 warnings and 1 error generated. vim +/hct_pin_memory +1333 drivers/crypto/ccp/hygon/hct.c 1332 > 1333 struct page **hct_pin_memory(struct hct_private *private, unsigned long uaddr, 1334 unsigned long ulen, unsigned long *n) 1335 { 1336 unsigned long npages, size; 1337 int npinned; 1338 struct page **pages; 1339 unsigned long first, last; 1340 1341 if (ulen == 0 || uaddr + ulen < uaddr) 1342 return NULL; 1343 1344 first = (uaddr & PAGE_MASK) >> PAGE_SHIFT; 1345 last = ((uaddr + ulen - 1) & PAGE_MASK) >> PAGE_SHIFT; 1346 npages = (last - first + 1); 1347 1348 if (WARN_ON_ONCE(npages > INT_MAX)) 1349 return NULL; 1350 1351 size = npages * sizeof(struct page *); 1352 if (size > PAGE_SIZE) 1353 pages = vmalloc(size); 1354 else 1355 pages = kmalloc(size, GFP_KERNEL); 1356 1357 if (!pages) 1358 return NULL; 1359 1360 /* Pin the user virtual address. */ 1361 npinned = pin_user_pages_fast(uaddr, npages, FOLL_WRITE, pages); 1362 if (npinned != npages) 1363 goto err; 1364 1365 *n = npages; 1366 return pages; 1367 1368 err: 1369 if (npinned > 0) 1370 unpin_user_pages(pages, npinned); 1371 kvfree(pages); 1372 return NULL; 1373 } 1374 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki
1 0
0 0
[openeuler:OLK-6.6 3547/3547] drivers/net/ethernet/huawei/hinic3/cqm/cqm_main.c:1159:6: warning: '%s' directive output may be truncated writing up to 63 bytes into a region of size 15
by kernel test robot 21 Dec '25

21 Dec '25
tree: https://gitee.com/openeuler/kernel.git OLK-6.6 head: 04473ee9ed912a16fff0d8846ad565bbf3d63c77 commit: 4213ff7957de370c1cfe528c2bad1eb2e499038a [3547/3547] net/ethernet/huawei/hinic3: Add the CQM on which the RDMA depends config: arm64-randconfig-003-20251216 (https://download.01.org/0day-ci/archive/20251221/202512210108.l9B1EKna-lkp@…) compiler: aarch64-linux-gcc (GCC) 10.5.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251221/202512210108.l9B1EKna-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/202512210108.l9B1EKna-lkp@intel.com/ All warnings (new ones prefixed by >>): drivers/net/ethernet/huawei/hinic3/cqm/cqm_main.c: In function 'cqm_mem_init': >> drivers/net/ethernet/huawei/hinic3/cqm/cqm_main.c:1159:6: warning: '%s' directive output may be truncated writing up to 63 bytes into a region of size 15 [-Wformat-truncation=] 1159 | "%s%s%02u", cqm_handle->name, VRAM_CQM_FAKE_MEM_BASE, i); | ^~ drivers/net/ethernet/huawei/hinic3/cqm/cqm_main.c:1159:5: note: directive argument in the range [0, 4294967293] 1159 | "%s%s%02u", cqm_handle->name, VRAM_CQM_FAKE_MEM_BASE, i); | ^~~~~~~~~~ drivers/net/ethernet/huawei/hinic3/cqm/cqm_main.c:1158:3: note: 'snprintf' output between 5 and 76 bytes into a destination of size 15 1158 | snprintf(fake_cqm_handle->name, VRAM_NAME_MAX_LEN - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1159 | "%s%s%02u", cqm_handle->name, VRAM_CQM_FAKE_MEM_BASE, i); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -- drivers/net/ethernet/huawei/hinic3/cqm/cqm_bat_cla.c: In function 'cqm_cla_xyz': >> drivers/net/ethernet/huawei/hinic3/cqm/cqm_bat_cla.c:893:28: warning: '%s' directive output may be truncated writing up to 63 bytes into a region of size 15 [-Wformat-truncation=] 893 | VRAM_NAME_MAX_LEN - 1, "%s%s", cla_table->name, VRAM_CQM_CLA_COORD_X); | ^~ drivers/net/ethernet/huawei/hinic3/cqm/cqm_bat_cla.c:892:2: note: 'snprintf' output between 2 and 65 bytes into a destination of size 15 892 | snprintf(cla_x_buf->buf_info.buf_vram_name, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 893 | VRAM_NAME_MAX_LEN - 1, "%s%s", cla_table->name, VRAM_CQM_CLA_COORD_X); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/net/ethernet/huawei/hinic3/cqm/cqm_bat_cla.c:896:28: warning: '%s' directive output may be truncated writing up to 63 bytes into a region of size 15 [-Wformat-truncation=] 896 | VRAM_NAME_MAX_LEN - 1, "%s%s", cla_table->name, VRAM_CQM_CLA_COORD_Y); | ^~ drivers/net/ethernet/huawei/hinic3/cqm/cqm_bat_cla.c:895:2: note: 'snprintf' output between 2 and 65 bytes into a destination of size 15 895 | snprintf(cla_y_buf->buf_info.buf_vram_name, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 896 | VRAM_NAME_MAX_LEN - 1, "%s%s", cla_table->name, VRAM_CQM_CLA_COORD_Y); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/net/ethernet/huawei/hinic3/cqm/cqm_bat_cla.c:899:28: warning: '%s' directive output may be truncated writing up to 63 bytes into a region of size 15 [-Wformat-truncation=] 899 | VRAM_NAME_MAX_LEN - 1, "%s%s", cla_table->name, VRAM_CQM_CLA_COORD_Z); | ^~ drivers/net/ethernet/huawei/hinic3/cqm/cqm_bat_cla.c:898:2: note: 'snprintf' output between 2 and 65 bytes into a destination of size 15 898 | snprintf(cla_z_buf->buf_info.buf_vram_name, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 899 | VRAM_NAME_MAX_LEN - 1, "%s%s", cla_table->name, VRAM_CQM_CLA_COORD_Z); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/net/ethernet/huawei/hinic3/cqm/cqm_bat_cla.c: In function 'cqm_cla_init_entry': drivers/net/ethernet/huawei/hinic3/cqm/cqm_bat_cla.c:1297:6: warning: '%s' directive output may be truncated writing up to 63 bytes into a region of size 15 [-Wformat-truncation=] 1297 | "%s%s%s%02u", cqm_handle->name, VRAM_CQM_CLA_BASE, | ^~ drivers/net/ethernet/huawei/hinic3/cqm/cqm_bat_cla.c:1296:3: note: 'snprintf' output between 5 and 76 bytes into a destination of size 15 1296 | snprintf(cla_table->name, VRAM_NAME_MAX_LEN - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1297 | "%s%s%s%02u", cqm_handle->name, VRAM_CQM_CLA_BASE, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1298 | VRAM_CQM_CLA_TYPE_BASE, cla_table->type); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -- drivers/net/ethernet/huawei/hinic3/cqm/cqm_bitmap_table.c:51: warning: Function parameter or member 'addr' not described in 'cqm_swab64' drivers/net/ethernet/huawei/hinic3/cqm/cqm_bitmap_table.c:51: warning: Function parameter or member 'cnt' not described in 'cqm_swab64' >> drivers/net/ethernet/huawei/hinic3/cqm/cqm_bitmap_table.c:51: warning: expecting prototype for Prototype(). Prototype was for cqm_swab64() instead drivers/net/ethernet/huawei/hinic3/cqm/cqm_bitmap_table.c:74: warning: Function parameter or member 'addr' not described in 'cqm_swab32' drivers/net/ethernet/huawei/hinic3/cqm/cqm_bitmap_table.c:74: warning: Function parameter or member 'cnt' not described in 'cqm_swab32' >> drivers/net/ethernet/huawei/hinic3/cqm/cqm_bitmap_table.c:74: warning: expecting prototype for Prototype(). Prototype was for cqm_swab32() instead drivers/net/ethernet/huawei/hinic3/cqm/cqm_bitmap_table.c:96: warning: Function parameter or member 'data' not described in 'cqm_shift' >> drivers/net/ethernet/huawei/hinic3/cqm/cqm_bitmap_table.c:96: warning: expecting prototype for Prototype(). Prototype was for cqm_shift() instead drivers/net/ethernet/huawei/hinic3/cqm/cqm_bitmap_table.c:119: warning: Function parameter or member 'data' not described in 'cqm_check_align' >> drivers/net/ethernet/huawei/hinic3/cqm/cqm_bitmap_table.c:119: warning: expecting prototype for Prototype(). Prototype was for cqm_check_align() instead drivers/net/ethernet/huawei/hinic3/cqm/cqm_bitmap_table.c:155: warning: Function parameter or member 'size' not described in 'cqm_kmalloc_align' drivers/net/ethernet/huawei/hinic3/cqm/cqm_bitmap_table.c:155: warning: Function parameter or member 'flags' not described in 'cqm_kmalloc_align' drivers/net/ethernet/huawei/hinic3/cqm/cqm_bitmap_table.c:155: warning: Function parameter or member 'align_order' not described in 'cqm_kmalloc_align' >> drivers/net/ethernet/huawei/hinic3/cqm/cqm_bitmap_table.c:155: warning: expecting prototype for Prototype(). Prototype was for cqm_kmalloc_align() instead drivers/net/ethernet/huawei/hinic3/cqm/cqm_bitmap_table.c:187: warning: Function parameter or member 'addr' not described in 'cqm_kfree_align' >> drivers/net/ethernet/huawei/hinic3/cqm/cqm_bitmap_table.c:187: warning: expecting prototype for Prototype(). Prototype was for cqm_kfree_align() instead drivers/net/ethernet/huawei/hinic3/cqm/cqm_bitmap_table.c:474: warning: Function parameter or member 'cqm_handle' not described in 'cqm_buf_alloc' drivers/net/ethernet/huawei/hinic3/cqm/cqm_bitmap_table.c:474: warning: Function parameter or member 'buf' not described in 'cqm_buf_alloc' drivers/net/ethernet/huawei/hinic3/cqm/cqm_bitmap_table.c:474: warning: Function parameter or member 'direct' not described in 'cqm_buf_alloc' >> drivers/net/ethernet/huawei/hinic3/cqm/cqm_bitmap_table.c:474: warning: expecting prototype for Prototype(). Prototype was for cqm_buf_alloc() instead drivers/net/ethernet/huawei/hinic3/cqm/cqm_bitmap_table.c:545: warning: Function parameter or member 'buf' not described in 'cqm_buf_free' drivers/net/ethernet/huawei/hinic3/cqm/cqm_bitmap_table.c:545: warning: Function parameter or member 'cqm_handle' not described in 'cqm_buf_free' >> drivers/net/ethernet/huawei/hinic3/cqm/cqm_bitmap_table.c:545: warning: expecting prototype for Prototype(). Prototype was for cqm_buf_free() instead drivers/net/ethernet/huawei/hinic3/cqm/cqm_bitmap_table.c:771: warning: Function parameter or member 'bitmap' not described in 'cqm_single_bitmap_init' >> drivers/net/ethernet/huawei/hinic3/cqm/cqm_bitmap_table.c:771: warning: expecting prototype for Prototype(). Prototype was for cqm_single_bitmap_init() instead drivers/net/ethernet/huawei/hinic3/cqm/cqm_bitmap_table.c:841: warning: Function parameter or member 'cqm_handle' not described in 'cqm_bitmap_init' >> drivers/net/ethernet/huawei/hinic3/cqm/cqm_bitmap_table.c:841: warning: expecting prototype for Prototype(). Prototype was for cqm_bitmap_init() instead drivers/net/ethernet/huawei/hinic3/cqm/cqm_bitmap_table.c:937: warning: Function parameter or member 'cqm_handle' not described in 'cqm_bitmap_uninit' >> drivers/net/ethernet/huawei/hinic3/cqm/cqm_bitmap_table.c:937: warning: expecting prototype for Prototype(). Prototype was for cqm_bitmap_uninit() instead drivers/net/ethernet/huawei/hinic3/cqm/cqm_bitmap_table.c:975: warning: Function parameter or member 'table' not described in 'cqm_bitmap_check_range' drivers/net/ethernet/huawei/hinic3/cqm/cqm_bitmap_table.c:975: warning: Function parameter or member 'step' not described in 'cqm_bitmap_check_range' drivers/net/ethernet/huawei/hinic3/cqm/cqm_bitmap_table.c:975: warning: Function parameter or member 'max_num' not described in 'cqm_bitmap_check_range' drivers/net/ethernet/huawei/hinic3/cqm/cqm_bitmap_table.c:975: warning: Function parameter or member 'begin' not described in 'cqm_bitmap_check_range' drivers/net/ethernet/huawei/hinic3/cqm/cqm_bitmap_table.c:975: warning: Function parameter or member 'count' not described in 'cqm_bitmap_check_range' >> drivers/net/ethernet/huawei/hinic3/cqm/cqm_bitmap_table.c:975: warning: expecting prototype for Prototype(). Prototype was for cqm_bitmap_check_range() instead drivers/net/ethernet/huawei/hinic3/cqm/cqm_bitmap_table.c:1055: warning: Function parameter or member 'bitmap' not described in 'cqm_bitmap_alloc' drivers/net/ethernet/huawei/hinic3/cqm/cqm_bitmap_table.c:1055: warning: Function parameter or member 'step' not described in 'cqm_bitmap_alloc' drivers/net/ethernet/huawei/hinic3/cqm/cqm_bitmap_table.c:1055: warning: Function parameter or member 'count' not described in 'cqm_bitmap_alloc' drivers/net/ethernet/huawei/hinic3/cqm/cqm_bitmap_table.c:1055: warning: Function parameter or member 'update_last' not described in 'cqm_bitmap_alloc' >> drivers/net/ethernet/huawei/hinic3/cqm/cqm_bitmap_table.c:1055: warning: expecting prototype for Prototype(). Prototype was for cqm_bitmap_alloc() instead drivers/net/ethernet/huawei/hinic3/cqm/cqm_bitmap_table.c:1108: warning: Function parameter or member 'bitmap' not described in 'cqm_bitmap_alloc_low2bit_align' drivers/net/ethernet/huawei/hinic3/cqm/cqm_bitmap_table.c:1108: warning: Function parameter or member 'low2bit' not described in 'cqm_bitmap_alloc_low2bit_align' drivers/net/ethernet/huawei/hinic3/cqm/cqm_bitmap_table.c:1108: warning: Function parameter or member 'update_last' not described in 'cqm_bitmap_alloc_low2bit_align' >> drivers/net/ethernet/huawei/hinic3/cqm/cqm_bitmap_table.c:1108: warning: expecting prototype for Prototype(). Prototype was for cqm_bitmap_alloc_low2bit_align() instead drivers/net/ethernet/huawei/hinic3/cqm/cqm_bitmap_table.c:1154: warning: Function parameter or member 'bitmap' not described in 'cqm_bitmap_alloc_reserved' drivers/net/ethernet/huawei/hinic3/cqm/cqm_bitmap_table.c:1154: warning: Function parameter or member 'count' not described in 'cqm_bitmap_alloc_reserved' drivers/net/ethernet/huawei/hinic3/cqm/cqm_bitmap_table.c:1154: warning: Function parameter or member 'index' not described in 'cqm_bitmap_alloc_reserved' >> drivers/net/ethernet/huawei/hinic3/cqm/cqm_bitmap_table.c:1154: warning: expecting prototype for Prototype(). Prototype was for cqm_bitmap_alloc_reserved() instead drivers/net/ethernet/huawei/hinic3/cqm/cqm_bitmap_table.c:1189: warning: Function parameter or member 'bitmap' not described in 'cqm_bitmap_free' drivers/net/ethernet/huawei/hinic3/cqm/cqm_bitmap_table.c:1189: warning: Function parameter or member 'index' not described in 'cqm_bitmap_free' drivers/net/ethernet/huawei/hinic3/cqm/cqm_bitmap_table.c:1189: warning: Function parameter or member 'count' not described in 'cqm_bitmap_free' >> drivers/net/ethernet/huawei/hinic3/cqm/cqm_bitmap_table.c:1189: warning: expecting prototype for Prototype(). Prototype was for cqm_bitmap_free() instead drivers/net/ethernet/huawei/hinic3/cqm/cqm_bitmap_table.c:1212: warning: Function parameter or member 'obj_table' not described in 'cqm_single_object_table_init' >> drivers/net/ethernet/huawei/hinic3/cqm/cqm_bitmap_table.c:1212: warning: expecting prototype for Prototype(). Prototype was for cqm_single_object_table_init() instead drivers/net/ethernet/huawei/hinic3/cqm/cqm_bitmap_table.c:1232: warning: Function parameter or member 'cqm_handle' not described in 'cqm_object_table_init' >> drivers/net/ethernet/huawei/hinic3/cqm/cqm_bitmap_table.c:1232: warning: expecting prototype for Prototype(). Prototype was for cqm_object_table_init() instead drivers/net/ethernet/huawei/hinic3/cqm/cqm_bitmap_table.c:1299: warning: Function parameter or member 'cqm_handle' not described in 'cqm_object_table_uninit' >> drivers/net/ethernet/huawei/hinic3/cqm/cqm_bitmap_table.c:1299: warning: expecting prototype for Prototype(). Prototype was for cqm_object_table_uninit() instead drivers/net/ethernet/huawei/hinic3/cqm/cqm_bitmap_table.c:1334: warning: Function parameter or member 'cqm_handle' not described in 'cqm_object_table_insert' drivers/net/ethernet/huawei/hinic3/cqm/cqm_bitmap_table.c:1334: warning: Function parameter or member 'object_table' not described in 'cqm_object_table_insert' drivers/net/ethernet/huawei/hinic3/cqm/cqm_bitmap_table.c:1334: warning: Function parameter or member 'index' not described in 'cqm_object_table_insert' drivers/net/ethernet/huawei/hinic3/cqm/cqm_bitmap_table.c:1334: warning: Function parameter or member 'obj' not described in 'cqm_object_table_insert' drivers/net/ethernet/huawei/hinic3/cqm/cqm_bitmap_table.c:1334: warning: Function parameter or member 'bh' not described in 'cqm_object_table_insert' >> drivers/net/ethernet/huawei/hinic3/cqm/cqm_bitmap_table.c:1334: warning: expecting prototype for Prototype(). Prototype was for cqm_object_table_insert() instead drivers/net/ethernet/huawei/hinic3/cqm/cqm_bitmap_table.c:1376: warning: Function parameter or member 'cqm_handle' not described in 'cqm_object_table_remove' drivers/net/ethernet/huawei/hinic3/cqm/cqm_bitmap_table.c:1376: warning: Function parameter or member 'object_table' not described in 'cqm_object_table_remove' drivers/net/ethernet/huawei/hinic3/cqm/cqm_bitmap_table.c:1376: warning: Function parameter or member 'index' not described in 'cqm_object_table_remove' drivers/net/ethernet/huawei/hinic3/cqm/cqm_bitmap_table.c:1376: warning: Function parameter or member 'obj' not described in 'cqm_object_table_remove' drivers/net/ethernet/huawei/hinic3/cqm/cqm_bitmap_table.c:1376: warning: Function parameter or member 'bh' not described in 'cqm_object_table_remove' drivers/net/ethernet/huawei/hinic3/cqm/cqm_bitmap_table.c:1376: warning: expecting prototype for Prototype(). Prototype was for cqm_object_table_remove() instead drivers/net/ethernet/huawei/hinic3/cqm/cqm_bitmap_table.c:1413: warning: Function parameter or member 'cqm_handle' not described in 'cqm_object_table_get' drivers/net/ethernet/huawei/hinic3/cqm/cqm_bitmap_table.c:1413: warning: Function parameter or member 'object_table' not described in 'cqm_object_table_get' drivers/net/ethernet/huawei/hinic3/cqm/cqm_bitmap_table.c:1413: warning: Function parameter or member 'index' not described in 'cqm_object_table_get' drivers/net/ethernet/huawei/hinic3/cqm/cqm_bitmap_table.c:1413: warning: Function parameter or member 'bh' not described in 'cqm_object_table_get' drivers/net/ethernet/huawei/hinic3/cqm/cqm_bitmap_table.c:1413: warning: expecting prototype for Prototype(). Prototype was for cqm_object_table_get() instead vim +1159 drivers/net/ethernet/huawei/hinic3/cqm/cqm_main.c 1129 1130 /** 1131 * Prototype : cqm_fake_mem_init 1132 * Description : Initialize resources of the extended fake function. 1133 * Input : struct tag_cqm_handle *cqm_handle: Parent CQM handle of the current PF 1134 * Output : None 1135 * Return Value : s32 1136 * 1.Date : 2020/4/15 1137 * Modification : Created function 1138 */ 1139 static s32 cqm_fake_mem_init(struct tag_cqm_handle *cqm_handle) 1140 { 1141 struct hinic3_hwdev *handle = cqm_handle->ex_handle; 1142 struct tag_cqm_handle *fake_cqm_handle = NULL; 1143 s32 child_func_number; 1144 u32 i; 1145 1146 if (cqm_handle->func_capability.fake_func_type != 1147 CQM_FAKE_FUNC_PARENT) 1148 return CQM_SUCCESS; 1149 1150 child_func_number = cqm_get_child_func_number(cqm_handle); 1151 if (child_func_number == CQM_FAIL) { 1152 cqm_err(handle->dev_hdl, CQM_WRONG_VALUE(child_func_number)); 1153 return CQM_FAIL; 1154 } 1155 1156 for (i = 0; i < (u32)child_func_number; i++) { 1157 fake_cqm_handle = cqm_handle->fake_cqm_handle[i]; 1158 snprintf(fake_cqm_handle->name, VRAM_NAME_MAX_LEN - 1, > 1159 "%s%s%02u", cqm_handle->name, VRAM_CQM_FAKE_MEM_BASE, i); 1160 1161 if (cqm_bat_init(fake_cqm_handle) != CQM_SUCCESS) { 1162 cqm_err(handle->dev_hdl, 1163 CQM_FUNCTION_FAIL(cqm_bat_init)); 1164 goto err; 1165 } 1166 1167 if (cqm_cla_init(fake_cqm_handle) != CQM_SUCCESS) { 1168 cqm_err(handle->dev_hdl, 1169 CQM_FUNCTION_FAIL(cqm_cla_init)); 1170 goto err; 1171 } 1172 1173 if (cqm_bitmap_init(fake_cqm_handle) != CQM_SUCCESS) { 1174 cqm_err(handle->dev_hdl, 1175 CQM_FUNCTION_FAIL(cqm_bitmap_init)); 1176 goto err; 1177 } 1178 1179 if (cqm_object_table_init(fake_cqm_handle) != CQM_SUCCESS) { 1180 cqm_err(handle->dev_hdl, 1181 CQM_FUNCTION_FAIL(cqm_object_table_init)); 1182 goto err; 1183 } 1184 } 1185 1186 return CQM_SUCCESS; 1187 1188 err: 1189 cqm_fake_mem_uninit(cqm_handle); 1190 return CQM_FAIL; 1191 } 1192 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki
1 0
0 0
[openeuler:OLK-6.6 3544/3544] drivers/irqchip/irq-gic-v3.c:1526:6: warning: no previous prototype for 'gic_dist_enable_ipiv'
by kernel test robot 21 Dec '25

21 Dec '25
Hi Xiang, FYI, the error/warning still remains. tree: https://gitee.com/openeuler/kernel.git OLK-6.6 head: 04473ee9ed912a16fff0d8846ad565bbf3d63c77 commit: 5634a3dfafb71ede4922b523f77389ef2c006b61 [3544/3544] kvm: hisi_virt: Probe and configure IPIV capacity on HIP12 config: arm64-defconfig (https://download.01.org/0day-ci/archive/20251221/202512210133.hQCBSnrQ-lkp@…) compiler: aarch64-linux-gcc (GCC) 15.1.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251221/202512210133.hQCBSnrQ-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/202512210133.hQCBSnrQ-lkp@intel.com/ All warnings (new ones prefixed by >>): drivers/irqchip/irq-gic-v3.c:1517:6: warning: no previous prototype for 'is_gicv4p1' [-Wmissing-prototypes] 1517 | bool is_gicv4p1(void) | ^~~~~~~~~~ >> drivers/irqchip/irq-gic-v3.c:1526:6: warning: no previous prototype for 'gic_dist_enable_ipiv' [-Wmissing-prototypes] 1526 | void gic_dist_enable_ipiv(void) | ^~~~~~~~~~~~~~~~~~~~ vim +/gic_dist_enable_ipiv +1526 drivers/irqchip/irq-gic-v3.c 1525 > 1526 void gic_dist_enable_ipiv(void) 1527 { 1528 u32 val; 1529 1530 val = readl_relaxed(gic_data.dist_base + GICD_MISC_CTRL); 1531 val |= GICD_MISC_CTRL_CFG_IPIV_EN; 1532 writel_relaxed(val, gic_data.dist_base + GICD_MISC_CTRL); 1533 static_branch_enable(&ipiv_enable); 1534 1535 val = (0 << GICD_IPIV_CTRL_AFF_DIRECT_VPEID_SHIFT) | 1536 (0 << GICD_IPIV_CTRL_AFF1_LEFT_SHIFT_SHIFT) | 1537 (4 << GICD_IPIV_CTRL_AFF2_LEFT_SHIFT_SHIFT) | 1538 (7 << GICD_IPIV_CTRL_VM_TABLE_INNERCACHE_SHIFT) | 1539 (2 << GICD_IPIV_CTRL_VM_TABLE_SHAREABILITY_SHIFT); 1540 writel_relaxed(val, gic_data.dist_base + GICD_IPIV_CTRL); 1541 1542 /* Set target ITS address of IPIV feature */ 1543 writel_relaxed(0x4880, gic_data.dist_base + GICD_IPIV_ITS_TA_BASE); 1544 } 1545 EXPORT_SYMBOL(gic_dist_enable_ipiv); 1546 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki
1 0
0 0
[openeuler:OLK-6.6 1/1] kismet: WARNING: unmet direct dependencies detected for PGP_KEY_PARSER when selected by PGP_PRELOAD
by kernel test robot 21 Dec '25

21 Dec '25
tree: https://gitee.com/openeuler/kernel.git OLK-6.6 head: 04473ee9ed912a16fff0d8846ad565bbf3d63c77 commit: 43d4042e06d2bf96adf67d25e8d91653507a4cf9 [1/1] KEYS: Provide a function to load keys from a PGP keyring blob config: x86_64-kismet-CONFIG_PGP_KEY_PARSER-CONFIG_PGP_PRELOAD-0-0 (https://download.01.org/0day-ci/archive/20251220/202512201850.48kGCnic-lkp@…) reproduce: (https://download.01.org/0day-ci/archive/20251220/202512201850.48kGCnic-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/202512201850.48kGCnic-lkp@intel.com/ kismet warnings: (new ones prefixed by >>) >> kismet: WARNING: unmet direct dependencies detected for PGP_KEY_PARSER when selected by PGP_PRELOAD WARNING: unmet direct dependencies detected for PGP_KEY_PARSER Depends on [n]: CRYPTO [=y] && ASYMMETRIC_KEY_TYPE [=y] && ASYMMETRIC_PUBLIC_KEY_SUBTYPE [=n] Selected by [y]: - PGP_PRELOAD [=y] && CRYPTO [=y] && ASYMMETRIC_KEY_TYPE [=y] -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki
1 0
0 0
[openeuler:OLK-6.6 1/1] kismet: WARNING: unmet direct dependencies detected for ARM_SPE_MEM_SAMPLING when selected by MEM_SAMPLING
by kernel test robot 21 Dec '25

21 Dec '25
tree: https://gitee.com/openeuler/kernel.git OLK-6.6 head: 04473ee9ed912a16fff0d8846ad565bbf3d63c77 commit: cc5f4f44852f9eb4feb22a40cbb4e3d1b10c36a0 [1/1] mm_monitor/mm_spe: Add PMU based memory sampling abstract layer config: arm64-kismet-CONFIG_ARM_SPE_MEM_SAMPLING-CONFIG_MEM_SAMPLING-0-0 (https://download.01.org/0day-ci/archive/20251220/202512201803.CVVuzZto-lkp@…) reproduce: (https://download.01.org/0day-ci/archive/20251220/202512201803.CVVuzZto-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/202512201803.CVVuzZto-lkp@intel.com/ kismet warnings: (new ones prefixed by >>) >> kismet: WARNING: unmet direct dependencies detected for ARM_SPE_MEM_SAMPLING when selected by MEM_SAMPLING WARNING: unmet direct dependencies detected for CRYPTO_DRBG_CTR Depends on [n]: CRYPTO [=y] && CRYPTO_DRBG_MENU [=n] Selected by [y]: - CRYPTO_DEV_HISI_TRNG [=y] && CRYPTO [=y] && CRYPTO_HW [=y] && ARM64 [=y] && ACPI [=y] WARNING: unmet direct dependencies detected for ARM_SPE_MEM_SAMPLING Depends on [n]: ARM_SPE_PMU [=n] Selected by [y]: - MEM_SAMPLING [=y] && ARM64 [=y] -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki
1 0
0 0
[openeuler:OLK-6.6 3542/3542] drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_adminq.c:550:55: warning: '%08x' directive output may be truncated writing 8 bytes into a region of size between 2 and 11
by kernel test robot 21 Dec '25

21 Dec '25
tree: https://gitee.com/openeuler/kernel.git OLK-6.6 head: 04473ee9ed912a16fff0d8846ad565bbf3d63c77 commit: 8d65cdad5ea8e309af47a9a70c538bbbc1223e9a [3542/3542] Net: nebula_matrix: fix ci build warning config: x86_64-randconfig-161-20251215 (https://download.01.org/0day-ci/archive/20251221/202512210031.v4yKIJFE-lkp@…) compiler: gcc-14 (Debian 14.2.0-19) 14.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251221/202512210031.v4yKIJFE-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/202512210031.v4yKIJFE-lkp@intel.com/ All warnings (new ones prefixed by >>): drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_adminq.c: In function 'nbl_res_adminq_get_firmware_version': >> drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_adminq.c:550:55: warning: '%08x' directive output may be truncated writing 8 bytes into a region of size between 2 and 11 [-Wformat-truncation=] 550 | "%d.%d.%d build %04d%02d%02d %08x", | ^~~~ drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_adminq.c:549:17: note: 'snprintf' output between 30 and 39 bytes into a destination of size 32 549 | snprintf(firmware_verion, ETHTOOL_FWVERS_LEN, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 550 | "%d.%d.%d build %04d%02d%02d %08x", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 551 | BCD2BYTE((resp_param.version >> 16) & 0xFF), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 552 | BCD2BYTE((resp_param.version >> 8) & 0xFF), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 553 | BCD2BYTE(resp_param.version & 0xFF), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 554 | BCD2SHORT((resp_param.build_date >> 16) & 0xFFFF), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 555 | BCD2BYTE((resp_param.build_date >> 8) & 0xFF), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 556 | BCD2BYTE(resp_param.build_date & 0xFF), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 557 | resp_param.build_hash); | ~~~~~~~~~~~~~~~~~~~~~~ vim +550 drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_adminq.c bad535d287c9c1 Bennie Yan 2024-09-24 527 bad535d287c9c1 Bennie Yan 2024-09-24 528 /* get_emp_version is deprecated, repalced by get_firmware_version, 0x8102 */ bad535d287c9c1 Bennie Yan 2024-09-24 529 static int nbl_res_adminq_get_firmware_version(void *priv, char *firmware_verion) bad535d287c9c1 Bennie Yan 2024-09-24 530 { bad535d287c9c1 Bennie Yan 2024-09-24 531 struct nbl_resource_mgt *res_mgt = (struct nbl_resource_mgt *)priv; bad535d287c9c1 Bennie Yan 2024-09-24 532 struct nbl_channel_ops *chan_ops = NBL_RES_MGT_TO_CHAN_OPS(res_mgt); bad535d287c9c1 Bennie Yan 2024-09-24 533 struct device *dev = NBL_COMMON_TO_DEV(res_mgt->common); bad535d287c9c1 Bennie Yan 2024-09-24 534 struct nbl_chan_send_info chan_send; bad535d287c9c1 Bennie Yan 2024-09-24 535 struct nbl_chan_param_nvm_version_resp resp_param; bad535d287c9c1 Bennie Yan 2024-09-24 536 int ret = 0; bad535d287c9c1 Bennie Yan 2024-09-24 537 u32 version_type = NBL_FW_VERSION_RUNNING_BANK; bad535d287c9c1 Bennie Yan 2024-09-24 538 bad535d287c9c1 Bennie Yan 2024-09-24 539 NBL_CHAN_SEND(chan_send, NBL_CHAN_ADMINQ_FUNCTION_ID, NBL_CHAN_MSG_ADMINQ_GET_NVM_VERSION, bad535d287c9c1 Bennie Yan 2024-09-24 540 &version_type, sizeof(version_type), &resp_param, sizeof(resp_param), 1); bad535d287c9c1 Bennie Yan 2024-09-24 541 ret = chan_ops->send_msg(NBL_RES_MGT_TO_CHAN_PRIV(res_mgt), &chan_send); bad535d287c9c1 Bennie Yan 2024-09-24 542 if (ret) { bad535d287c9c1 Bennie Yan 2024-09-24 543 dev_err(dev, "adminq send msg failed with ret: %d, msg_type: 0x%x\n", bad535d287c9c1 Bennie Yan 2024-09-24 544 ret, NBL_CHAN_MSG_ADMINQ_GET_NVM_VERSION); bad535d287c9c1 Bennie Yan 2024-09-24 545 return ret; bad535d287c9c1 Bennie Yan 2024-09-24 546 } bad535d287c9c1 Bennie Yan 2024-09-24 547 bad535d287c9c1 Bennie Yan 2024-09-24 548 if (!memcmp(resp_param.magic, FIRMWARE_MAGIC, sizeof(resp_param.magic))) { bad535d287c9c1 Bennie Yan 2024-09-24 549 snprintf(firmware_verion, ETHTOOL_FWVERS_LEN, bad535d287c9c1 Bennie Yan 2024-09-24 @550 "%d.%d.%d build %04d%02d%02d %08x", bad535d287c9c1 Bennie Yan 2024-09-24 551 BCD2BYTE((resp_param.version >> 16) & 0xFF), bad535d287c9c1 Bennie Yan 2024-09-24 552 BCD2BYTE((resp_param.version >> 8) & 0xFF), bad535d287c9c1 Bennie Yan 2024-09-24 553 BCD2BYTE(resp_param.version & 0xFF), bad535d287c9c1 Bennie Yan 2024-09-24 554 BCD2SHORT((resp_param.build_date >> 16) & 0xFFFF), bad535d287c9c1 Bennie Yan 2024-09-24 555 BCD2BYTE((resp_param.build_date >> 8) & 0xFF), bad535d287c9c1 Bennie Yan 2024-09-24 556 BCD2BYTE(resp_param.build_date & 0xFF), bad535d287c9c1 Bennie Yan 2024-09-24 557 resp_param.build_hash); bad535d287c9c1 Bennie Yan 2024-09-24 558 } else { bad535d287c9c1 Bennie Yan 2024-09-24 559 dev_err(dev, "adminq msg firmware verion magic check failed\n"); bad535d287c9c1 Bennie Yan 2024-09-24 560 return -EINVAL; bad535d287c9c1 Bennie Yan 2024-09-24 561 } bad535d287c9c1 Bennie Yan 2024-09-24 562 bad535d287c9c1 Bennie Yan 2024-09-24 563 return 0; bad535d287c9c1 Bennie Yan 2024-09-24 564 } bad535d287c9c1 Bennie Yan 2024-09-24 565 :::::: The code at line 550 was first introduced by commit :::::: bad535d287c9c1056d99de3666be7da84de4a8fc Net:nbl_core: Add nbl_core-driver for nebula-matrix S1055AS series smart NIC. :::::: TO: Bennie Yan <bennie.yan(a)nebula-matrix.com> :::::: CC: Bennie Yan <bennie.yan(a)nebula-matrix.com> -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki
1 0
0 0
[openeuler:OLK-6.6 3547/3547] drivers/net/ethernet/huawei/hinic3/hinic3_ethtool.c:823:5: warning: no previous prototype for 'hinic3_set_rxq_recovery_flag'
by kernel test robot 21 Dec '25

21 Dec '25
Hi Zhou, FYI, the error/warning still remains. tree: https://gitee.com/openeuler/kernel.git OLK-6.6 head: 04473ee9ed912a16fff0d8846ad565bbf3d63c77 commit: dcb286ce50a35a77e51b61db72c7cc001647b598 [3547/3547] net/hinic3: add huawei/hinic3 driver config: arm64-randconfig-003-20251216 (https://download.01.org/0day-ci/archive/20251221/202512210010.kLb4fmr8-lkp@…) compiler: aarch64-linux-gcc (GCC) 10.5.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251221/202512210010.kLb4fmr8-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/202512210010.kLb4fmr8-lkp@intel.com/ All warnings (new ones prefixed by >>): >> drivers/net/ethernet/huawei/hinic3/hinic3_ethtool.c:823:5: warning: no previous prototype for 'hinic3_set_rxq_recovery_flag' [-Wmissing-prototypes] 823 | int hinic3_set_rxq_recovery_flag(struct net_device *netdev, u32 priv_flags) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ vim +/hinic3_set_rxq_recovery_flag +823 drivers/net/ethernet/huawei/hinic3/hinic3_ethtool.c 822 > 823 int hinic3_set_rxq_recovery_flag(struct net_device *netdev, u32 priv_flags) 824 { 825 struct hinic3_nic_dev *nic_dev = netdev_priv(netdev); 826 827 if (priv_flags & HINIC3_PRIV_FLAGS_RXQ_RECOVERY) { 828 if (!HINIC3_SUPPORT_RXQ_RECOVERY(nic_dev->hwdev)) { 829 nicif_info(nic_dev, drv, netdev, "Unsupport open rxq recovery\n"); 830 return -EOPNOTSUPP; 831 } 832 833 if (test_and_set_bit(HINIC3_RXQ_RECOVERY, &nic_dev->flags)) 834 return 0; 835 queue_delayed_work(nic_dev->workq, &nic_dev->rxq_check_work, HZ); 836 nicif_info(nic_dev, drv, netdev, "open rxq recovery\n"); 837 } else { 838 if (!test_and_clear_bit(HINIC3_RXQ_RECOVERY, &nic_dev->flags)) 839 return 0; 840 cancel_delayed_work_sync(&nic_dev->rxq_check_work); 841 nicif_info(nic_dev, drv, netdev, "close rxq recovery\n"); 842 } 843 844 return 0; 845 } 846 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki
1 0
0 0
[openeuler:OLK-6.6 3542/3542] drivers/dax/super.c:45: warning: Function parameter or member 'KABI_RESERVE(1' not described in 'dax_device'
by kernel test robot 21 Dec '25

21 Dec '25
Hi Long, FYI, the error/warning still remains. tree: https://gitee.com/openeuler/kernel.git OLK-6.6 head: 04473ee9ed912a16fff0d8846ad565bbf3d63c77 commit: 63101913bbd057cea31fb598eeb4a4c91584f0f0 [3542/3542] dax: kabi: Reserve KABI slots for dax_* struct config: x86_64-randconfig-014-20251215 (https://download.01.org/0day-ci/archive/20251221/202512210038.6F02IwRo-lkp@…) compiler: clang version 20.1.8 (https://github.com/llvm/llvm-project 87f0227cb60147a26a1eeb4fb06e3b505e9c7261) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251221/202512210038.6F02IwRo-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/202512210038.6F02IwRo-lkp@intel.com/ All warnings (new ones prefixed by >>): >> drivers/dax/super.c:45: warning: Function parameter or member 'KABI_RESERVE(1' not described in 'dax_device' vim +45 drivers/dax/super.c 7b6be8444e0f0d Dan Williams 2017-04-11 17 1b7646014e0d83 Christoph Hellwig 2021-08-26 18 /** 1b7646014e0d83 Christoph Hellwig 2021-08-26 19 * struct dax_device - anchor object for dax services 1b7646014e0d83 Christoph Hellwig 2021-08-26 20 * @inode: core vfs 1b7646014e0d83 Christoph Hellwig 2021-08-26 21 * @cdev: optional character interface for "device dax" 1b7646014e0d83 Christoph Hellwig 2021-08-26 22 * @private: dax driver private data 1b7646014e0d83 Christoph Hellwig 2021-08-26 23 * @flags: state and boolean properties db8cd5efeebc49 Ira Weiny 2022-03-04 24 * @ops: operations for this device 8012b866085523 Shiyang Ruan 2022-06-03 25 * @holder_data: holder of a dax_device: could be filesystem or mapped device 8012b866085523 Shiyang Ruan 2022-06-03 26 * @holder_ops: operations for the inner holder 1b7646014e0d83 Christoph Hellwig 2021-08-26 27 */ 1b7646014e0d83 Christoph Hellwig 2021-08-26 28 struct dax_device { 1b7646014e0d83 Christoph Hellwig 2021-08-26 29 struct inode inode; 1b7646014e0d83 Christoph Hellwig 2021-08-26 30 struct cdev cdev; 1b7646014e0d83 Christoph Hellwig 2021-08-26 31 void *private; 1b7646014e0d83 Christoph Hellwig 2021-08-26 32 unsigned long flags; 1b7646014e0d83 Christoph Hellwig 2021-08-26 33 const struct dax_operations *ops; 8012b866085523 Shiyang Ruan 2022-06-03 34 void *holder_data; 8012b866085523 Shiyang Ruan 2022-06-03 35 const struct dax_holder_operations *holder_ops; 63101913bbd057 Long Li 2024-02-07 36 63101913bbd057 Long Li 2024-02-07 37 KABI_RESERVE(1) 63101913bbd057 Long Li 2024-02-07 38 KABI_RESERVE(2) 63101913bbd057 Long Li 2024-02-07 39 KABI_RESERVE(3) 63101913bbd057 Long Li 2024-02-07 40 KABI_RESERVE(4) 63101913bbd057 Long Li 2024-02-07 41 KABI_RESERVE(5) 63101913bbd057 Long Li 2024-02-07 42 KABI_RESERVE(6) 63101913bbd057 Long Li 2024-02-07 43 KABI_RESERVE(7) 63101913bbd057 Long Li 2024-02-07 44 KABI_RESERVE(8) 1b7646014e0d83 Christoph Hellwig 2021-08-26 @45 }; 1b7646014e0d83 Christoph Hellwig 2021-08-26 46 :::::: The code at line 45 was first introduced by commit :::::: 1b7646014e0d838b06be7288e2dec3262948cc56 dax: mark dax_get_by_host static :::::: TO: Christoph Hellwig <hch(a)lst.de> :::::: CC: Dan Williams <dan.j.williams(a)intel.com> -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki
1 0
0 0
  • ← Newer
  • 1
  • 2
  • 3
  • 4
  • ...
  • 2208
  • Older →

HyperKitty Powered by HyperKitty