Received: by 2002:ab2:1149:0:b0:1f3:1f8c:d0c6 with SMTP id z9csp1007565lqz; Sun, 31 Mar 2024 09:09:36 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVVE7kwTppNshJpoc0pjvh5rwT8AF8OPjZIxuWCk9sFNB3hE9H6syuSV8RpmrnP3dMKrf5v7ySXX0dM29fCyPzCuanh32Ipjm1zTkeOrA== X-Google-Smtp-Source: AGHT+IGOHn17/Bs+9/CmmhhvBB/Cxd+xsaGL07c/8RVkxJ7FSTF/SWYvk4RBnVYOfgzdV0qd/QG7 X-Received: by 2002:a05:6a00:4b55:b0:6ea:baed:a15c with SMTP id kr21-20020a056a004b5500b006eabaeda15cmr8071505pfb.4.1711901376348; Sun, 31 Mar 2024 09:09:36 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711901376; cv=pass; d=google.com; s=arc-20160816; b=RNFrLH6voDPZoeNNspKsJHLUNfUDp4x5uZOiul1HIf88QkYtFqvKgbkYzyS9vaLnGB KvlQHYb/b/5hMmEukCf6jYwXL2lwS4/4xN32BnEnMP3TDZPU2MLF7cGbOjBa5w1M6hAv hvyHiXVfIVXOCCr3ClBfQNRPJoJtORXP6X0TV4PeHQawOV7cOfj1UPLXUsbqQZXx2VEv M/mKygYI8dmBzloNVvBqKPmvXSJw6rvKCcSmJFcLjgtWIYGaQ9mVP0qo9tvrDmT9nxn2 rdDP17m7x7io5krql+U48DAWMPRhP8SGSLTykvoJuVMdFzOgNxdjYLhnIAzmSK3n3RWJ NJdA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-disposition:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:message-id:subject:cc:to:from:date :dkim-signature; bh=mJgoS7CVEsEEoObGPqnfiv9Pt1gmy9S4BZfsSaENKck=; fh=tlD+lsNKvOz5+sUUzyXJ3TuC/N7WVgdeftYT6mZ/2rw=; b=WHaksjOre+yqmKvvm5+2KQVgIWiLqHJiSxI/FCJsto3W5Kb9JFOAVik+24vikItS7E K2lOJg0KQsHsOvLkeF5F3I7z6fWH758DvpLsowrOm/jWHaSyF2/ibdn5eju82vRDZ0t7 YGsEtQrXCgHjHv89S5WwK5Zro7a9QzilD/dUnnLZ0R7zTCo6BUyxwwbFULDi9234Ytfx UlCTjhnkZUPfdheLCpDUaa9iAccKOuNArAcORdj8BmIX1ew/EeLNLjCVXPUDB1m6/4Wz 901tkhtbVveJ1Q1Z4bWCJyxNWdOxh9uD/QeoUPMUbhxo1zNybNR1jzQ5LBEOUJom488R yDKA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=ZTc76s1b; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); spf=pass (google.com: domain of linux-kernel+bounces-126125-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-126125-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id k5-20020aa788c5000000b006e6b5eb6c01si7883141pff.376.2024.03.31.09.09.36 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 31 Mar 2024 09:09:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-126125-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=ZTc76s1b; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); spf=pass (google.com: domain of linux-kernel+bounces-126125-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-126125-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 53A572812B6 for ; Sun, 31 Mar 2024 16:09:27 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1DB39145B05; Sun, 31 Mar 2024 16:05:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="ZTc76s1b" Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.11]) (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 3099F145321 for ; Sun, 31 Mar 2024 16:05:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.11 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711901136; cv=none; b=e9yzHwWrU08HDzFKCJj9lH0Dt5YNl1HxCli2C9h7VynXh3nVcvF9DOp557MxJ0LSYKsvPRqU9RnMTNwrA8Ii38h54v0RBF80GxgMzyynXlwhSakT2yV+IuWFijzSmwZrxIvnNP2aSo1a8F8Vl45Fn6njGENr66MtLYZdl/lqIc4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711901136; c=relaxed/simple; bh=0PgwmdbQN7ZnKNKCizoTyzmjQV/8g5GhP4FH1t2EX14=; h=Date:From:To:Cc:Subject:Message-ID:MIME-Version:Content-Type: Content-Disposition; b=ugg8uGevX/7wjDefVrShwrxgXqmSJbAnl0JyzLyIM8iGW+tiVpy4X6iudFvToHDkLSyvoYZbYFR23QyNFEPkIuQ9m4YFhmFQTz3vakxPHsFDBs7L+cILHFcKOHayoa7143j7Cmd43yos2ys1lpdu665hg0U/bFsyET5jpVt5vW0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=ZTc76s1b; arc=none smtp.client-ip=198.175.65.11 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 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1711901133; x=1743437133; h=date:from:to:cc:subject:message-id:mime-version; bh=0PgwmdbQN7ZnKNKCizoTyzmjQV/8g5GhP4FH1t2EX14=; b=ZTc76s1bnshfrdHA5PoepCSLNafxZtQwmZoy2LopJYoubvcskfLJxrE/ DFB3A4HleQB0Rc0UJhNuX4lUGjImHmSp2x6EtjMV9mtuvRp2sc1Qn2zqm Jj511CEIL85HpvKdQu7kh6SJ8sf1Ap/czcSwan3+LSsSpGBxc6/tZ4ozx cRRgEJkXL5y2d1MN2ct4zOwqFvfMvraO8Xpcbw7HBXgm1stJZMj6rMwfO TaudnO/qA4Z2Jcm480a6BEB91lW2veaCA2ddoeTiuCK7s9C1ve1HLn5jt 54cVNKs5D2NcLaqSKHgnCzNyh6ip4lm/4PJ4DsiTcXDr6YWa6+XLobrfI g==; X-CSE-ConnectionGUID: A92ZlS0cSbKQl/Gl/7vxow== X-CSE-MsgGUID: ULGlQsCjRhGqm1jHdEOwtQ== X-IronPort-AV: E=McAfee;i="6600,9927,11030"; a="17597732" X-IronPort-AV: E=Sophos;i="6.07,170,1708416000"; d="scan'208";a="17597732" Received: from orviesa007.jf.intel.com ([10.64.159.147]) by orvoesa103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 31 Mar 2024 09:05:33 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.07,170,1708416000"; d="scan'208";a="17870414" Received: from lkp-server01.sh.intel.com (HELO 3d808bfd2502) ([10.239.97.150]) by orviesa007.jf.intel.com with ESMTP; 31 Mar 2024 09:05:31 -0700 Received: from kbuild by 3d808bfd2502 with local (Exim 4.96) (envelope-from ) id 1rqxgW-0001Ec-2N; Sun, 31 Mar 2024 16:05:28 +0000 Date: Mon, 1 Apr 2024 00:04:51 +0800 From: kernel test robot To: Youling Tang Cc: oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org, Huacai Chen , Xi Ruoyao Subject: arch/loongarch/kernel/relocate.c:166:38: sparse: sparse: incorrect type in initializer (different address spaces) Message-ID: <202403312345.Rmq1hxfh-lkp@intel.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org 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: 712e14250dd2907346617eba275c46f53db8fae7 commit: e5f02b51fa0cb785e352e77271a65e96051b789b LoongArch: Add support for kernel address space layout randomization (KASLR) date: 1 year, 1 month ago config: loongarch-randconfig-r034-20230511 (https://download.01.org/0day-ci/archive/20240331/202403312345.Rmq1hxfh-lkp@intel.com/config) compiler: loongarch64-linux-gcc (GCC) 12.3.0 reproduce: (https://download.01.org/0day-ci/archive/20240331/202403312345.Rmq1hxfh-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/202403312345.Rmq1hxfh-lkp@intel.com/ sparse warnings: (new ones prefixed by >>) >> arch/loongarch/kernel/relocate.c:166:38: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected char *cmdline @@ got void [noderef] __iomem * @@ arch/loongarch/kernel/relocate.c:166:38: sparse: expected char *cmdline arch/loongarch/kernel/relocate.c:166:38: sparse: got void [noderef] __iomem * vim +166 arch/loongarch/kernel/relocate.c 159 160 void * __init relocate_kernel(void) 161 { 162 unsigned long kernel_length; 163 unsigned long random_offset = 0; 164 void *location_new = _text; /* Default to original kernel start */ 165 void *kernel_entry = start_kernel; /* Default to original kernel entry point */ > 166 char *cmdline = early_ioremap(fw_arg1, COMMAND_LINE_SIZE); /* Boot command line is passed in fw_arg1 */ 167 168 strscpy(boot_command_line, cmdline, COMMAND_LINE_SIZE); 169 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki