* [PATCH] ARM: tegra: fix missing include <soc/tegra/cpuidle.h>
@ 2016-06-08 16:54 Ben Dooks
2016-06-10 14:22 ` Thierry Reding
0 siblings, 1 reply; 6+ messages in thread
From: Ben Dooks @ 2016-06-08 16:54 UTC (permalink / raw)
To: linux-arm-kernel
The prototype of tegra_cpuidle_pcie_irqs_in_use() is missing
from the cpuidle.c file, it is defined in <soc/tegra/cpuidle.h>
so add that include to avoid the following warning:
arch/arm/mach-tegra/cpuidle.c:51:6: warning: symbol 'tegra_cpuidle_pcie_irqs_in_use' was not declared. Should it be static?
Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk>
---
Cc: Stephen Warren <swarren@wwwdotorg.org>
Cc: Alexandre Courbot <gnurou@gmail.com>
Cc: Thierry Reding <thierry.reding@gmail.com>
Cc: linux-arm-kernel at lists.infradead.org
Cc: linux-tegra at vger.kernel.org
---
arch/arm/mach-tegra/cpuidle.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/mach-tegra/cpuidle.c b/arch/arm/mach-tegra/cpuidle.c
index 3165631..b8e4568 100644
--- a/arch/arm/mach-tegra/cpuidle.c
+++ b/arch/arm/mach-tegra/cpuidle.c
@@ -25,6 +25,7 @@
#include <linux/module.h>
#include <soc/tegra/fuse.h>
+#include <soc/tegra/cpuidle.h>
#include "cpuidle.h"
--
2.8.1
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [PATCH] ARM: tegra: fix missing include <soc/tegra/cpuidle.h>
2016-06-08 16:54 [PATCH] ARM: tegra: fix missing include <soc/tegra/cpuidle.h> Ben Dooks
@ 2016-06-10 14:22 ` Thierry Reding
2016-06-10 14:33 ` Jon Hunter
0 siblings, 1 reply; 6+ messages in thread
From: Thierry Reding @ 2016-06-10 14:22 UTC (permalink / raw)
To: linux-arm-kernel
On Wed, Jun 08, 2016 at 05:54:57PM +0100, Ben Dooks wrote:
> The prototype of tegra_cpuidle_pcie_irqs_in_use() is missing
> from the cpuidle.c file, it is defined in <soc/tegra/cpuidle.h>
> so add that include to avoid the following warning:
>
> arch/arm/mach-tegra/cpuidle.c:51:6: warning: symbol 'tegra_cpuidle_pcie_irqs_in_use' was not declared. Should it be static?
>
> Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk>
> ---
> Cc: Stephen Warren <swarren@wwwdotorg.org>
> Cc: Alexandre Courbot <gnurou@gmail.com>
> Cc: Thierry Reding <thierry.reding@gmail.com>
> Cc: linux-arm-kernel at lists.infradead.org
> Cc: linux-tegra at vger.kernel.org
> ---
> arch/arm/mach-tegra/cpuidle.c | 1 +
> 1 file changed, 1 insertion(+)
I've been carrying a set of patches to fix these, and a couple of other
sparse warnings, in my tree locally, but never sent them out because
they were so trivial. I probably should've to avoid the duplication of
effort. Sorry about that.
Thierry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20160610/ffcc37ab/attachment.sig>
^ permalink raw reply [flat|nested] 6+ messages in thread
* [PATCH] ARM: tegra: fix missing include <soc/tegra/cpuidle.h>
2016-06-10 14:22 ` Thierry Reding
@ 2016-06-10 14:33 ` Jon Hunter
2016-06-10 14:55 ` Thierry Reding
2016-06-10 15:02 ` Ben Dooks
0 siblings, 2 replies; 6+ messages in thread
From: Jon Hunter @ 2016-06-10 14:33 UTC (permalink / raw)
To: linux-arm-kernel
On 10/06/16 15:22, Thierry Reding wrote:
> * PGP Signed by an unknown key
>
> On Wed, Jun 08, 2016 at 05:54:57PM +0100, Ben Dooks wrote:
>> The prototype of tegra_cpuidle_pcie_irqs_in_use() is missing
>> from the cpuidle.c file, it is defined in <soc/tegra/cpuidle.h>
>> so add that include to avoid the following warning:
>>
>> arch/arm/mach-tegra/cpuidle.c:51:6: warning: symbol 'tegra_cpuidle_pcie_irqs_in_use' was not declared. Should it be static?
>>
>> Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk>
>> ---
>> Cc: Stephen Warren <swarren@wwwdotorg.org>
>> Cc: Alexandre Courbot <gnurou@gmail.com>
>> Cc: Thierry Reding <thierry.reding@gmail.com>
>> Cc: linux-arm-kernel at lists.infradead.org
>> Cc: linux-tegra at vger.kernel.org
>> ---
>> arch/arm/mach-tegra/cpuidle.c | 1 +
>> 1 file changed, 1 insertion(+)
>
> I've been carrying a set of patches to fix these, and a couple of other
> sparse warnings, in my tree locally, but never sent them out because
> they were so trivial. I probably should've to avoid the duplication of
> effort. Sorry about that.
I think you did send them out ;-)
http://patchwork.ozlabs.org/patch/616249/
http://patchwork.ozlabs.org/patch/616250/
http://patchwork.ozlabs.org/patch/616251/
http://patchwork.ozlabs.org/patch/616252/
Jon
--
nvpublic
^ permalink raw reply [flat|nested] 6+ messages in thread
* [PATCH] ARM: tegra: fix missing include <soc/tegra/cpuidle.h>
2016-06-10 14:33 ` Jon Hunter
@ 2016-06-10 14:55 ` Thierry Reding
2016-06-10 15:07 ` Jon Hunter
2016-06-10 15:02 ` Ben Dooks
1 sibling, 1 reply; 6+ messages in thread
From: Thierry Reding @ 2016-06-10 14:55 UTC (permalink / raw)
To: linux-arm-kernel
On Fri, Jun 10, 2016 at 03:33:25PM +0100, Jon Hunter wrote:
>
> On 10/06/16 15:22, Thierry Reding wrote:
> > * PGP Signed by an unknown key
> >
> > On Wed, Jun 08, 2016 at 05:54:57PM +0100, Ben Dooks wrote:
> >> The prototype of tegra_cpuidle_pcie_irqs_in_use() is missing
> >> from the cpuidle.c file, it is defined in <soc/tegra/cpuidle.h>
> >> so add that include to avoid the following warning:
> >>
> >> arch/arm/mach-tegra/cpuidle.c:51:6: warning: symbol 'tegra_cpuidle_pcie_irqs_in_use' was not declared. Should it be static?
> >>
> >> Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk>
> >> ---
> >> Cc: Stephen Warren <swarren@wwwdotorg.org>
> >> Cc: Alexandre Courbot <gnurou@gmail.com>
> >> Cc: Thierry Reding <thierry.reding@gmail.com>
> >> Cc: linux-arm-kernel at lists.infradead.org
> >> Cc: linux-tegra at vger.kernel.org
> >> ---
> >> arch/arm/mach-tegra/cpuidle.c | 1 +
> >> 1 file changed, 1 insertion(+)
> >
> > I've been carrying a set of patches to fix these, and a couple of other
> > sparse warnings, in my tree locally, but never sent them out because
> > they were so trivial. I probably should've to avoid the duplication of
> > effort. Sorry about that.
>
> I think you did send them out ;-)
>
> http://patchwork.ozlabs.org/patch/616249/
> http://patchwork.ozlabs.org/patch/616250/
> http://patchwork.ozlabs.org/patch/616251/
> http://patchwork.ozlabs.org/patch/616252/
Hah! Excellent. No more guilty conscience for me. =)
I've pulled those patches into the Tegra tree now.
Thanks,
Thierry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20160610/9ea84b50/attachment.sig>
^ permalink raw reply [flat|nested] 6+ messages in thread
* [PATCH] ARM: tegra: fix missing include <soc/tegra/cpuidle.h>
2016-06-10 14:55 ` Thierry Reding
@ 2016-06-10 15:07 ` Jon Hunter
0 siblings, 0 replies; 6+ messages in thread
From: Jon Hunter @ 2016-06-10 15:07 UTC (permalink / raw)
To: linux-arm-kernel
On 10/06/16 15:55, Thierry Reding wrote:
> * PGP Signed by an unknown key
>
> On Fri, Jun 10, 2016 at 03:33:25PM +0100, Jon Hunter wrote:
>>
>> On 10/06/16 15:22, Thierry Reding wrote:
>>>> Old Signed by an unknown key
>>>
>>> On Wed, Jun 08, 2016 at 05:54:57PM +0100, Ben Dooks wrote:
>>>> The prototype of tegra_cpuidle_pcie_irqs_in_use() is missing
>>>> from the cpuidle.c file, it is defined in <soc/tegra/cpuidle.h>
>>>> so add that include to avoid the following warning:
>>>>
>>>> arch/arm/mach-tegra/cpuidle.c:51:6: warning: symbol 'tegra_cpuidle_pcie_irqs_in_use' was not declared. Should it be static?
>>>>
>>>> Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk>
>>>> ---
>>>> Cc: Stephen Warren <swarren@wwwdotorg.org>
>>>> Cc: Alexandre Courbot <gnurou@gmail.com>
>>>> Cc: Thierry Reding <thierry.reding@gmail.com>
>>>> Cc: linux-arm-kernel at lists.infradead.org
>>>> Cc: linux-tegra at vger.kernel.org
>>>> ---
>>>> arch/arm/mach-tegra/cpuidle.c | 1 +
>>>> 1 file changed, 1 insertion(+)
>>>
>>> I've been carrying a set of patches to fix these, and a couple of other
>>> sparse warnings, in my tree locally, but never sent them out because
>>> they were so trivial. I probably should've to avoid the duplication of
>>> effort. Sorry about that.
>>
>> I think you did send them out ;-)
>>
>> http://patchwork.ozlabs.org/patch/616249/
>> http://patchwork.ozlabs.org/patch/616250/
>> http://patchwork.ozlabs.org/patch/616251/
>> http://patchwork.ozlabs.org/patch/616252/
>
> Hah! Excellent. No more guilty conscience for me. =)
>
> I've pulled those patches into the Tegra tree now.
Great! I have sent you a list of some others from patchwork that I think
we should merge as well.
Jon
--
nvpublic
^ permalink raw reply [flat|nested] 6+ messages in thread
* [PATCH] ARM: tegra: fix missing include <soc/tegra/cpuidle.h>
2016-06-10 14:33 ` Jon Hunter
2016-06-10 14:55 ` Thierry Reding
@ 2016-06-10 15:02 ` Ben Dooks
1 sibling, 0 replies; 6+ messages in thread
From: Ben Dooks @ 2016-06-10 15:02 UTC (permalink / raw)
To: linux-arm-kernel
On 10/06/16 15:33, Jon Hunter wrote:
>
> On 10/06/16 15:22, Thierry Reding wrote:
>> * PGP Signed by an unknown key
>>
>> On Wed, Jun 08, 2016 at 05:54:57PM +0100, Ben Dooks wrote:
>>> The prototype of tegra_cpuidle_pcie_irqs_in_use() is missing
>>> from the cpuidle.c file, it is defined in <soc/tegra/cpuidle.h>
>>> so add that include to avoid the following warning:
>>>
>>> arch/arm/mach-tegra/cpuidle.c:51:6: warning: symbol 'tegra_cpuidle_pcie_irqs_in_use' was not declared. Should it be static?
>>>
>>> Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk>
>>> ---
>>> Cc: Stephen Warren <swarren@wwwdotorg.org>
>>> Cc: Alexandre Courbot <gnurou@gmail.com>
>>> Cc: Thierry Reding <thierry.reding@gmail.com>
>>> Cc: linux-arm-kernel at lists.infradead.org
>>> Cc: linux-tegra at vger.kernel.org
>>> ---
>>> arch/arm/mach-tegra/cpuidle.c | 1 +
>>> 1 file changed, 1 insertion(+)
>>
>> I've been carrying a set of patches to fix these, and a couple of other
>> sparse warnings, in my tree locally, but never sent them out because
>> they were so trivial. I probably should've to avoid the duplication of
>> effort. Sorry about that.
Given it is likely that gcc warning flags will be updated
it'd be good to get these issues sorted out.
--
Ben Dooks http://www.codethink.co.uk/
Senior Engineer Codethink - Providing Genius
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2016-06-10 15:07 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-08 16:54 [PATCH] ARM: tegra: fix missing include <soc/tegra/cpuidle.h> Ben Dooks
2016-06-10 14:22 ` Thierry Reding
2016-06-10 14:33 ` Jon Hunter
2016-06-10 14:55 ` Thierry Reding
2016-06-10 15:07 ` Jon Hunter
2016-06-10 15:02 ` Ben Dooks
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).