From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.136]) (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 4A669125C7 for ; Thu, 14 Dec 2023 07:36:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="JRvZ/H74" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1702539393; x=1734075393; h=date:from:to:cc:subject:message-id:mime-version; bh=OHT0rrkC540J0qbJWN8oh5Kam/JAt8k55e41ve183GQ=; b=JRvZ/H74rr9xCwUAOhoyxavtz6hfVtAsdt1QCZBYJHzx9HvPJ2War48T ZLDx2J4uT8iIQhcwF0flZFBN2FFPBh38j466k+ZOsKPI27oIv2PaHQ2M5 svWkLwm8yDHV7aSE1FB5R5l4uTBlDdyHTkOYE6LsnlJqEWwH+smzMP5YO 7L1LpenMSDiPW07d+d/r4De6nSOPvSSNlofsjwNWu4U1lsGBB3NXrq1Hu 3NlVkOOesDI4HL5pBVSgjNB8bKwTGla/WreP2goO9rtAiCiwRexBudLkf JQHpLLTsNDUwzNbFAaOkdLu7QhlxrgESLGRTHq3mL9mSwvgaoQI6jSc+u w==; X-IronPort-AV: E=McAfee;i="6600,9927,10923"; a="374588355" X-IronPort-AV: E=Sophos;i="6.04,274,1695711600"; d="scan'208";a="374588355" Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Dec 2023 23:36:14 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10923"; a="1021420785" X-IronPort-AV: E=Sophos;i="6.04,274,1695711600"; d="scan'208";a="1021420785" Received: from lkp-server02.sh.intel.com (HELO b07ab15da5fe) ([10.239.97.151]) by fmsmga006.fm.intel.com with ESMTP; 13 Dec 2023 23:36:13 -0800 Received: from kbuild by b07ab15da5fe with local (Exim 4.96) (envelope-from ) id 1rDgGL-000Lju-1s; Thu, 14 Dec 2023 07:36:09 +0000 Date: Thu, 14 Dec 2023 15:35:40 +0800 From: kernel test robot To: Julien Massot Cc: oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org, Mathieu Poirier Subject: drivers/remoteproc/rcar_rproc.c:45:20: sparse: sparse: incorrect type in argument 1 (different address spaces) Message-ID: <202312141514.1LX4xpRG-lkp@intel.com> 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 tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 5bd7ef53ffe5ca580e93e74eb8c81ed191ddc4bd commit: 285892a74f1370a12249f765c6a4e3b16194852e remoteproc: Add Renesas rcar driver date: 2 years ago config: mips-randconfig-r122-20231108 (https://download.01.org/0day-ci/archive/20231214/202312141514.1LX4xpRG-lkp@intel.com/config) compiler: mips-linux-gcc (GCC) 13.2.0 reproduce: (https://download.01.org/0day-ci/archive/20231214/202312141514.1LX4xpRG-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/202312141514.1LX4xpRG-lkp@intel.com/ sparse warnings: (new ones prefixed by >>) drivers/remoteproc/rcar_rproc.c:28:12: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected void *va @@ got void [noderef] __iomem * @@ drivers/remoteproc/rcar_rproc.c:28:12: sparse: expected void *va drivers/remoteproc/rcar_rproc.c:28:12: sparse: got void [noderef] __iomem * >> drivers/remoteproc/rcar_rproc.c:45:20: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *addr @@ got void *va @@ drivers/remoteproc/rcar_rproc.c:45:20: sparse: expected void const volatile [noderef] __iomem *addr drivers/remoteproc/rcar_rproc.c:45:20: sparse: got void *va vim +45 drivers/remoteproc/rcar_rproc.c 40 41 static int rcar_rproc_mem_release(struct rproc *rproc, 42 struct rproc_mem_entry *mem) 43 { 44 dev_dbg(&rproc->dev, "unmap memory: %pa\n", &mem->dma); > 45 iounmap(mem->va); 46 47 return 0; 48 } 49 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki