From: kernel test robot <lkp@intel.com>
To: Adam Ford <aford173@gmail.com>, linux-clk@vger.kernel.org
Cc: oe-kbuild-all@lists.linux.dev, aford@beaconembedded.com,
Adam Ford <aford173@gmail.com>, Abel Vesa <abelvesa@kernel.org>,
Peng Fan <peng.fan@nxp.com>,
Michael Turquette <mturquette@baylibre.com>,
Stephen Boyd <sboyd@kernel.org>, Shawn Guo <shawnguo@kernel.org>,
Sascha Hauer <s.hauer@pengutronix.de>,
Pengutronix Kernel Team <kernel@pengutronix.de>,
Fabio Estevam <festevam@gmail.com>,
NXP Linux Team <linux-imx@nxp.com>,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] clk: imx: composite-8m: Add imx8m_divider_determine_rate
Date: Sun, 7 May 2023 01:41:38 +0800 [thread overview]
Message-ID: <202305070143.iTqgbS75-lkp@intel.com> (raw)
In-Reply-To: <20230506162403.375212-1-aford173@gmail.com>
Hi Adam,
kernel test robot noticed the following build warnings:
[auto build test WARNING on clk/clk-next]
[also build test WARNING on v6.3 next-20230505]
[cannot apply to abelvesa/clk/imx linus/master]
[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#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/Adam-Ford/clk-imx-composite-8m-Add-imx8m_divider_determine_rate/20230507-002453
base: https://git.kernel.org/pub/scm/linux/kernel/git/clk/linux.git clk-next
patch link: https://lore.kernel.org/r/20230506162403.375212-1-aford173%40gmail.com
patch subject: [PATCH] clk: imx: composite-8m: Add imx8m_divider_determine_rate
config: m68k-allyesconfig (https://download.01.org/0day-ci/archive/20230507/202305070143.iTqgbS75-lkp@intel.com/config)
compiler: m68k-linux-gcc (GCC) 12.1.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://github.com/intel-lab-lkp/linux/commit/d92df3b38fc20beb735cb3b75f118b45d1ae304b
git remote add linux-review https://github.com/intel-lab-lkp/linux
git fetch --no-tags linux-review Adam-Ford/clk-imx-composite-8m-Add-imx8m_divider_determine_rate/20230507-002453
git checkout d92df3b38fc20beb735cb3b75f118b45d1ae304b
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=m68k olddefconfig
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=m68k SHELL=/bin/bash drivers/clk/
If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@intel.com>
| Link: https://lore.kernel.org/oe-kbuild-all/202305070143.iTqgbS75-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> drivers/clk/imx/clk-composite-8m.c:122:5: warning: no previous prototype for 'imx8m_divider_determine_rate' [-Wmissing-prototypes]
122 | int imx8m_divider_determine_rate(struct clk_hw *hw,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
vim +/imx8m_divider_determine_rate +122 drivers/clk/imx/clk-composite-8m.c
121
> 122 int imx8m_divider_determine_rate(struct clk_hw *hw,
123 struct clk_rate_request *req)
124 {
125 struct clk_divider *divider = to_clk_divider(hw);
126 int prediv_value;
127 int div_value;
128
129 /* if read only, just return current value */
130 if (divider->flags & CLK_DIVIDER_READ_ONLY) {
131 u32 val;
132
133 val = readl(divider->reg);
134 prediv_value = val >> divider->shift;
135 prediv_value &= clk_div_mask(divider->width);
136
137 div_value = val >> PCG_DIV_SHIFT;
138 div_value &= clk_div_mask(PCG_DIV_WIDTH);
139
140 return divider_ro_determine_rate(hw, req, divider->table,
141 PCG_PREDIV_WIDTH + PCG_DIV_WIDTH,
142 divider->flags, prediv_value * div_value);
143 }
144
145 return divider_determine_rate(hw, req, divider->table,
146 PCG_PREDIV_WIDTH + PCG_DIV_WIDTH,
147 divider->flags);
148 }
149
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests
next prev parent reply other threads:[~2023-05-06 17:42 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-05-06 16:24 [PATCH] clk: imx: composite-8m: Add imx8m_divider_determine_rate Adam Ford
2023-05-06 17:41 ` kernel test robot [this message]
2023-05-06 18:12 ` kernel test robot
-- strict thread matches above, loose matches on Subject: below --
2023-05-06 19:53 Adam Ford
2023-05-12 3:03 ` Adam Ford
2023-05-19 22:04 ` Adam Ford
2023-05-20 11:36 ` Peng Fan
2023-05-23 2:32 ` Peng Fan
2023-05-23 3:23 ` Adam Ford
2023-05-28 3:31 ` Adam Ford
2023-06-06 18:45 ` Fabio Estevam
2023-06-11 17:02 ` Adam Ford
2023-06-12 16:08 ` Maxime Ripard
2023-06-12 16:11 ` Adam Ford
2023-06-13 8:23 ` Maxime Ripard
2023-06-12 8:56 ` Abel Vesa
2023-06-12 9:32 ` Abel Vesa
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=202305070143.iTqgbS75-lkp@intel.com \
--to=lkp@intel.com \
--cc=abelvesa@kernel.org \
--cc=aford173@gmail.com \
--cc=aford@beaconembedded.com \
--cc=festevam@gmail.com \
--cc=kernel@pengutronix.de \
--cc=linux-clk@vger.kernel.org \
--cc=linux-imx@nxp.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mturquette@baylibre.com \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=peng.fan@nxp.com \
--cc=s.hauer@pengutronix.de \
--cc=sboyd@kernel.org \
--cc=shawnguo@kernel.org \
/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