Received: by 2002:ab2:60d1:0:b0:1f7:5705:b850 with SMTP id i17csp200539lqm; Tue, 30 Apr 2024 18:42:56 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWk8E37rufLrLAaxFy9IBF5xarKoZBa+/5rPyqkc6CbaYw4IC0btRXK1Ux0VzkQ4KuLH7FVv90y+gRYNctILYaghGk9nYsKz7PsnlmYhQ== X-Google-Smtp-Source: AGHT+IF4ADElcOnXL6ClVCTSi+P/YqY6Z/3oHWC2vRXZh3Jk+bDF/zu9YHv8R/8qMMsJGvgX+bBO X-Received: by 2002:a17:906:c419:b0:a58:e3d5:87ba with SMTP id u25-20020a170906c41900b00a58e3d587bamr1244090ejz.75.1714527776149; Tue, 30 Apr 2024 18:42:56 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714527776; cv=pass; d=google.com; s=arc-20160816; b=Soz8z4if23mOMB7PTeWPTNQppH2WysUEPdALhDPQbNmTtUPk0a0Nnt5hKjezq0kdOE gj/8jp7yOH0MGIoPciLjyOSDlozGw2wC6SshNev11EhASQZcC2ssH/lm/7q8tJpDGIcj YIKEdreKG6M/QjyRsg/hgFj1nQQON62dp/SlKHBNWXevI/5NvsTtFiA4sepFlhL7FLL5 5JrR3qKIrWhkFe5Wd5id3F3dbNzMK0nykbOy14ibqhqh+vh9qYi6r89YHzvRxDMLg4fm LuQKr55lK/OybNMrBdvPBKVHXAZcGk1mxyLdW2QQjSnGz4B+NKFJWZCEAviEs9OCzK48 1cyg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=OvVJU/ybl6qScHdE2ZbsToWKFaCa6A0OC88H0h1wmEs=; fh=RvX+PMc07ii+ZcXrE5PJgu4H3LERgkBZ49YLZsaUtRI=; b=AOL4OriKyQDMCi53qmUHqLSx/hzyIRIKZJYmBXNpLWCHSPKQRBeCLeW4B+IThxBlOV V11+IMrGmXsLt8Z/iQUP7hEoMoTh67nssSihRzVIxSapm3QkLWMNCDIvsrn0l7iSBSoG eWW5klx105hQkly3SGpqwOsMCnECPEWTDsdo1V1R6TE99OxAuyAw6xBx4RRRcEjvpefR ekvlngl75cbDqNQNdNlviG8n2YQ0xNhQ8CSFIUIph0Udt63O7Opyq45wvvaUoHE+wehG 5bTULo6khhW4AajSsJ+ZcvIqxrkQ+mdDKLtsJzXIHLwaDiDwv269s7CSoUDZylnPOcNP EZDA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=R+eT8Iqq; 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-164855-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-164855-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id qk16-20020a1709077f9000b00a5587cda9c9si15910847ejc.29.2024.04.30.18.42.56 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Apr 2024 18:42:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-164855-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=R+eT8Iqq; 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-164855-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-164855-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 am.mirrors.kernel.org (Postfix) with ESMTPS id DD2101F23201 for ; Wed, 1 May 2024 01:42:55 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C62E863C7; Wed, 1 May 2024 01:42:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="R+eT8Iqq" Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.7]) (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 2F5654C66; Wed, 1 May 2024 01:42:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.7 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714527768; cv=none; b=gFfcwJvk28t0G+o7+QcLEOpnHV9M90hd0kTayQ3uRq11enyRuyhrglm0rdWCdg+auMwZheIU1z71r3nc7WN+bHmpFVD/90ZYY+SIEfLimFjjeM6salLj1f3zA++2MmalZY8zV+UQON8CcXFoBdsWHGMBlnEhvezah0HYTgrNZ/U= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714527768; c=relaxed/simple; bh=NXfYsGE9+CDW89d7BYlqMr64teyBUpwW1AwfylRDXJI=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=Doo/6VM9FbMhPxrSGdLoqpJEemreqhYqrVB4OLN2N6Dz4qiSLzDbY9IwQUu4pH/Q2IuIFdW6DPS/T6lUMKCAGKtdAqj0Ohdu/d6TmR3hDy3jfVeeqM7DM7Lr2DmJtbG6q0YnZ7QMiMc/om1BNGMJtYicp2xJkmBS1btvnTMx3Xs= 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=R+eT8Iqq; arc=none smtp.client-ip=192.198.163.7 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=1714527766; x=1746063766; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=NXfYsGE9+CDW89d7BYlqMr64teyBUpwW1AwfylRDXJI=; b=R+eT8IqqgRrFicJ30CKOiz44C8AUPvyx+gjOzKkGBJRdMXtZMgMdDpx/ WBWZknjguW2yeTmHWJHhV94IxGCuT6sJOL2kZniDshgfkG1XHvuN1hNse lNmCci0vGGycwP8SE98lY09g1BfPdcyYN7F3HgSrZ0wplrCgC0sWqzJau ug7vrU7+7NAb6KaK81vIH/YELFQRzondxaVTmeFtwiVZyfzlgMsasu6lh iMEIIJTASV/HoHTBrXDTV+/663d0IZCaDQMETO32VsFEyyZMEMVh736kT uytg8usucv0L5FZyOZsSilF41ILKuK5h2P2hdFc6u1OjDSS9a4iJBVkgL w==; X-CSE-ConnectionGUID: L7AVYFYpSPivopraYDzqRQ== X-CSE-MsgGUID: SSv0vgmNRrmrdjX1gVGnlQ== X-IronPort-AV: E=McAfee;i="6600,9927,11060"; a="35648203" X-IronPort-AV: E=Sophos;i="6.07,243,1708416000"; d="scan'208";a="35648203" Received: from orviesa001.jf.intel.com ([10.64.159.141]) by fmvoesa101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 Apr 2024 18:40:04 -0700 X-CSE-ConnectionGUID: zR9ugFEtRN6HDdbKAUjQWg== X-CSE-MsgGUID: UfaCz3N4Sxq+/TNXPh5m7g== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.07,243,1708416000"; d="scan'208";a="64144628" Received: from lkp-server01.sh.intel.com (HELO e434dd42e5a1) ([10.239.97.150]) by orviesa001.jf.intel.com with ESMTP; 30 Apr 2024 18:40:01 -0700 Received: from kbuild by e434dd42e5a1 with local (Exim 4.96) (envelope-from ) id 1s1ywx-0008kB-0f; Wed, 01 May 2024 01:39:59 +0000 Date: Wed, 1 May 2024 09:39:23 +0800 From: kernel test robot To: skseofh@gmail.com, robh@kernel.org, saravanak@google.com, rppt@kernel.org Cc: oe-kbuild-all@lists.linux.dev, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Daero Lee Subject: Re: [PATCH] of: of_reserved_mem: clean-up reserved memory with no-map Message-ID: <202405010907.PHM9xSMi-lkp@intel.com> References: <20240428125505.434962-1-skseofh@gmail.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 In-Reply-To: <20240428125505.434962-1-skseofh@gmail.com> Hi, kernel test robot noticed the following build warnings: [auto build test WARNING on robh/for-next] [also build test WARNING on linus/master v6.9-rc6 next-20240430] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/skseofh-gmail-com/of-of_reserved_mem-clean-up-reserved-memory-with-no-map/20240430-144643 base: https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git for-next patch link: https://lore.kernel.org/r/20240428125505.434962-1-skseofh%40gmail.com patch subject: [PATCH] of: of_reserved_mem: clean-up reserved memory with no-map config: openrisc-allnoconfig (https://download.01.org/0day-ci/archive/20240501/202405010907.PHM9xSMi-lkp@intel.com/config) compiler: or1k-linux-gcc (GCC) 13.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240501/202405010907.PHM9xSMi-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/202405010907.PHM9xSMi-lkp@intel.com/ All warnings (new ones prefixed by >>): drivers/of/of_reserved_mem.c: In function 'early_init_dt_reserve_memory': >> drivers/of/of_reserved_mem.c:95:25: warning: 'return' with no value, in function returning non-void [-Wreturn-type] 95 | return; | ^~~~~~ drivers/of/of_reserved_mem.c:81:19: note: declared here 81 | static int __init early_init_dt_reserve_memory(phys_addr_t base, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ vim +/return +95 drivers/of/of_reserved_mem.c 80 81 static int __init early_init_dt_reserve_memory(phys_addr_t base, 82 phys_addr_t size, bool nomap) 83 { 84 if (nomap) { 85 /* 86 * If the memory is already reserved (by another region), we 87 * should not allow it to be marked nomap, but don't worry 88 * if the region isn't memory as it won't be mapped. 89 */ 90 if (memblock_overlaps_region(&memblock.memory, base, size) && 91 memblock_is_region_reserved(base, size)) 92 return -EBUSY; 93 94 if (memblock_mark_nomap(base, size)) > 95 return; 96 } 97 return memblock_reserve(base, size); 98 } 99 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki