From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=192.198.163.11 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1794432421; b=TkubU7dwOut6peUnUCzs4U35rhut7IwNstoxK4pgQox4tMExv1eQr9glfoerQgiCiSnU EsiUW/K/2Z+EY2ltzzmqaPfuibrT3CZN11MMpzaObtbnT0U0mryapUPM4JZjEaFXXgw0T fG4K5uxfxQXrtdqf8Z5nGKUEEIMQSDiROZdeVIe31AmKobRBGbNIhF0FlFKRh53xalGKc Hy0V/N+PJsHDpaWc0CLrZ/pK+I7i+24ppbWiitZn+KNWH1mn26+koIp3vw4QZrB3KodZG tO2tbbkr6uOX4qljpCdoyQ8vmeFwBcv35GB0Y8+e7kCiDwfHOKOhTSqc1XPROLBIqmg== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1794432421; h=DMARC-Filter:DKIM-Signature:X-CSE-ConnectionGUID:X-CSE-MsgGUID: X-IronPort-AV:X-IronPort-AV:Received:X-CSE-ConnectionGUID: X-CSE-MsgGUID:X-ExtLoop1:X-IronPort-AV:Received:Received:Date:From:To: Cc:Subject:Message-ID:References:MIME-Version:Content-Type: Content-Disposition:In-Reply-To; bh=u3+WvINjN2a5BUb9f0DV7gLMYKgjXRf58f/0Rul7fNs=; b=bIW3bHYxABtjU33bhtV/aNTkMLB78y3pNuO5B8iO/vj4eTU0h/qMvtn2oacyy7dTPLWT jx6kQEeZWKA06CPxYr8hNUU+8W3dTSVQNAh52Fybb5u3OBuB6tGa/gQVbYl6ptE0yiKlD RaqRmmz2e2Ofuh04QdliOF4NoK/qN6YsplRkME7iU/LDYz0413zRU9aKnH5sVvTArS826 tA+sdZUPAFWeXIuUVSZP1HvMfdU7/dETP8CSKfkgW19wjfUze9gxJmie5eFnSqajqGzSY pVBo0JgB6ehw6X6Swxw2o1yE/kwcPPjIq29ZhuJV7ZpLWIQj3MFAW8IkUrDPO3UcXmA== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=eRMhAtog; arc=none smtp.remote-ip=192.198.163.11 Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.11]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2D8E0606A32A; Wed, 11 Nov 2026 21:26:59 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 2D8E0606A32A 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.a=rsa-sha256 header.s=Intel header.b=eRMhAtog DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1794432421; x=1825968421; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=udo0vbSSWRcZX5jnygNE5yspGvO38rys8qMq0Qol2qQ=; b=eRMhAtogkROicWvxg4GAxhDeskRrfcmsvYw0t7UqVSRDaiJt/cG4vfzu mqzvLUPVP2bsI3oZTnJ6XT9AiDxKb2tD9/Z4ZBYQHm9okInsccbrFT5oK SGK7uFY0pCaNqoC7toWq46YNNJi+1biFCWV95VABcZPw19LkQiLs50nua dTLYtiF20hu1FsErPYmViIM+Ci5qBate816neyvpWtR6Ga4DehmspdJd9 Yc0Infj5ao5RLphemRU9ac1DGK8nIEc7/3z//+PlQR3ty3ry2J9TQ1NtW Qs9QVgCcf3ZP2rgqM/ec8x7yyi9xzkQcTnMNQVutKjt0nW3KION4Rw4y1 g==; X-CSE-ConnectionGUID: 9sjooUI1R3qRMExkqJCBqg== X-CSE-MsgGUID: CkQpPTeiQ/ChpXMhGJjoKA== X-IronPort-AV: E=McAfee;i="6800,10657,11963"; a="3130234" X-IronPort-AV: E=Sophos;i="6.27,208,1787036400"; d="scan'208";a="3130234" Received: from orviesa003.jf.intel.com ([10.64.159.143]) by fmvoesa105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Nov 2026 13:27:00 -0800 X-CSE-ConnectionGUID: F/bCdLjURl+jFqe5qLJuAg== X-CSE-MsgGUID: JmvdEdEoSDC7srVHgqdwww== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.27,208,1787036400"; d="scan'208";a="8382267" Received: from lkp-server01.sh.intel.com (HELO 0caa9d2d175c) ([10.239.97.150]) by orviesa003.jf.intel.com with ESMTP; 11 Nov 2026 13:26:58 -0800 Received: from kbuild by 0caa9d2d175c with local (Exim 4.98.2) (envelope-from ) id 1xRFqI-00000000zmN-3ZEF; Wed, 11 Nov 2026 21:26:54 +0000 Date: Thu, 12 Nov 2026 05:26:35 +0800 From: kernel test robot To: Peter Marshall , Maximilian Luz , Hans de Goede , Ilpo =?iso-8859-1?Q?J=E4rvinen?= Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev, platform-driver-x86@vger.kernel.org, linux-kernel@vger.kernel.org, Peter Marshall Subject: Re: [PATCH] platform/surface: platform_profile: handle fan standby state Message-ID: <202611120527.xw8ZORYY-lkp@intel.com> References: <20261111020916.3557508-2-pm@petermarshall.ca> X-Mailing-List: oe-kbuild-all@lists.linux.dev List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20261111020916.3557508-2-pm@petermarshall.ca> Hi Peter, kernel test robot noticed the following build warnings: [auto build test WARNING on linus/master] [also build test WARNING on v7.4-rc2 next-20261110] [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/Peter-Marshall/platform-surface-platform_profile-handle-fan-standby-state/20261110-210916 base: linus/master patch link: https://lore.kernel.org/r/20261111020916.3557508-2-pm%40petermarshall.ca patch subject: [PATCH] platform/surface: platform_profile: handle fan standby state config: loongarch-allmodconfig (https://download.01.org/0day-ci/archive/20261112/202611120527.xw8ZORYY-lkp@intel.com/config) compiler: clang version 19.1.7 (https://github.com/llvm/llvm-project cd708029e0b2869e80abe31ddb175f7c35361f90) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261112/202611120527.xw8ZORYY-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/202611120527.xw8ZORYY-lkp@intel.com/ All warnings (new ones prefixed by >>): >> drivers/platform/surface/surface_platform_profile.c:267:6: warning: variable 'status' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized] 267 | if (tpd->has_fan) { | ^~~~~~~~~~~~ drivers/platform/surface/surface_platform_profile.c:273:9: note: uninitialized use occurs here 273 | return status; | ^~~~~~ drivers/platform/surface/surface_platform_profile.c:267:2: note: remove the 'if' if its condition is always true 267 | if (tpd->has_fan) { | ^~~~~~~~~~~~~~~~~ drivers/platform/surface/surface_platform_profile.c:263:12: note: initialize the variable 'status' to silence this warning 263 | int status; | ^ | = 0 1 warning generated. vim +267 drivers/platform/surface/surface_platform_profile.c 259 260 static int surface_platform_profile_pm_prepare(struct device *dev) 261 { 262 struct ssam_platform_profile_device *tpd; 263 int status; 264 265 tpd = dev_get_drvdata(dev); 266 > 267 if (tpd->has_fan) { 268 status = ssam_fan_state_set(tpd->sdev, SSAM_FAN_STATE_STANDBY); 269 if (status) 270 dev_err(&tpd->sdev->dev, "pm: fan standby notification failed"); 271 } 272 273 return status; 274 } 275 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki