Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.20]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C81E37FE for ; Sun, 24 Sep 2023 06:11:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1695535912; x=1727071912; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=Am/C7rcrG3whSnD6O+2kBFSeQ5loFPvQ7ufrZXfmhzg=; b=ivv2nWep7gERgO/RTFZMqVWQao3uFY/VLMFfVJ38GiDtWTyQ1xXuAnhz SrhK6dxck+fLMKxG3UaCaQUalpMwITAZUrrm6afLUUX5B/Qh3wX4dCXSk gkdpMtuEWpeCdcXNY8v6gi237Cz6xfRkER4PgR3zsGBJ13f5S3+WzYKky O+J201R+nmK2Vwb6LY4b9IBFT6caByJRb4LU60rE1cMIe32XgIaSj6Ukf G6KgQQ+b5qqEK9CdqW1mD34qVGFljTA8BcD6fK7VnOJTxQA7xume6lcbg +n0nSxI5zIe4Yn5j4bR7JKNxYdMh7LDk0UHpOEHAlgcXpGAuxr6MH8VJD A==; X-IronPort-AV: E=McAfee;i="6600,9927,10842"; a="371397982" X-IronPort-AV: E=Sophos;i="6.03,171,1694761200"; d="scan'208";a="371397982" Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Sep 2023 23:11:51 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10842"; a="995002189" X-IronPort-AV: E=Sophos;i="6.03,171,1694761200"; d="scan'208";a="995002189" Received: from lkp-server02.sh.intel.com (HELO 493f6c7fed5d) ([10.239.97.151]) by fmsmga006.fm.intel.com with ESMTP; 23 Sep 2023 23:11:49 -0700 Received: from kbuild by 493f6c7fed5d with local (Exim 4.96) (envelope-from ) id 1qkILL-0003JF-21; Sun, 24 Sep 2023 06:11:47 +0000 Date: Sun, 24 Sep 2023 14:11:25 +0800 From: kernel test robot To: ching Huang , martin.petersen@oracle.com, James.Bottomley@hansenpartnership.com, linux-scsi@vger.kernel.org, Linux Kernel Mailing List Cc: oe-kbuild-all@lists.linux.dev Subject: Re: [PATCH V2 1/3] scsi: arcmsr: support Areca ARC-1688 Raid controller Message-ID: <202309241359.nvcTUvcu-lkp@intel.com> References: Precedence: bulk X-Mailing-List: oe-kbuild-all@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Hi ching, kernel test robot noticed the following build warnings: [auto build test WARNING on mkp-scsi/for-next] [also build test WARNING on jejb-scsi/for-next linus/master v6.6-rc2 next-20230921] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/ching-Huang/scsi-arcmsr-support-Areca-ARC-1688-Raid-controller/20230922-170045 base: https://git.kernel.org/pub/scm/linux/kernel/git/mkp/scsi.git for-next patch link: https://lore.kernel.org/r/bc855b702c8a2fbb7d3ffff69f65b6ce89c9042c.camel%40areca.com.tw patch subject: [PATCH V2 1/3] scsi: arcmsr: support Areca ARC-1688 Raid controller config: arc-allyesconfig (https://download.01.org/0day-ci/archive/20230924/202309241359.nvcTUvcu-lkp@intel.com/config) compiler: arceb-elf-gcc (GCC) 13.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20230924/202309241359.nvcTUvcu-lkp@intel.com/reproduce) 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 | Closes: https://lore.kernel.org/oe-kbuild-all/202309241359.nvcTUvcu-lkp@intel.com/ All warnings (new ones prefixed by >>): drivers/scsi/arcmsr/arcmsr_hba.c: In function 'arcmsr_free_ccb_pool': >> drivers/scsi/arcmsr/arcmsr_hba.c:2094:53: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 2094 | pXorPhys->xorPhys = (dma_addr_t)NULL; | ^ vim +2094 drivers/scsi/arcmsr/arcmsr_hba.c 2077 2078 static void arcmsr_free_ccb_pool(struct AdapterControlBlock *acb) 2079 { 2080 if (acb->xor_mega) { 2081 struct Xor_sg *pXorPhys; 2082 void **pXorVirt; 2083 int i; 2084 2085 pXorPhys = (struct Xor_sg *)(acb->xorVirt + 2086 sizeof(struct HostRamBuf)); 2087 pXorVirt = (void **)((unsigned long)acb->xorVirt + 2088 (unsigned long)acb->xorVirtOffset); 2089 for (i = 0; i < acb->xor_mega; i++) { 2090 if (pXorPhys->xorPhys) { 2091 dma_free_coherent(&acb->pdev->dev, 2092 ARCMSR_XOR_SEG_SIZE, 2093 *pXorVirt, pXorPhys->xorPhys); > 2094 pXorPhys->xorPhys = (dma_addr_t)NULL; 2095 *pXorVirt = NULL; 2096 } 2097 pXorPhys++; 2098 pXorVirt++; 2099 } 2100 dma_free_coherent(&acb->pdev->dev, acb->init2cfg_size, 2101 acb->xorVirt, acb->xorPhys); 2102 } 2103 dma_free_coherent(&acb->pdev->dev, acb->uncache_size, acb->dma_coherent, acb->dma_coherent_handle); 2104 } 2105 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki