From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm1-f46.google.com (mail-wm1-f46.google.com [209.85.128.46]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8EEFD2BEC2B for ; Sat, 28 Mar 2026 08:03:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.46 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774685037; cv=none; b=HBv9/to6P3eHsBO1J6pNlnvCHIXj7NPlP/877t2AiC/T7gceMHdvpJwa9xRiVRQknZRVeM4lwTFLI7soL0hbm6uvSuiIGKIjHmWG3W7I2dK/rN6FpYmCgRxpyRu2S7J1gdK2oe4kPdodV4p3N+NTjjhGFfOWwrR0oIJ9ASFOtWA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774685037; c=relaxed/simple; bh=NH+hEFS8hz3IE+U1Z5XdJyaeNSgXk9PM8mmULE+qStI=; h=Date:From:To:Cc:Subject:Message-ID:MIME-Version:Content-Type: Content-Disposition:In-Reply-To; b=fIx3DwnTfLB5rmL77Rzr4I2dFbOEPjC7T07uzeLTS4Ljt3wSwT+A8XExw8SYZC1uOl5wYL70xe5fqHj2b6Xg2GRgX43uga9EeSVAamUKIhJeKedhKh6x8vHMrfMNftvT3n0G/BMJ9aB6CF2cnP1bA4j+6t22GoPwlFI2rc85FV8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=cSxwjufM; arc=none smtp.client-ip=209.85.128.46 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="cSxwjufM" Received: by mail-wm1-f46.google.com with SMTP id 5b1f17b1804b1-486fe36cfabso19671375e9.1 for ; Sat, 28 Mar 2026 01:03:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1774685035; x=1775289835; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:message-id:subject:cc :to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=RljilLjsuRo1BCKXyXXUIO51n5ZE6ILez8/GHw5fO4w=; b=cSxwjufMyWgTseZjKfTZgWkrcMamRjRrv2q1Wr3mQwp3uOae18kDFRWDuNeAncteVs wBGcdE6ulaVFxc07kKGw8S/jdm52hUw+svX+uEEEX3uSVPEyN46AepKGeQF1R0rhFH39 oKxcQ4PsS3gozJpb2JYUSpg8rBSdadbCk+zMulyZDZVfn+tUKYcni5IHVNDGCk3LkcsP p4yeH8cnW4XsQr9sGPad4UkmDJogMGFRbh3z2oDlkJgzlvvkXRuLtTPuZoIj5Vh/hWxZ LGbmg2C/QQ7AVDQ4QR3gsSnNOxB7XZzb+SFFuRfOZAyg3YiKaiQ9WikS10mXbjcyliN0 48vQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1774685035; x=1775289835; h=in-reply-to:content-disposition:mime-version:message-id:subject:cc :to:from:date:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=RljilLjsuRo1BCKXyXXUIO51n5ZE6ILez8/GHw5fO4w=; b=KpK45K91PtoiRlK/P+pi0fmektCDpZ85hh3mOu01n5eYn4Q/EDbu02+4p/fYSFcp8K CAb1L39+Q/bSR2OiSLbkXhpCJ9a+32p65n5TFS2y8vN9VqqvFpG6sOF/NEPdWtG/Sq9N MDMA8GkK/GBRgZMJm5DCjXebMsTS2keTKMcHIsWVhJkqlwWnuWGZhstFXsHDpajyToS4 OAk7zOtjTbFTBLSvEPk6Lamt/OR/mj14FPz+riAqNRR6x9zBA53j2q776GAiuI4BCib+ 4p4jkyTwWtS7XtLwnkE4jQ/NixrSV+ddzY141PTwoM46UcZ9ckjoLwbJrSK/VLwA/1nQ xiPw== X-Forwarded-Encrypted: i=1; AJvYcCWzSra7TuS0CFkcrVer2p4b1fY5UturAyySjRTgVVXRj2L7q711B6/2//SHPPU9TAfbTQU9guhlB8H6DNU=@vger.kernel.org X-Gm-Message-State: AOJu0Yzhs+Qta9ErO7/WFpZaovVemaUUkLDOFi4pPg/T64EdlqeIX5ZU P7fLeckGUMF62Oebdq8VNpV8EQTvs2h/pX7N4SorwrdLlhWHT8xJ7x+2 X-Gm-Gg: ATEYQzzJaXpZM/rKwyfjxHQNWkIXfxVFeh/eoIV0PKO9BOCNovfxovWRGZ3oq3dKHIH Rka9GPTJti5rXjOfHcO/BCdjj+xfqWLRDWYXPxUd1EBirbqympfynuGlnhFetT5TDu2usxJT9Re 3NVGl6F9YOLcRzF6FEzSxp8/hKY4+M3Ekh1FLR55ubJRWgBZmP+embdpupBMMnAoYjcrJM3dzqF xMi6Z7ga1HeVHBrpyt9NQqFZSm7QgYOu4t0uNhsYvhtYxSH6dmbylTpLux3RVHPPyK+SjlzK5sg +cOrJBe3T4013KztdoJerAqWjaBVcBG2RuBaxLoxmDClEqLaziCwkz7KIogISzhgtWPo79VYjDz lFqVt6FM3QSt9RD4ftLb3bQcVNWdquFIIrZkabgAEev95JGsEOkiijOUZP6aQUPyNsw1Xo6HWWV FaX2cGbtZQfsSNid0BOl8= X-Received: by 2002:a05:600c:792:b0:485:4f11:aabc with SMTP id 5b1f17b1804b1-48722bf80d6mr69911705e9.15.1774685034825; Sat, 28 Mar 2026 01:03:54 -0700 (PDT) Received: from localhost ([196.207.164.177]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-43cf21e29b1sm3485077f8f.8.2026.03.28.01.03.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 28 Mar 2026 01:03:53 -0700 (PDT) Date: Sat, 28 Mar 2026 11:03:50 +0300 From: Dan Carpenter To: oe-kbuild@lists.linux.dev, "Rafael J. Wysocki" , Linux PM Cc: lkp@intel.com, oe-kbuild-all@lists.linux.dev, Mauricio Faria de Oliveira , LKML , Daniel Lezcano , Lukasz Luba Subject: Re: [PATCH v1] thermal: core: Address thermal zone removal races with resume Message-ID: <202603280307.P9324SuS-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 In-Reply-To: <12876512.O9o76ZdvQC@rafael.j.wysocki> Hi Rafael, kernel test robot noticed the following build warnings: https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Rafael-J-Wysocki/thermal-core-Address-thermal-zone-removal-races-with-resume/20260327-222101 base: https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git thermal patch link: https://lore.kernel.org/r/12876512.O9o76ZdvQC%40rafael.j.wysocki patch subject: [PATCH v1] thermal: core: Address thermal zone removal races with resume config: i386-randconfig-141-20260328 (https://download.01.org/0day-ci/archive/20260328/202603280307.P9324SuS-lkp@intel.com/config) compiler: clang version 20.1.8 (https://github.com/llvm/llvm-project 87f0227cb60147a26a1eeb4fb06e3b505e9c7261) smatch: v0.5.0-9004-gb810ac53 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 | Reported-by: Dan Carpenter | Closes: https://lore.kernel.org/r/202603280307.P9324SuS-lkp@intel.com/ smatch warnings: drivers/thermal/thermal_core.c:1913 thermal_init() warn: missing error code 'result' vim +/result +1913 drivers/thermal/thermal_core.c 203d3d4aa48233 drivers/thermal/thermal.c Zhang Rui 2008-01-17 1900 static int __init thermal_init(void) 203d3d4aa48233 drivers/thermal/thermal.c Zhang Rui 2008-01-17 1901 { 80a26a5c22b90a drivers/thermal/thermal_core.c Zhang Rui 2013-03-26 1902 int result; 80a26a5c22b90a drivers/thermal/thermal_core.c Zhang Rui 2013-03-26 1903 755113d7678681 drivers/thermal/thermal_core.c Daniel Lezcano 2024-01-09 1904 thermal_debug_init(); 755113d7678681 drivers/thermal/thermal_core.c Daniel Lezcano 2024-01-09 1905 d2a89b52839597 drivers/thermal/thermal_core.c Daniel Lezcano 2020-07-17 1906 result = thermal_netlink_init(); d2a89b52839597 drivers/thermal/thermal_core.c Daniel Lezcano 2020-07-17 1907 if (result) d2a89b52839597 drivers/thermal/thermal_core.c Daniel Lezcano 2020-07-17 1908 goto error; d2a89b52839597 drivers/thermal/thermal_core.c Daniel Lezcano 2020-07-17 1909 f777132b791874 drivers/thermal/thermal_core.c Rafael J. Wysocki 2026-03-26 1910 thermal_wq = alloc_workqueue("thermal_events", f777132b791874 drivers/thermal/thermal_core.c Rafael J. Wysocki 2026-03-26 1911 WQ_FREEZABLE | WQ_POWER_EFFICIENT | WQ_PERCPU, 0); f777132b791874 drivers/thermal/thermal_core.c Rafael J. Wysocki 2026-03-26 1912 if (!thermal_wq) f777132b791874 drivers/thermal/thermal_core.c Rafael J. Wysocki 2026-03-26 @1913 goto unregister_netlink; result = -ENOMEM; -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki