From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.8]) (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 DB854191 for ; Tue, 12 Mar 2024 00:06:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.8 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710201967; cv=none; b=Z+1jC40BOn5ezfimPXBYYIRClGwdqcJjmm3j9VQ5ladZl4tVS82HC2FQ0k+N6Ofk7pK76JXdfF5n8sGDz4xF10sM27NfBBe27soQoPMnLuSrQDos9oMpt07fU2SakQ15uw5chaEM3F9451Cu2XdOXrv/3LwA/72/svUNDKRG2qc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710201967; c=relaxed/simple; bh=ADTXyQKfwt+otfeTBfAydbwEmdUnciZOOhTcqpQveU4=; h=Date:From:To:Cc:Subject:Message-ID:MIME-Version:Content-Type: Content-Disposition; b=D5bUwLiktqHrHbGEqyN37boDOJrhN4lstqJA91IIzrnPhUrYC5pzOGiOdf99uMY+PpYOT2fiqOfAR3/d1wpYR1Bu6Y9pRAMhD6P8a8XI30rxBZWaWICaU1S3QNtM7V47qmMQavGfGPfT1VXtZSj7IBl4W9uL3ijmZoydruoT5+Y= 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=ShD3WIuF; arc=none smtp.client-ip=192.198.163.8 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="ShD3WIuF" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1710201966; x=1741737966; h=date:from:to:cc:subject:message-id:mime-version; bh=ADTXyQKfwt+otfeTBfAydbwEmdUnciZOOhTcqpQveU4=; b=ShD3WIuFHubyOGr9jLBz6Gg1a+pRe8ai5+QhlxI6xISnRG95C9PFTEwc Zl8+XONHxXCrck1IqyZuBEeYNqukgfW2aDpy9UU5PUZpmRpLUPq48Y7ek PK+LARRpfmofNsajdOw8nacoe6a/Zphz3sQZwwITtI14f+7L7U8XHMtD3 GsFchtYnKNhikbK5V/sj5pdr5ZsXvx53KyngRQhoDgDJbqpnmFfA8gJNn NfHyVGdNZcZat4QS5F2QGpj4MCHR2kVQL89B8vLUq/n7YDyn0er7XJywY cFJ9j/y4yDP1aBEIcg0TQL7TX5yXXW6i/fJH2reR6AwVkDfAbW+lEiqSI w==; X-IronPort-AV: E=McAfee;i="6600,9927,11010"; a="22408957" X-IronPort-AV: E=Sophos;i="6.07,117,1708416000"; d="scan'208";a="22408957" Received: from orviesa001.jf.intel.com ([10.64.159.141]) by fmvoesa102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Mar 2024 17:06:05 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.07,117,1708416000"; d="scan'208";a="48796875" Received: from lkp-server01.sh.intel.com (HELO b21307750695) ([10.239.97.150]) by orviesa001.jf.intel.com with ESMTP; 11 Mar 2024 17:06:03 -0700 Received: from kbuild by b21307750695 with local (Exim 4.96) (envelope-from ) id 1rjpea-0009Yr-2d; Tue, 12 Mar 2024 00:06:00 +0000 Date: Tue, 12 Mar 2024 08:05:43 +0800 From: kernel test robot To: cros-kernel-buildreports@googlegroups.com Cc: oe-kbuild-all@lists.linux.dev Subject: [android-common:android-4.19-stable 13314/30000] drivers/cpuidle/cpuidle.c:598:27: sparse: sparse: incorrect type in initializer (different address spaces) Message-ID: <202403120718.pbxsql2G-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://android.googlesource.com/kernel/common android-4.19-stable head: cc8336529b300f0423dcd753f75893f14df653b1 commit: 02f88aaaac53929e0cf4fe50f807cdea4b9e224d [13314/30000] ANDROID: GKI: Export symbols arm_cpuidle_suspend, cpuidle_dev and cpuidle_register_governor config: x86_64-randconfig-121-20240310 (https://download.01.org/0day-ci/archive/20240312/202403120718.pbxsql2G-lkp@intel.com/config) compiler: gcc-12 (Debian 12.2.0-14) 12.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240312/202403120718.pbxsql2G-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/202403120718.pbxsql2G-lkp@intel.com/ sparse warnings: (new ones prefixed by >>) >> drivers/cpuidle/cpuidle.c:598:27: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected void const [noderef] __percpu *__vpp_verify @@ got struct cpuidle_device * @@ drivers/cpuidle/cpuidle.c:598:27: sparse: expected void const [noderef] __percpu *__vpp_verify drivers/cpuidle/cpuidle.c:598:27: sparse: got struct cpuidle_device * drivers/cpuidle/cpuidle.c:630:27: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected void const [noderef] __percpu *__vpp_verify @@ got struct cpuidle_device * @@ drivers/cpuidle/cpuidle.c:630:27: sparse: expected void const [noderef] __percpu *__vpp_verify drivers/cpuidle/cpuidle.c:630:27: sparse: got struct cpuidle_device * vim +598 drivers/cpuidle/cpuidle.c 4f86d3a8e29720 Len Brown 2007-10-03 584 1c192d047a0ddc Daniel Lezcano 2013-04-23 585 /** 4c637b2175a0dc Daniel Lezcano 2013-04-23 586 * cpuidle_unregister: unregister a driver and the devices. This function 4c637b2175a0dc Daniel Lezcano 2013-04-23 587 * can be used only if the driver has been previously registered through 4c637b2175a0dc Daniel Lezcano 2013-04-23 588 * the cpuidle_register function. 4c637b2175a0dc Daniel Lezcano 2013-04-23 589 * 4c637b2175a0dc Daniel Lezcano 2013-04-23 590 * @drv: a valid pointer to a struct cpuidle_driver 4c637b2175a0dc Daniel Lezcano 2013-04-23 591 */ 4c637b2175a0dc Daniel Lezcano 2013-04-23 592 void cpuidle_unregister(struct cpuidle_driver *drv) 4c637b2175a0dc Daniel Lezcano 2013-04-23 593 { 4c637b2175a0dc Daniel Lezcano 2013-04-23 594 int cpu; 4c637b2175a0dc Daniel Lezcano 2013-04-23 595 struct cpuidle_device *device; 4c637b2175a0dc Daniel Lezcano 2013-04-23 596 82467a5a885ddd Daniel Lezcano 2013-06-07 597 for_each_cpu(cpu, drv->cpumask) { 4c637b2175a0dc Daniel Lezcano 2013-04-23 @598 device = &per_cpu(cpuidle_dev, cpu); 4c637b2175a0dc Daniel Lezcano 2013-04-23 599 cpuidle_unregister_device(device); 4c637b2175a0dc Daniel Lezcano 2013-04-23 600 } 4c637b2175a0dc Daniel Lezcano 2013-04-23 601 4c637b2175a0dc Daniel Lezcano 2013-04-23 602 cpuidle_unregister_driver(drv); 4c637b2175a0dc Daniel Lezcano 2013-04-23 603 } 4c637b2175a0dc Daniel Lezcano 2013-04-23 604 EXPORT_SYMBOL_GPL(cpuidle_unregister); 4c637b2175a0dc Daniel Lezcano 2013-04-23 605 :::::: The code at line 598 was first introduced by commit :::::: 4c637b2175a0dc65d533494225525c6c82d73293 cpuidle: make a single register function for all :::::: TO: Daniel Lezcano :::::: CC: Rafael J. Wysocki -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki