* [PATCH] ARM: tegra: fix missing include <soc/tegra/cpuidle.h>
@ 2016-06-08 16:54 Ben Dooks
[not found] ` <1465404897-16654-1-git-send-email-ben.dooks-4yDnlxn2s6sWdaTGBSpHTA@public.gmane.org>
0 siblings, 1 reply; 6+ messages in thread
From: Ben Dooks @ 2016-06-08 16:54 UTC (permalink / raw)
To: linux-kernel-81qHHgoATdFT9dQujB1mzip2UmYkHbXO
Cc: Ben Dooks, Stephen Warren, Alexandre Courbot, Thierry Reding,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
linux-tegra-u79uwXL29TY76Z2rM5mHXA
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-4yDnlxn2s6sWdaTGBSpHTA@public.gmane.org>
---
Cc: Stephen Warren <swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
Cc: Alexandre Courbot <gnurou-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Cc: Thierry Reding <thierry.reding-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Cc: linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org
Cc: linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.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[parent not found: <1465404897-16654-1-git-send-email-ben.dooks-4yDnlxn2s6sWdaTGBSpHTA@public.gmane.org>]
* Re: [PATCH] ARM: tegra: fix missing include <soc/tegra/cpuidle.h> [not found] ` <1465404897-16654-1-git-send-email-ben.dooks-4yDnlxn2s6sWdaTGBSpHTA@public.gmane.org> @ 2016-06-10 14:22 ` Thierry Reding [not found] ` <20160610142210.GN27142-EkSeR96xj6Pcmrwk2tT4+A@public.gmane.org> 0 siblings, 1 reply; 6+ messages in thread From: Thierry Reding @ 2016-06-10 14:22 UTC (permalink / raw) To: Ben Dooks Cc: linux-kernel-81qHHgoATdFT9dQujB1mzip2UmYkHbXO, Stephen Warren, Alexandre Courbot, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, linux-tegra-u79uwXL29TY76Z2rM5mHXA [-- Attachment #1: Type: text/plain, Size: 1163 bytes --] 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-4yDnlxn2s6sWdaTGBSpHTA@public.gmane.org> > --- > Cc: Stephen Warren <swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org> > Cc: Alexandre Courbot <gnurou-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> > Cc: Thierry Reding <thierry.reding-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> > Cc: linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org > Cc: linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.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 [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 819 bytes --] ^ permalink raw reply [flat|nested] 6+ messages in thread
[parent not found: <20160610142210.GN27142-EkSeR96xj6Pcmrwk2tT4+A@public.gmane.org>]
* Re: [PATCH] ARM: tegra: fix missing include <soc/tegra/cpuidle.h> [not found] ` <20160610142210.GN27142-EkSeR96xj6Pcmrwk2tT4+A@public.gmane.org> @ 2016-06-10 14:33 ` Jon Hunter [not found] ` <575ACFB5.4070706-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org> 0 siblings, 1 reply; 6+ messages in thread From: Jon Hunter @ 2016-06-10 14:33 UTC (permalink / raw) To: Thierry Reding, Ben Dooks Cc: linux-kernel-81qHHgoATdFT9dQujB1mzip2UmYkHbXO, Stephen Warren, Alexandre Courbot, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, linux-tegra-u79uwXL29TY76Z2rM5mHXA 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-4yDnlxn2s6sWdaTGBSpHTA@public.gmane.org> >> --- >> Cc: Stephen Warren <swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org> >> Cc: Alexandre Courbot <gnurou-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> >> Cc: Thierry Reding <thierry.reding-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> >> Cc: linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org >> Cc: linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.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
[parent not found: <575ACFB5.4070706-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>]
* Re: [PATCH] ARM: tegra: fix missing include <soc/tegra/cpuidle.h> [not found] ` <575ACFB5.4070706-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org> @ 2016-06-10 14:55 ` Thierry Reding [not found] ` <20160610145520.GP27142-EkSeR96xj6Pcmrwk2tT4+A@public.gmane.org> 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: Jon Hunter Cc: Ben Dooks, linux-kernel-81qHHgoATdFT9dQujB1mzip2UmYkHbXO, Stephen Warren, Alexandre Courbot, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, linux-tegra-u79uwXL29TY76Z2rM5mHXA [-- Attachment #1: Type: text/plain, Size: 1728 bytes --] 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-4yDnlxn2s6sWdaTGBSpHTA@public.gmane.org> > >> --- > >> Cc: Stephen Warren <swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org> > >> Cc: Alexandre Courbot <gnurou-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> > >> Cc: Thierry Reding <thierry.reding-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> > >> Cc: linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org > >> Cc: linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.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 [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 819 bytes --] ^ permalink raw reply [flat|nested] 6+ messages in thread
[parent not found: <20160610145520.GP27142-EkSeR96xj6Pcmrwk2tT4+A@public.gmane.org>]
* Re: [PATCH] ARM: tegra: fix missing include <soc/tegra/cpuidle.h> [not found] ` <20160610145520.GP27142-EkSeR96xj6Pcmrwk2tT4+A@public.gmane.org> @ 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: Thierry Reding Cc: Ben Dooks, linux-kernel-81qHHgoATdFT9dQujB1mzip2UmYkHbXO, Stephen Warren, Alexandre Courbot, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, linux-tegra-u79uwXL29TY76Z2rM5mHXA 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-4yDnlxn2s6sWdaTGBSpHTA@public.gmane.org> >>>> --- >>>> Cc: Stephen Warren <swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org> >>>> Cc: Alexandre Courbot <gnurou-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> >>>> Cc: Thierry Reding <thierry.reding-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> >>>> Cc: linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org >>>> Cc: linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.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
* Re: [PATCH] ARM: tegra: fix missing include <soc/tegra/cpuidle.h> [not found] ` <575ACFB5.4070706-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org> 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: Jon Hunter, Thierry Reding Cc: linux-kernel-81qHHgoATdFT9dQujB1mzip2UmYkHbXO, Stephen Warren, Alexandre Courbot, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, linux-tegra-u79uwXL29TY76Z2rM5mHXA 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-4yDnlxn2s6sWdaTGBSpHTA@public.gmane.org> >>> --- >>> Cc: Stephen Warren <swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org> >>> Cc: Alexandre Courbot <gnurou-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> >>> Cc: Thierry Reding <thierry.reding-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> >>> Cc: linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org >>> Cc: linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.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
[not found] ` <1465404897-16654-1-git-send-email-ben.dooks-4yDnlxn2s6sWdaTGBSpHTA@public.gmane.org>
2016-06-10 14:22 ` Thierry Reding
[not found] ` <20160610142210.GN27142-EkSeR96xj6Pcmrwk2tT4+A@public.gmane.org>
2016-06-10 14:33 ` Jon Hunter
[not found] ` <575ACFB5.4070706-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2016-06-10 14:55 ` Thierry Reding
[not found] ` <20160610145520.GP27142-EkSeR96xj6Pcmrwk2tT4+A@public.gmane.org>
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