From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7B5B7C433EF for ; Sat, 16 Jul 2022 20:26:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229828AbiGPU0k (ORCPT ); Sat, 16 Jul 2022 16:26:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44582 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229501AbiGPU0i (ORCPT ); Sat, 16 Jul 2022 16:26:38 -0400 Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7F55C19007 for ; Sat, 16 Jul 2022 13:26:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1658003197; x=1689539197; h=date:from:to:cc:subject:message-id:mime-version; bh=6vyY9P5WvxJeEuK66JMqgx1au9mRSozwt7+9rrERgF4=; b=dQV1cC4smPhnfr4bM9E60UTm8cDLyxVqHNXoUY/+tTGZfQQKvD8Lb9sd bX237qwdEhby3khsLGUHq6PMom3flcKzk5i38GMCWmagCiPMH5gFHs24T u+/p0uc4w+mtfcL1D4dffDzjRoIDzQzh2kb322QClBS3rK/blxVz4o1pk DhdHiXKGESxeMpqIQCnXtyuQB+84GMNDLU/yj4w/gIr6L+/lTRG4e7Wvu sysJxSDi30c7k5YsmRtCsaOsxRzGy2NnYq8vT016fyuiMAkR1E2TFh94p 32QK2elhQ/8yX7dadmx08MZRJltWzfSI4hnX66880Hnakf54QXD7J4LKK Q==; X-IronPort-AV: E=McAfee;i="6400,9594,10410"; a="286740374" X-IronPort-AV: E=Sophos;i="5.92,277,1650956400"; d="scan'208";a="286740374" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Jul 2022 13:26:37 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.92,277,1650956400"; d="scan'208";a="547037799" Received: from lkp-server02.sh.intel.com (HELO ff137eb26ff1) ([10.239.97.151]) by orsmga003.jf.intel.com with ESMTP; 16 Jul 2022 13:26:35 -0700 Received: from kbuild by ff137eb26ff1 with local (Exim 4.95) (envelope-from ) id 1oCoN1-00026K-8V; Sat, 16 Jul 2022 20:26:35 +0000 Date: Sun, 17 Jul 2022 04:25:49 +0800 From: kernel test robot To: Julien Massot Cc: kbuild-all@lists.01.org, 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: <202207170418.y871sITG-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: c5fe7a97f20c7f3070ac870144515c0fabc6b999 commit: 285892a74f1370a12249f765c6a4e3b16194852e remoteproc: Add Renesas rcar driver date: 7 months ago config: arc-randconfig-s043-20220717 (https://download.01.org/0day-ci/archive/20220717/202207170418.y871sITG-lkp@intel.com/config) compiler: arceb-elf-gcc (GCC) 12.1.0 reproduce: wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # apt-get install sparse # sparse version: v0.6.4-39-gce1a6720-dirty # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=285892a74f1370a12249f765c6a4e3b16194852e git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git git fetch --no-tags linus master git checkout 285892a74f1370a12249f765c6a4e3b16194852e # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=arc SHELL=/bin/bash drivers/remoteproc/ If you fix the issue, kindly add following tag where applicable Reported-by: kernel test robot 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 [noderef] __iomem *addr @@ got void *va @@ drivers/remoteproc/rcar_rproc.c:45:20: sparse: expected void const [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://01.org/lkp