mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Manaf Meethalavalappu Pallikunhi <quic_manafm@quicinc.com>,
	Lukasz Luba <lukasz.luba@arm.com>,
	"Rafael J . Wysocki" <rafael@kernel.org>,
	Daniel Lezcano <daniel.lezcano@linaro.org>,
	Amit Kucheria <amitk@kernel.org>, Zhang Rui <rui.zhang@intel.com>
Cc: kbuild-all@lists.01.org, linux-pm@vger.kernel.org,
	linux-kernel@vger.kernel.org,
	Manaf Meethalavalappu Pallikunhi <quic_manafm@quicinc.com>
Subject: Re: [PATCH v4] drivers: thermal: clear all mitigation when thermal zone is disabled
Date: Wed, 26 Jan 2022 23:48:51 +0800	[thread overview]
Message-ID: <202201262251.KzdCvJYy-lkp@intel.com> (raw)
In-Reply-To: <1643128565-22838-1-git-send-email-quic_manafm@quicinc.com>

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 <lkp@intel.com>

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

      reply	other threads:[~2022-01-26 15:49 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-25 16:36 Manaf Meethalavalappu Pallikunhi
2022-01-26 15:48 ` kernel test robot [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202201262251.KzdCvJYy-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=amitk@kernel.org \
    --cc=daniel.lezcano@linaro.org \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pm@vger.kernel.org \
    --cc=lukasz.luba@arm.com \
    --cc=quic_manafm@quicinc.com \
    --cc=rafael@kernel.org \
    --cc=rui.zhang@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®