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 kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8CA0BC433F5 for ; Fri, 6 May 2022 13:59:59 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id D77436B0072; Fri, 6 May 2022 09:59:58 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id D27F16B0073; Fri, 6 May 2022 09:59:58 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id BEE8E6B0074; Fri, 6 May 2022 09:59:58 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0171.hostedemail.com [216.40.44.171]) by kanga.kvack.org (Postfix) with ESMTP id B2AAA6B0072 for ; Fri, 6 May 2022 09:59:58 -0400 (EDT) Received: from smtpin30.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay03.hostedemail.com (Postfix) with ESMTP id 5409E81EF902 for ; Fri, 6 May 2022 13:59:58 +0000 (UTC) X-FDA: 79435476876.30.F448052 Received: from mga06.intel.com (mga06b.intel.com [134.134.136.31]) by imf03.hostedemail.com (Postfix) with ESMTP id E112E20002 for ; Fri, 6 May 2022 13:59:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1651845597; x=1683381597; h=date:from:to:cc:subject:message-id:mime-version; bh=HBOO2uzkcVeavJgKNaQf865FX2l6TGj5Li9cA+LO3YU=; b=ZJMEfBfxlaP0exV/RZAQ6cPS3YCbqPJP6SXrEJXe67Ey1W1xg/TCYTLG oYj+gGywKv3OGr+a8ObB3ifrMYclxMgUzdHrFw7qbHpdWiAaanadkFOMs JqaETG+s9X6X1zfVFTzcHNMyEmKMQNlTkQfjZ3xhyZBiA5L2NRVQooQTt gRicp2n/iDScTzt8gGT/BLg5ZoHNqPfpW0pY/seeSMFRBETfZP6H64d+u vBS7kCBcyH43QuF8VWvpSkFKUF4wSYAP1sil17HxgNx9rJKtJjY5z8EbX rvsdebFm9jRBroGLYFiHlgdd0n1KKwLGv/E0aYfUXgyWHB7aC7yhcv4Om w==; X-IronPort-AV: E=McAfee;i="6400,9594,10339"; a="329016735" X-IronPort-AV: E=Sophos;i="5.91,203,1647327600"; d="scan'208";a="329016735" Received: from orsmga004.jf.intel.com ([10.7.209.38]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 May 2022 06:59:55 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.91,203,1647327600"; d="scan'208";a="695194434" Received: from lkp-server01.sh.intel.com (HELO 5056e131ad90) ([10.239.97.150]) by orsmga004.jf.intel.com with ESMTP; 06 May 2022 06:59:54 -0700 Received: from kbuild by 5056e131ad90 with local (Exim 4.95) (envelope-from ) id 1nmyUr-000DWm-Gh; Fri, 06 May 2022 13:59:53 +0000 Date: Fri, 6 May 2022 21:59:14 +0800 From: kernel test robot To: "Matthew Wilcox (Oracle)" Cc: kbuild-all@lists.01.org, Linux Memory Management List , Andrew Morton , Baoquan He , Christoph Hellwig Subject: [linux-next:master 7193/9759] arch/sh/kernel/crash_dump.c:23:36: sparse: sparse: incorrect type in argument 1 (different address spaces) Message-ID: <202205062129.oGoY3bdy-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Rspamd-Server: rspam02 X-Rspamd-Queue-Id: E112E20002 X-Stat-Signature: hmkftkdf6y59wuourd7a8mrounaerh7f X-Rspam-User: Authentication-Results: imf03.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=ZJMEfBfx; spf=none (imf03.hostedemail.com: domain of lkp@intel.com has no SPF policy when checking 134.134.136.31) smtp.mailfrom=lkp@intel.com; dmarc=pass (policy=none) header.from=intel.com X-HE-Tag: 1651845590-784912 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master head: 38a288f5941ef03752887ad86f2d85442358c99a commit: 5d8de293c224896a4da99763fce4f9794308caf4 [7193/9759] vmcore: convert copy_oldmem_page() to take an iov_iter config: sh-randconfig-s032-20220506 (https://download.01.org/0day-ci/archive/20220506/202205062129.oGoY3bdy-lkp@intel.com/config) compiler: sh4-linux-gcc (GCC) 11.3.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/next/linux-next.git/commit/?id=5d8de293c224896a4da99763fce4f9794308caf4 git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git git fetch --no-tags linux-next master git checkout 5d8de293c224896a4da99763fce4f9794308caf4 # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.3.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=sh SHELL=/bin/bash arch/sh/kernel/ If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot sparse warnings: (new ones prefixed by >>) >> arch/sh/kernel/crash_dump.c:23:36: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const *addr @@ got void [noderef] __iomem * @@ arch/sh/kernel/crash_dump.c:23:36: sparse: expected void const *addr arch/sh/kernel/crash_dump.c:23:36: sparse: got void [noderef] __iomem * vim +23 arch/sh/kernel/crash_dump.c 13 14 ssize_t copy_oldmem_page(struct iov_iter *iter, unsigned long pfn, 15 size_t csize, unsigned long offset) 16 { 17 void __iomem *vaddr; 18 19 if (!csize) 20 return 0; 21 22 vaddr = ioremap(pfn << PAGE_SHIFT, PAGE_SIZE); > 23 csize = copy_to_iter(vaddr + offset, csize, iter); -- 0-DAY CI Kernel Test Service https://01.org/lkp