From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm1-f48.google.com (mail-wm1-f48.google.com [209.85.128.48]) (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 9C30F2ED141 for ; Sat, 28 Mar 2026 08:03:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.48 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774685038; cv=none; b=Ymk9ra6O1LC9VbJejqi+O1RKaDs+qO5xZdf1gE5TvLj1P4hhHdZVoF0tqQ8KKvQk2Cugwgmnvm3fscJGU302E2qsCNr1S/fz1LbWrz/s+tnBL4mmiT+KuFclTNH94Q8WAejHjuL9kntZqtI2Sz2KTQL+KFJVuhz7VZwtcDOtSJM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774685038; 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=Su8MyyPJo0NvtuMnqBMBfxahs99U8dr//wV0qv2uJb2Zqs4P9lkHigHudKZAEKCvDOJMsvYpBZNziWtyLjMnoy+1ieBk+rmt61X/uuDGd6AlcQN8TcjtTKFyhV65tGe7HkUMcNfp7m7fr3/5na7EjxYyFZSPwqOfuafjhYD1iJE= 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.48 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-f48.google.com with SMTP id 5b1f17b1804b1-482f454be5bso36030295e9.0 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=ZdIlju/L1oXvr9ZqSrB5rjSe88VtDwWeqiuhf3vD0wz3EPJfqV/LoKxZnXh+6OTqAA LfcgUagaY8okADO+R/8r2oguqbNq801vfyzO4kBx5lPmbll3IkMgK4k8KJtlPXy/HcTV k30mAqP4thYyZsvVHzFDId+VdiXFqYJKYNdtQsN/WLUmUIiMz4vfluTGbQLOkoJBKgjM VlilZdf/hrHSH5xjmzOh5a+rnzEdy/ZKBQf1Q5CcdMl6rDmy/lsljp6S9cCXaMjsHes+ UVpprglVJfKcgwD55l8sCBQZVbxfNta4WHXRe9B/WF43hkOvy1GS87MANC82E2zdsdmB hEmw== X-Forwarded-Encrypted: i=1; AJvYcCW9AFioWb42GVIwXLjvZD3ceFWsHC9LEWtZ5H9t3YAYDqzgxZ/hae+C49UZwUCBBGppgz8DCDHR9Q==@vger.kernel.org X-Gm-Message-State: AOJu0Yw6fBOd955W/EGkUkrsEOIIvw9wwyVN6fgJeU4lz98gw8V0mghX 42k6X1jqiVNBLg5U5PZpLI8MzPXJsah15Xuhjr6Dv9SbZ/oTXXXodDet X-Gm-Gg: ATEYQzwXnkkc3Mkdyecqh1O3T9oRSoYoysPWTppC5A4HBPY8+fYAvdZySFZMf1GpDRA PhduwWvaTdTwRU44CmModbxjaqQNiKqhmF8NOvLaPUwWPW+K20UpP9cmTemxcDEgsOtWW5zY3Mx 9D6qXcZbbOv2dAvdikq5laTTjlTPxVrzTr0jstZURP6Vx0ZUmSIQXb8knsjMsl27pXerxgnJyIR dv4l3fVsMn83Nw64cIVepwR15GrregLHYlGhuKPR3HXDOsJtBV3oxrp0Txb7QVbTmIo6cfgOAPA ac54kXJduaMxW9yz02ll/A4EtxjonNF5aMRM2eP433TJRweE6NDYj2ICCEdL+us/XY4/6euTXm/ C0A0UWF2bpQA/DDJdN42o/wC7dzf2ICdMIXEcn/UpTd7QfGNrtwTIpBg9XEkpgmm+o0gdEruyIz 7mPLPWCLNItF36rEAPMgc= 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-pm@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