From: kernel test robot <lkp@intel.com>
To: "Uwe Kleine-König" <u.kleine-koenig@pengutronix.de>,
"Michael Turquette" <mturquette@baylibre.com>,
"Stephen Boyd" <sboyd@kernel.org>,
"Russell King" <linux@armlinux.org.uk>
Cc: oe-kbuild-all@lists.linux.dev, linux-clk@vger.kernel.org,
Krzysztof Kozlowski <krzk@kernel.org>,
Thierry Reding <thierry.reding@gmail.com>,
Jonathan Hunter <jonathanh@nvidia.com>,
Johan Hovold <johan+linaro@kernel.org>,
Georgi Djakov <djakov@kernel.org>, Rob Herring <robh@kernel.org>,
linux-tegra@vger.kernel.org, kernel@pengutronix.de
Subject: Re: [PATCH 4/5] memory: tegra30-emc: Simplify usage of clk_rate_exclusive_get()
Date: Fri, 15 Dec 2023 22:20:03 +0800 [thread overview]
Message-ID: <202312152223.5QHKKu32-lkp@intel.com> (raw)
In-Reply-To: <9cf2553c9da167ebf6654bbdeab6ce2a93232ca6.1702400947.git.u.kleine-koenig@pengutronix.de>
Hi Uwe,
kernel test robot noticed the following build warnings:
[auto build test WARNING on bbd220ce4e29ed55ab079007cff0b550895258eb]
url: https://github.com/intel-lab-lkp/linux/commits/Uwe-Kleine-K-nig/PM-devfreq-sun8i-a33-mbus-Simplify-usage-of-clk_rate_exclusive_get/20231213-012823
base: bbd220ce4e29ed55ab079007cff0b550895258eb
patch link: https://lore.kernel.org/r/9cf2553c9da167ebf6654bbdeab6ce2a93232ca6.1702400947.git.u.kleine-koenig%40pengutronix.de
patch subject: [PATCH 4/5] memory: tegra30-emc: Simplify usage of clk_rate_exclusive_get()
config: s390-allyesconfig (https://download.01.org/0day-ci/archive/20231215/202312152223.5QHKKu32-lkp@intel.com/config)
compiler: s390-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231215/202312152223.5QHKKu32-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 <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202312152223.5QHKKu32-lkp@intel.com/
All warnings (new ones prefixed by >>):
drivers/memory/tegra/tegra30-emc.c: In function 'tegra_emc_suspend':
>> drivers/memory/tegra/tegra30-emc.c:1696:13: warning: unused variable 'err' [-Wunused-variable]
1696 | int err;
| ^~~
vim +/err +1696 drivers/memory/tegra/tegra30-emc.c
e34212c75a6899 Dmitry Osipenko 2019-08-12 1692
e34212c75a6899 Dmitry Osipenko 2019-08-12 1693 static int tegra_emc_suspend(struct device *dev)
e34212c75a6899 Dmitry Osipenko 2019-08-12 1694 {
e34212c75a6899 Dmitry Osipenko 2019-08-12 1695 struct tegra_emc *emc = dev_get_drvdata(dev);
51bb73f93410a3 Dmitry Osipenko 2019-12-20 @1696 int err;
e34212c75a6899 Dmitry Osipenko 2019-08-12 1697
51bb73f93410a3 Dmitry Osipenko 2019-12-20 1698 /* take exclusive control over the clock's rate */
2ba3f947597dae Uwe Kleine-König 2023-12-12 1699 clk_rate_exclusive_get(emc->clk);
51bb73f93410a3 Dmitry Osipenko 2019-12-20 1700
51bb73f93410a3 Dmitry Osipenko 2019-12-20 1701 /* suspending in a bad state will hang machine */
51bb73f93410a3 Dmitry Osipenko 2019-12-20 1702 if (WARN(emc->bad_state, "hardware in a bad state\n"))
e34212c75a6899 Dmitry Osipenko 2019-08-12 1703 return -EINVAL;
e34212c75a6899 Dmitry Osipenko 2019-08-12 1704
e34212c75a6899 Dmitry Osipenko 2019-08-12 1705 emc->bad_state = true;
e34212c75a6899 Dmitry Osipenko 2019-08-12 1706
e34212c75a6899 Dmitry Osipenko 2019-08-12 1707 return 0;
e34212c75a6899 Dmitry Osipenko 2019-08-12 1708 }
e34212c75a6899 Dmitry Osipenko 2019-08-12 1709
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
next prev parent reply other threads:[~2023-12-15 14:20 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-12-12 17:26 [PATCH 0/5] clk: Make clk_rate_exclusive_get() return void Uwe Kleine-König
2023-12-12 17:26 ` [PATCH 1/5] PM / devfreq: sun8i-a33-mbus: Simplify usage of clk_rate_exclusive_get() Uwe Kleine-König
2023-12-12 18:16 ` Andre Przywara
2023-12-12 17:26 ` [PATCH 2/5] drm/meson: " Uwe Kleine-König
2023-12-12 17:26 ` [PATCH 3/5] memory: tegra210-emc: " Uwe Kleine-König
2023-12-13 6:11 ` Krzysztof Kozlowski
2023-12-15 12:50 ` kernel test robot
2023-12-12 17:26 ` [PATCH 4/5] memory: tegra30-emc: " Uwe Kleine-König
2023-12-13 6:11 ` Krzysztof Kozlowski
2023-12-15 14:20 ` kernel test robot [this message]
2023-12-12 17:26 ` [PATCH 5/5] clk: Make clk_rate_exclusive_get() return void Uwe Kleine-König
2023-12-13 7:16 ` [PATCH 0/5] " Maxime Ripard
2023-12-13 7:43 ` Uwe Kleine-König
2023-12-13 8:36 ` Maxime Ripard
2023-12-13 11:08 ` Uwe Kleine-König
2023-12-13 11:54 ` Maxime Ripard
2023-12-13 15:52 ` Uwe Kleine-König
2023-12-15 12:34 ` Maxime Ripard
2023-12-15 15:15 ` Uwe Kleine-König
2023-12-15 18:49 ` Uwe Kleine-König
2023-12-13 16:44 ` Neil Armstrong
2023-12-15 9:11 ` Maxime Ripard
2023-12-15 9:46 ` Jerome Brunet
2023-12-15 8:41 ` Jerome Brunet
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=202312152223.5QHKKu32-lkp@intel.com \
--to=lkp@intel.com \
--cc=djakov@kernel.org \
--cc=johan+linaro@kernel.org \
--cc=jonathanh@nvidia.com \
--cc=kernel@pengutronix.de \
--cc=krzk@kernel.org \
--cc=linux-clk@vger.kernel.org \
--cc=linux-tegra@vger.kernel.org \
--cc=linux@armlinux.org.uk \
--cc=mturquette@baylibre.com \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=robh@kernel.org \
--cc=sboyd@kernel.org \
--cc=thierry.reding@gmail.com \
--cc=u.kleine-koenig@pengutronix.de \
/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