From: Stephen Boyd <sboyd@codeaurora.org>
To: Gabriel FERNANDEZ <gabriel.fernandez@st.com>
Cc: Michael Turquette <mturquette@baylibre.com>,
Rob Herring <robh+dt@kernel.org>,
Mark Rutland <mark.rutland@arm.com>,
Russell King <linux@armlinux.org.uk>,
Maxime Coquelin <mcoquelin.stm32@gmail.com>,
Alexandre TORGUE <alexandre.torgue@st.com>,
Nicolas Pitre <nico@linaro.org>, Arnd Bergmann <arnd@arndb.de>,
"daniel.thompson@linaro.org" <daniel.thompson@linaro.org>,
"andrea.merello@gmail.com" <andrea.merello@gmail.com>,
"radoslaw.pietrzyk@gmail.com" <radoslaw.pietrzyk@gmail.com>,
Lee Jones <lee.jones@linaro.org>,
"devicetree@vger.kernel.org" <devicetree@vger.kernel.org>,
"linux-arm-kernel@lists.infradead.org"
<linux-arm-kernel@lists.infradead.org>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
"linux-clk@vger.kernel.org" <linux-clk@vger.kernel.org>,
Ludovic BARRE <ludovic.barre@st.com>,
Olivier BIDEAU <olivier.bideau@st.com>,
Amelie DELAUNAY <amelie.delaunay@st.com>,
"gabriel.fernandez.st@gmail.com" <gabriel.fernandez.st@gmail.com>
Subject: Re: [PATCH v5 1/2] clk: gate: expose clk_gate_ops::is_enabled
Date: Mon, 17 Jul 2017 18:17:13 -0700 [thread overview]
Message-ID: <20170718011713.GN22780@codeaurora.org> (raw)
In-Reply-To: <cca4fdb9-7150-0259-4a78-b705b76f2986@st.com>
On 07/17, Gabriel FERNANDEZ wrote:
> Hi Stephen,
>
>
> On 07/14/2017 08:52 PM, kbuild test robot wrote:
> > Hi Gabriel,
> >
> > [auto build test ERROR on clk/clk-next]
> > [also build test ERROR on v4.12 next-20170714]
> > [if your patch is applied to the wrong git tree, please drop us a note to help improve the system]
> >
> > url: https://github.com/0day-ci/linux/commits/gabriel-fernandez-st-com/clk-stm32h7-Add-stm32h743-clock-driver/20170714-170518
> > base: https://git.kernel.org/pub/scm/linux/kernel/git/clk/linux.git clk-next
> > config: arm-lpc32xx_defconfig (attached as .config)
> > compiler: arm-linux-gnueabi-gcc (Debian 6.1.1-9) 6.1.1 20160705
> > reproduce:
> > wget https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
> > chmod +x ~/bin/make.cross
> > # save the attached .config to linux build tree
> > make.cross ARCH=arm
> >
> > All errors (new ones prefixed by >>):
> >
> >>> drivers/clk/nxp/clk-lpc32xx.c:906:12: error: static declaration of 'clk_gate_is_enabled' follows non-static declaration
> > static int clk_gate_is_enabled(struct clk_hw *hw)
> > ^~~~~~~~~~~~~~~~~~~
> > In file included from drivers/clk/nxp/clk-lpc32xx.c:13:0:
> > include/linux/clk-provider.h:346:5: note: previous declaration of 'clk_gate_is_enabled' was here
> > int clk_gate_is_enabled(struct clk_hw *hw);
> > ^~~~~~~~~~~~~~~~~~~
> >
> > https://lists.01.org/pipermail/kbuild-all Intel Corporation
>
> Rename 'clk_gate_is_enabled' into'__clk_gate_is_enabled' from clk-gate.c
> file, is it a good solution for you ?
>
> i could add also EXPORT_SYMBOL_GPL(__clk_gate_is_enabled) if you are ok.
No. We should rename the lpc32xx one to be less generic as it's
in a specific driver. Double underscore usually means internal or
unlocked (and we poorly did it this way for
__clk_mux_determine_rate function already).
--
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project
WARNING: multiple messages have this Message-ID (diff)
From: sboyd@codeaurora.org (Stephen Boyd)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v5 1/2] clk: gate: expose clk_gate_ops::is_enabled
Date: Mon, 17 Jul 2017 18:17:13 -0700 [thread overview]
Message-ID: <20170718011713.GN22780@codeaurora.org> (raw)
In-Reply-To: <cca4fdb9-7150-0259-4a78-b705b76f2986@st.com>
On 07/17, Gabriel FERNANDEZ wrote:
> Hi Stephen,
>
>
> On 07/14/2017 08:52 PM, kbuild test robot wrote:
> > Hi Gabriel,
> >
> > [auto build test ERROR on clk/clk-next]
> > [also build test ERROR on v4.12 next-20170714]
> > [if your patch is applied to the wrong git tree, please drop us a note to help improve the system]
> >
> > url: https://github.com/0day-ci/linux/commits/gabriel-fernandez-st-com/clk-stm32h7-Add-stm32h743-clock-driver/20170714-170518
> > base: https://git.kernel.org/pub/scm/linux/kernel/git/clk/linux.git clk-next
> > config: arm-lpc32xx_defconfig (attached as .config)
> > compiler: arm-linux-gnueabi-gcc (Debian 6.1.1-9) 6.1.1 20160705
> > reproduce:
> > wget https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
> > chmod +x ~/bin/make.cross
> > # save the attached .config to linux build tree
> > make.cross ARCH=arm
> >
> > All errors (new ones prefixed by >>):
> >
> >>> drivers/clk/nxp/clk-lpc32xx.c:906:12: error: static declaration of 'clk_gate_is_enabled' follows non-static declaration
> > static int clk_gate_is_enabled(struct clk_hw *hw)
> > ^~~~~~~~~~~~~~~~~~~
> > In file included from drivers/clk/nxp/clk-lpc32xx.c:13:0:
> > include/linux/clk-provider.h:346:5: note: previous declaration of 'clk_gate_is_enabled' was here
> > int clk_gate_is_enabled(struct clk_hw *hw);
> > ^~~~~~~~~~~~~~~~~~~
> >
> > https://lists.01.org/pipermail/kbuild-all Intel Corporation
>
> Rename 'clk_gate_is_enabled' into'__clk_gate_is_enabled' from clk-gate.c
> file, is it a good solution for you ?
>
> i could add also EXPORT_SYMBOL_GPL(__clk_gate_is_enabled) if you are ok.
No. We should rename the lpc32xx one to be less generic as it's
in a specific driver. Double underscore usually means internal or
unlocked (and we poorly did it this way for
__clk_mux_determine_rate function already).
--
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project
WARNING: multiple messages have this Message-ID (diff)
From: Stephen Boyd <sboyd@codeaurora.org>
To: Gabriel FERNANDEZ <gabriel.fernandez@st.com>
Cc: Michael Turquette <mturquette@baylibre.com>,
Rob Herring <robh+dt@kernel.org>,
Mark Rutland <mark.rutland@arm.com>,
Russell King <linux@armlinux.org.uk>,
Maxime Coquelin <mcoquelin.stm32@gmail.com>,
Alexandre TORGUE <alexandre.torgue@st.com>,
Nicolas Pitre <nico@linaro.org>, Arnd Bergmann <arnd@arndb.de>,
"daniel.thompson@linaro.org" <daniel.thompson@linaro.org>,
"andrea.merello@gmail.com" <andrea.merello@gmail.com>,
"radoslaw.pietrzyk@gmail.com" <radoslaw.pietrzyk@gmail.com>,
Lee Jones <lee.jones@linaro.org>,
"devicetree@vger.kernel.org" <devicetree@vger.kernel.org>,
"linux-arm-kernel@lists.infradead.org"
<linux-arm-kernel@lists.infradead.org>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
"linux-clk@vger.kernel.org" <linux-clk@vger.kernel.org>
Subject: Re: [PATCH v5 1/2] clk: gate: expose clk_gate_ops::is_enabled
Date: Mon, 17 Jul 2017 18:17:13 -0700 [thread overview]
Message-ID: <20170718011713.GN22780@codeaurora.org> (raw)
In-Reply-To: <cca4fdb9-7150-0259-4a78-b705b76f2986@st.com>
On 07/17, Gabriel FERNANDEZ wrote:
> Hi Stephen,
>
>
> On 07/14/2017 08:52 PM, kbuild test robot wrote:
> > Hi Gabriel,
> >
> > [auto build test ERROR on clk/clk-next]
> > [also build test ERROR on v4.12 next-20170714]
> > [if your patch is applied to the wrong git tree, please drop us a note to help improve the system]
> >
> > url: https://github.com/0day-ci/linux/commits/gabriel-fernandez-st-com/clk-stm32h7-Add-stm32h743-clock-driver/20170714-170518
> > base: https://git.kernel.org/pub/scm/linux/kernel/git/clk/linux.git clk-next
> > config: arm-lpc32xx_defconfig (attached as .config)
> > compiler: arm-linux-gnueabi-gcc (Debian 6.1.1-9) 6.1.1 20160705
> > reproduce:
> > wget https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
> > chmod +x ~/bin/make.cross
> > # save the attached .config to linux build tree
> > make.cross ARCH=arm
> >
> > All errors (new ones prefixed by >>):
> >
> >>> drivers/clk/nxp/clk-lpc32xx.c:906:12: error: static declaration of 'clk_gate_is_enabled' follows non-static declaration
> > static int clk_gate_is_enabled(struct clk_hw *hw)
> > ^~~~~~~~~~~~~~~~~~~
> > In file included from drivers/clk/nxp/clk-lpc32xx.c:13:0:
> > include/linux/clk-provider.h:346:5: note: previous declaration of 'clk_gate_is_enabled' was here
> > int clk_gate_is_enabled(struct clk_hw *hw);
> > ^~~~~~~~~~~~~~~~~~~
> >
> > https://lists.01.org/pipermail/kbuild-all Intel Corporation
>
> Rename 'clk_gate_is_enabled' into'__clk_gate_is_enabled' from clk-gate.c
> file, is it a good solution for you ?
>
> i could add also EXPORT_SYMBOL_GPL(__clk_gate_is_enabled) if you are ok.
No. We should rename the lpc32xx one to be less generic as it's
in a specific driver. Double underscore usually means internal or
unlocked (and we poorly did it this way for
__clk_mux_determine_rate function already).
--
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project
next prev parent reply other threads:[~2017-07-18 1:17 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-07-13 14:02 [PATCH v5 0/2] clk: stm32h7: Add stm32h743 clock driver gabriel.fernandez
2017-07-13 14:02 ` gabriel.fernandez
2017-07-13 14:02 ` gabriel.fernandez at st.com
2017-07-13 14:02 ` [PATCH v5 1/2] clk: gate: expose clk_gate_ops::is_enabled gabriel.fernandez
2017-07-13 14:02 ` gabriel.fernandez
2017-07-13 14:02 ` gabriel.fernandez at st.com
2017-07-13 17:22 ` Florian Fainelli
2017-07-13 17:22 ` Florian Fainelli
2017-07-14 1:16 ` Stephen Boyd
2017-07-14 1:16 ` Stephen Boyd
2017-07-14 18:52 ` kbuild test robot
2017-07-14 18:52 ` kbuild test robot
2017-07-14 18:52 ` kbuild test robot
2017-07-17 7:30 ` Gabriel FERNANDEZ
2017-07-17 7:30 ` Gabriel FERNANDEZ
2017-07-17 7:30 ` Gabriel FERNANDEZ
2017-07-17 7:30 ` Gabriel FERNANDEZ
2017-07-18 1:17 ` Stephen Boyd [this message]
2017-07-18 1:17 ` Stephen Boyd
2017-07-18 1:17 ` Stephen Boyd
2017-07-13 14:02 ` [PATCH v5 2/2] clk: stm32h7: Add stm32h743 clock driver gabriel.fernandez
2017-07-13 14:02 ` gabriel.fernandez
2017-07-13 14:02 ` gabriel.fernandez at st.com
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=20170718011713.GN22780@codeaurora.org \
--to=sboyd@codeaurora.org \
--cc=alexandre.torgue@st.com \
--cc=amelie.delaunay@st.com \
--cc=andrea.merello@gmail.com \
--cc=arnd@arndb.de \
--cc=daniel.thompson@linaro.org \
--cc=devicetree@vger.kernel.org \
--cc=gabriel.fernandez.st@gmail.com \
--cc=gabriel.fernandez@st.com \
--cc=lee.jones@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-clk@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@armlinux.org.uk \
--cc=ludovic.barre@st.com \
--cc=mark.rutland@arm.com \
--cc=mcoquelin.stm32@gmail.com \
--cc=mturquette@baylibre.com \
--cc=nico@linaro.org \
--cc=olivier.bideau@st.com \
--cc=radoslaw.pietrzyk@gmail.com \
--cc=robh+dt@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.