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 C2EADC4167D for ; Wed, 9 Mar 2022 16:54:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237770AbiCIQxi (ORCPT ); Wed, 9 Mar 2022 11:53:38 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47082 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235984AbiCIQqC (ORCPT ); Wed, 9 Mar 2022 11:46:02 -0500 Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DCC693D1CA for ; Wed, 9 Mar 2022 08:41:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1646844079; x=1678380079; h=date:from:to:cc:subject:message-id:mime-version; bh=8rW6802wBIZYE3bRxIZRxTKp7w7ebXftkI+xVj1QD9A=; b=Cvr9Lg8ndYrJxCdk4aCbm4DI9mbV6meY76qBdmFINUA2f1XDGKACEnzw UyFjdb33q/b7T2iJ2NtoNQtb93662xHUK7x5NPMrPtHv7BqgL8IYPoH9R LnQiRKe93oiVY+anV0zjTBAPPBW8G0Zkzmep/RPWUGiTJRlQZGFQgPGGw viG4EWaK71Y3cOoNLlhA1O8n5S8+8JzAXI04NDTF0T94YgwsNSiTpnJGm GuABAkDqJ5OBrvuT2Rew5ahpBVAx+FFUFceDwcdSQc6qtNMoz6NJG+63G CB0UnLpSFzZLm9uzOcDFLTpOq4y4kOiuF6O7vhIyd91R8HxhOuz1zndio Q==; X-IronPort-AV: E=McAfee;i="6200,9189,10281"; a="318243290" X-IronPort-AV: E=Sophos;i="5.90,167,1643702400"; d="scan'208";a="318243290" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Mar 2022 08:41:18 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.90,167,1643702400"; d="scan'208";a="712000877" Received: from lkp-server02.sh.intel.com (HELO 89b41b6ae01c) ([10.239.97.151]) by orsmga005.jf.intel.com with ESMTP; 09 Mar 2022 08:41:17 -0800 Received: from kbuild by 89b41b6ae01c with local (Exim 4.92) (envelope-from ) id 1nRzNE-0003Yr-BM; Wed, 09 Mar 2022 16:41:16 +0000 Date: Thu, 10 Mar 2022 00:40:31 +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: <202203100018.1WkwpXxd-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.10.1 (2018-07-13) 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: 330f4c53d3c2d8b11d86ec03a964b86dc81452f5 commit: 285892a74f1370a12249f765c6a4e3b16194852e remoteproc: Add Renesas rcar driver date: 3 months ago config: mips-randconfig-s031-20220302 (https://download.01.org/0day-ci/archive/20220310/202203100018.1WkwpXxd-lkp@intel.com/config) compiler: mips-linux-gcc (GCC) 11.2.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-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 to linux build tree mkdir build_dir COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=mips SHELL=/bin/bash If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot sparse warnings: (new ones prefixed by >>) command-line: note: in included file: builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_ACQUIRE redefined builtin:0:0: sparse: this was the original definition builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_SEQ_CST redefined builtin:0:0: sparse: this was the original definition builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_ACQ_REL redefined builtin:0:0: sparse: this was the original definition builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_RELEASE redefined builtin:0:0: sparse: this was the original definition 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, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org