tree: https://gitee.com/openeuler/kernel.git openEuler-1.0-LTS head: bca07979c0a7054331b91c892163a0d214cffcbe commit: 7fc993d55d1b54ae40e29dfac825a18d04d644c6 [14777/22019] scsi/hifc: add hifc driver FC service module config: x86_64-buildonly-randconfig-006-20240401 (https://download.01.org/0day-ci/archive/20240402/202404020221.D3ktuarV-lkp@i...) 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/202404020221.D3ktuarV-lkp@i...)
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@intel.com | Closes: https://lore.kernel.org/oe-kbuild-all/202404020221.D3ktuarV-lkp@intel.com/
All warnings (new ones prefixed by >>):
In file included from drivers/scsi/huawei/hifc/hifc_lld.c:22: 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_lld.c:333:7: warning: no previous prototype for function 'hifc_get_ppf_hwdev_by_pdev' [-Wmissing-prototypes] 333 | void *hifc_get_ppf_hwdev_by_pdev(struct pci_dev *pdev) | ^ drivers/scsi/huawei/hifc/hifc_lld.c:333:1: note: declare 'static' if the function is not intended to be used outside of this translation unit 333 | void *hifc_get_ppf_hwdev_by_pdev(struct pci_dev *pdev) | ^ | static drivers/scsi/huawei/hifc/hifc_lld.c:362:6: warning: no previous prototype for function 'hifc_event_process' [-Wmissing-prototypes] 362 | void hifc_event_process(void *adapter, struct hifc_event_info *event) | ^ drivers/scsi/huawei/hifc/hifc_lld.c:362:1: note: declare 'static' if the function is not intended to be used outside of this translation unit 362 | void hifc_event_process(void *adapter, struct hifc_event_info *event) | ^ | static 3 warnings generated.
drivers/scsi/huawei/hifc/hifc_lld.o: warning: objtool: missing symbol for section .init.text