Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp5524931pxb; Wed, 26 Jan 2022 14:08:08 -0800 (PST) X-Google-Smtp-Source: ABdhPJwRkrJGo1IirFVGggpa5gitGwviI1rH7jygcwdcuQhkCW2ODwCT5+C0hAByv1+34v3b1wB7 X-Received: by 2002:a17:906:c14d:: with SMTP id dp13mr726988ejc.188.1643234888253; Wed, 26 Jan 2022 14:08:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643234888; cv=none; d=google.com; s=arc-20160816; b=mmsCdgZ6iz11albroEUo3JtDmHAWBLpR5hjc0GHKEYJW5bd36X1pQSFy9Aaa+kwk7n FpFT/mwy1o55TVE/jSWcdH3NZy9iyaoHDyaf8Isg7sApQ33+4aNFSCclKxHFXHaGtghZ uTGgekhl7nmvptxnmL39bAw7k6IsU+p+ZRXMzt1estu1GerWI6dyBnJEwpqqjepVYzx1 +eVohfV6OTnnVwdWdxYwuo5arHKK4FRCIRZkYll5Ujy7WNCWYOhMYZbw2rgqFhIcvUVD rInenhRjvzYA9E6sRJJlHbSDtg10mxMhq2o/crrESoluGqdA1g6+6AAnpOnG7/FCOAo5 kMpg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=wDwO8a+2ytlvqgRgN0KdJJ0AFpdvf5O5gJ/1Qe0tW6E=; b=Mhd2Y/hs3feNwObm6DN3Lzgsgdj28ItZe1Ow6D3mNU3M6bpopbzELwFTPgaZ8Ts9Sd pHY0IHOdtS+/OZHlH3hfg3NpxunX0tfKkt1ZVn8MXZorbtu0ooKJVMbWAtjZs2Yj5vyk x3RIlmqaokPXCBlDevYRqzoK/yQ2MHhEPzWbKoEFDdwleAf6iE2AtJWwMl5jeMZFl2o+ Q3cny5Mc8GvkPTMnb9okDJB8Jmi/ypDP5JZ4PXuebm5/8cR6bbtAgbCkvQZDPMEphuMb 5fenniLfdQDRiApkgg6Wr8Wm5qyZ6tpbLGTEbIQVXIF7s/P2ndEZu8aORhvgcUZlWpOB yKJg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=XmesMcw2; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e9si314324ejs.590.2022.01.26.14.07.42; Wed, 26 Jan 2022 14:08:08 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=XmesMcw2; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243083AbiAZPtB (ORCPT + 99 others); Wed, 26 Jan 2022 10:49:01 -0500 Received: from mga07.intel.com ([134.134.136.100]:54866 "EHLO mga07.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235555AbiAZPtB (ORCPT ); Wed, 26 Jan 2022 10:49:01 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1643212141; x=1674748141; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=+J63yfbsQbuQjnkNpkFhv6uxQDj/oTnzatWDWLCsMgU=; b=XmesMcw2YCailfty3FSyhP6YEBWuDAC0r6Cq9sV9HN4rKo9L0ouw/kiO cBRG0d6+p+q2m+S7LH52w32naaGPdOOa5hckGdwefz2vW00EbjyJeeO8J MX2hcWl6MHv+heqTI47FcbI9Mdy13hRTttJ3SO9rmIfH94YViMGIyrth1 gXlTzeZyOu7rYJp00axWpWIr67BffSoHQct7kALp5mQJ1Oeu8XMMz8FMX QOVLoXOsJathTBDVoDgktcaQTqEO3hoa0S28ana1fx7P3NpGT59FyFk0a sVXYytvuFu7cTdZuG0SpLMu5KgWEdZKFtGngHldIVTVxaPNpTbexVuIvp g==; X-IronPort-AV: E=McAfee;i="6200,9189,10238"; a="309891077" X-IronPort-AV: E=Sophos;i="5.88,318,1635231600"; d="scan'208";a="309891077" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Jan 2022 07:49:00 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,318,1635231600"; d="scan'208";a="563442847" Received: from lkp-server01.sh.intel.com (HELO 276f1b88eecb) ([10.239.97.150]) by orsmga001.jf.intel.com with ESMTP; 26 Jan 2022 07:48:58 -0800 Received: from kbuild by 276f1b88eecb with local (Exim 4.92) (envelope-from ) id 1nCkXZ-000LLv-No; Wed, 26 Jan 2022 15:48:57 +0000 Date: Wed, 26 Jan 2022 23:48:51 +0800 From: kernel test robot To: Manaf Meethalavalappu Pallikunhi , Lukasz Luba , "Rafael J . Wysocki" , Daniel Lezcano , Amit Kucheria , Zhang Rui Cc: kbuild-all@lists.01.org, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, Manaf Meethalavalappu Pallikunhi Subject: Re: [PATCH v4] drivers: thermal: clear all mitigation when thermal zone is disabled Message-ID: <202201262251.KzdCvJYy-lkp@intel.com> References: <1643128565-22838-1-git-send-email-quic_manafm@quicinc.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1643128565-22838-1-git-send-email-quic_manafm@quicinc.com> User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Manaf, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on rafael-pm/thermal] [also build test WARNING on v5.17-rc1 next-20220125] [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] url: https://github.com/0day-ci/linux/commits/Manaf-Meethalavalappu-Pallikunhi/drivers-thermal-clear-all-mitigation-when-thermal-zone-is-disabled/20220126-004720 base: https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git thermal config: nios2-randconfig-m031-20220124 (https://download.01.org/0day-ci/archive/20220126/202201262251.KzdCvJYy-lkp@intel.com/config) compiler: nios2-linux-gcc (GCC) 11.2.0 If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot smatch warnings: drivers/thermal/gov_step_wise.c:189 step_wise_unbind() warn: inconsistent indenting vim +189 drivers/thermal/gov_step_wise.c 169 170 /** 171 * step_wise_unbind() - unbind the step_wise governor to a thermal zone 172 * @tz: thermal zone to unbind it to 173 * 174 * Clear all previous throttling and reset passive counter. 175 * 176 */ 177 static void step_wise_unbind(struct thermal_zone_device *tz) 178 { 179 struct thermal_instance *instance; 180 181 dev_dbg(&tz->device, "Unbinding from thermal zone %d\n", tz->id); 182 183 mutex_lock(&tz->lock); 184 tz->passive = 0; 185 list_for_each_entry(instance, &tz->thermal_instances, tz_node) { 186 instance->initialized = false; 187 instance->target = THERMAL_NO_TARGET; 188 mutex_lock(&instance->cdev->lock); > 189 __thermal_cdev_update(instance->cdev); 190 mutex_unlock(&instance->cdev->lock); 191 } 192 mutex_unlock(&tz->lock); 193 } 194 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org