Hi Deepak, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on mkp-scsi/for-next] [also build test WARNING on scsi/for-next v5.8-rc2 next-20200624] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use as documented in https://git-scm.com/docs/git-format-patch] url: https://github.com/0day-ci/linux/commits/Deepak-Ukey/pm80xx-Updates-for-the-driver-version-0-1-39/20200624-195528 base: https://git.kernel.org/pub/scm/linux/kernel/git/mkp/scsi.git for-next config: x86_64-rhel-7.6 (attached as .config) compiler: gcc-9 (Debian 9.3.0-13) 9.3.0 reproduce (this is a W=1 build): # save the attached .config to linux build tree make W=1 ARCH=x86_64 If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <lkp@xxxxxxxxx> All warnings (new ones prefixed by >>): drivers/scsi/pm8001/pm80xx_hwi.c:69:6: warning: no previous prototype for 'pm80xx_pci_mem_copy' [-Wmissing-prototypes] 69 | void pm80xx_pci_mem_copy(struct pm8001_hba_info *pm8001_ha, u32 soffset, | ^~~~~~~~~~~~~~~~~~~ >> drivers/scsi/pm8001/pm80xx_hwi.c:5064:5: warning: no previous prototype for 'pm8001_chip_get_phy_profile' [-Wmissing-prototypes] 5064 | int pm8001_chip_get_phy_profile(struct pm8001_hba_info *pm8001_ha, int phy_id, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/scsi/pm8001/pm80xx_hwi.c:5094:6: warning: no previous prototype for 'mpi_set_phy_profile_req' [-Wmissing-prototypes] 5094 | void mpi_set_phy_profile_req(struct pm8001_hba_info *pm8001_ha, | ^~~~~~~~~~~~~~~~~~~~~~~ vim +/pm8001_chip_get_phy_profile +5064 drivers/scsi/pm8001/pm80xx_hwi.c 5063 > 5064 int pm8001_chip_get_phy_profile(struct pm8001_hba_info *pm8001_ha, int phy_id, 5065 int page_code, struct completion *comp, void *buf) 5066 { 5067 u32 tag; 5068 struct get_phy_profile_req payload; 5069 struct inbound_queue_table *circularQ; 5070 struct pm8001_ccb_info *ccb; 5071 int rc, ppc_phyid; 5072 u32 opc = OPC_INB_GET_PHY_PROFILE; 5073 5074 memset(&payload, 0, sizeof(payload)); 5075 5076 rc = pm8001_tag_alloc(pm8001_ha, &tag); 5077 if (rc) 5078 PM8001_FAIL_DBG(pm8001_ha, pm8001_printk("Invalid tag\n")); 5079 5080 ccb = &pm8001_ha->ccb_info[tag]; 5081 ccb->completion = comp; 5082 ccb->resp_buf = buf; 5083 circularQ = &pm8001_ha->inbnd_q_tbl[0]; 5084 5085 payload.tag = cpu_to_le32(tag); 5086 ppc_phyid = (page_code & 0xFF) << 8 | (phy_id & 0xFF); 5087 payload.ppc_phyid = cpu_to_le32(ppc_phyid); 5088 5089 pm8001_mpi_build_cmd(pm8001_ha, circularQ, opc, &payload, 5090 sizeof(payload), 0); 5091 return rc; 5092 } 5093 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx
Attachment:
.config.gz
Description: application/gzip