* [PATCH] kernel: irq: fix build failure
@ 2016-10-06 17:36 Sudip Mukherjee
2016-10-10 15:55 ` Sudip Mukherjee
2016-10-21 8:27 ` [tip:irq/urgent] kernel/irq: Export irq_set_parent() tip-bot for Sudip Mukherjee
0 siblings, 2 replies; 10+ messages in thread
From: Sudip Mukherjee @ 2016-10-06 17:36 UTC (permalink / raw)
To: Thomas Gleixner; +Cc: linux-kernel, Sudip Mukherjee
The allmodconfig build of powerpc is failing with the error:
ERROR: ".irq_set_parent" [drivers/mfd/tps65217.ko] undefined!
export the symbol to fix the failure.
Signed-off-by: Sudip Mukherjee <sudip.mukherjee@codethink.co.uk>
---
build log is at:
https://travis-ci.org/sudipm-mukherjee/parport/jobs/165418652
kernel/irq/manage.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/kernel/irq/manage.c b/kernel/irq/manage.c
index 0c5f1a5..5072814 100644
--- a/kernel/irq/manage.c
+++ b/kernel/irq/manage.c
@@ -721,6 +721,7 @@ int irq_set_parent(int irq, int parent_irq)
irq_put_desc_unlock(desc, flags);
return 0;
}
+EXPORT_SYMBOL(irq_set_parent);
#endif
/*
--
1.9.1
^ permalink raw reply related [flat|nested] 10+ messages in thread
* Re: [PATCH] kernel: irq: fix build failure
2016-10-06 17:36 [PATCH] kernel: irq: fix build failure Sudip Mukherjee
@ 2016-10-10 15:55 ` Sudip Mukherjee
2016-10-20 12:55 ` Thomas Gleixner
2016-10-21 8:27 ` [tip:irq/urgent] kernel/irq: Export irq_set_parent() tip-bot for Sudip Mukherjee
1 sibling, 1 reply; 10+ messages in thread
From: Sudip Mukherjee @ 2016-10-10 15:55 UTC (permalink / raw)
To: Thomas Gleixner; +Cc: linux-kernel, linux-arm-kernel, linuxppc-dev
On Thursday 06 October 2016 11:06 PM, Sudip Mukherjee wrote:
> The allmodconfig build of powerpc is failing with the error:
> ERROR: ".irq_set_parent" [drivers/mfd/tps65217.ko] undefined!
>
> export the symbol to fix the failure.
Hi Thomas,
powerpc and arm allmodconfig builds still fails with the same error.
Build logs of next-20161010 are at:
arm at https://travis-ci.org/sudipm-mukherjee/parport/jobs/166321467
powerpc at https://travis-ci.org/sudipm-mukherjee/parport/jobs/166321473
Regards
Sudip
>
> Signed-off-by: Sudip Mukherjee <sudip.mukherjee@codethink.co.uk>
> ---
>
> build log is at:
> https://travis-ci.org/sudipm-mukherjee/parport/jobs/165418652
>
> kernel/irq/manage.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/kernel/irq/manage.c b/kernel/irq/manage.c
> index 0c5f1a5..5072814 100644
> --- a/kernel/irq/manage.c
> +++ b/kernel/irq/manage.c
> @@ -721,6 +721,7 @@ int irq_set_parent(int irq, int parent_irq)
> irq_put_desc_unlock(desc, flags);
> return 0;
> }
> +EXPORT_SYMBOL(irq_set_parent);
> #endif
>
> /*
>
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH] kernel: irq: fix build failure
2016-10-10 15:55 ` Sudip Mukherjee
@ 2016-10-20 12:55 ` Thomas Gleixner
2016-10-21 1:00 ` Stephen Rothwell
0 siblings, 1 reply; 10+ messages in thread
From: Thomas Gleixner @ 2016-10-20 12:55 UTC (permalink / raw)
To: Sudip Mukherjee; +Cc: linux-kernel, linux-arm-kernel, linuxppc-dev
On Mon, 10 Oct 2016, Sudip Mukherjee wrote:
> On Thursday 06 October 2016 11:06 PM, Sudip Mukherjee wrote:
> > The allmodconfig build of powerpc is failing with the error:
> > ERROR: ".irq_set_parent" [drivers/mfd/tps65217.ko] undefined!
> >
> > export the symbol to fix the failure.
>
> Hi Thomas,
> powerpc and arm allmodconfig builds still fails with the same error.
> Build logs of next-20161010 are at:
> arm at https://travis-ci.org/sudipm-mukherjee/parport/jobs/166321467
> powerpc at https://travis-ci.org/sudipm-mukherjee/parport/jobs/166321473
I know. This is under discussion with the driver folks as we are not going
to blindly export stuff just because someone slapped a irq_set_parent()
into the code w/o knowing why.
Thanks,
tglx
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH] kernel: irq: fix build failure
2016-10-20 12:55 ` Thomas Gleixner
@ 2016-10-21 1:00 ` Stephen Rothwell
2016-10-21 8:07 ` Thomas Gleixner
0 siblings, 1 reply; 10+ messages in thread
From: Stephen Rothwell @ 2016-10-21 1:00 UTC (permalink / raw)
To: Thomas Gleixner
Cc: Sudip Mukherjee, linuxppc-dev, linux-kernel, linux-arm-kernel,
Marcin Niestroj, Grygorii Strashko, Tony Lindgren, Lee Jones,
Mark Brown, kernel-build-reports, linaro-kernel, linux-next
Hi Thomas,
On Thu, 20 Oct 2016 14:55:45 +0200 (CEST) Thomas Gleixner <tglx@linutronix.de> wrote:
>
> On Mon, 10 Oct 2016, Sudip Mukherjee wrote:
>
> > On Thursday 06 October 2016 11:06 PM, Sudip Mukherjee wrote:
> > > The allmodconfig build of powerpc is failing with the error:
> > > ERROR: ".irq_set_parent" [drivers/mfd/tps65217.ko] undefined!
> > >
> > > export the symbol to fix the failure.
> >
> > Hi Thomas,
> > powerpc and arm allmodconfig builds still fails with the same error.
> > Build logs of next-20161010 are at:
> > arm at https://travis-ci.org/sudipm-mukherjee/parport/jobs/166321467
> > powerpc at https://travis-ci.org/sudipm-mukherjee/parport/jobs/166321473
>
> I know. This is under discussion with the driver folks as we are not going
> to blindly export stuff just because someone slapped a irq_set_parent()
> into the code w/o knowing why.
Do we have any idea if a resolution is close. This was first reported
in linux-next in September 14/15. :-(
--
Cheers,
Stephen Rothwell
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH] kernel: irq: fix build failure
2016-10-21 1:00 ` Stephen Rothwell
@ 2016-10-21 8:07 ` Thomas Gleixner
2016-10-21 10:20 ` Stephen Rothwell
2016-10-24 10:22 ` Lee Jones
0 siblings, 2 replies; 10+ messages in thread
From: Thomas Gleixner @ 2016-10-21 8:07 UTC (permalink / raw)
To: Stephen Rothwell
Cc: Sudip Mukherjee, linuxppc-dev, linux-kernel, linux-arm-kernel,
Marcin Niestroj, Grygorii Strashko, Tony Lindgren, Lee Jones,
Mark Brown, kernel-build-reports, linaro-kernel, linux-next
On Fri, 21 Oct 2016, Stephen Rothwell wrote:
> On Thu, 20 Oct 2016 14:55:45 +0200 (CEST) Thomas Gleixner <tglx@linutronix.de> wrote:
> > I know. This is under discussion with the driver folks as we are not going
> > to blindly export stuff just because someone slapped a irq_set_parent()
> > into the code w/o knowing why.
>
> Do we have any idea if a resolution is close. This was first reported
> in linux-next in September 14/15. :-(
Grr. Yes. As much as I hate it, I'll go and export it for now. Should be
able to get it into rc2.
Thanks,
tglx
^ permalink raw reply [flat|nested] 10+ messages in thread
* [tip:irq/urgent] kernel/irq: Export irq_set_parent()
2016-10-06 17:36 [PATCH] kernel: irq: fix build failure Sudip Mukherjee
2016-10-10 15:55 ` Sudip Mukherjee
@ 2016-10-21 8:27 ` tip-bot for Sudip Mukherjee
1 sibling, 0 replies; 10+ messages in thread
From: tip-bot for Sudip Mukherjee @ 2016-10-21 8:27 UTC (permalink / raw)
To: linux-tip-commits
Cc: lee.jones, tglx, sudip.mukherjee, sudipm.mukherjee, linux-kernel,
hpa, mingo, tony, m.niestroj, grygorii.strashko
Commit-ID: 3118dac501bc0317de099db81618d589503351e1
Gitweb: http://git.kernel.org/tip/3118dac501bc0317de099db81618d589503351e1
Author: Sudip Mukherjee <sudipm.mukherjee@gmail.com>
AuthorDate: Thu, 6 Oct 2016 23:06:43 +0530
Committer: Thomas Gleixner <tglx@linutronix.de>
CommitDate: Fri, 21 Oct 2016 10:21:38 +0200
kernel/irq: Export irq_set_parent()
The TPS65217 driver grew interrupt support which uses
irq_set_parent(). While it's not yet clear why this is used in the first
place, building the driver as a module fails with:
ERROR: ".irq_set_parent" [drivers/mfd/tps65217.ko] undefined!
The correctness of the driver change is still investigated, but for now
it's less trouble to export irq_set_parent() than dealing with the build
wreckage.
[ tglx: Rewrote changelog and made the export GPL ]
Fixes: 6556bdacf646 ("mfd: tps65217: Add support for IRQs")
Signed-off-by: Sudip Mukherjee <sudip.mukherjee@codethink.co.uk>
Cc: Sudip Mukherjee <sudipm.mukherjee@gmail.com>
Cc: Marcin Niestroj <m.niestroj@grinn-global.com>
Cc: Grygorii Strashko <grygorii.strashko@ti.com>
Cc: Tony Lindgren <tony@atomide.com>
Cc: Lee Jones <lee.jones@linaro.org>
Link: http://lkml.kernel.org/r/1475775403-27207-1-git-send-email-sudipm.mukherjee@gmail.com
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
---
kernel/irq/manage.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/kernel/irq/manage.c b/kernel/irq/manage.c
index 0c5f1a5..9c4d304 100644
--- a/kernel/irq/manage.c
+++ b/kernel/irq/manage.c
@@ -721,6 +721,7 @@ int irq_set_parent(int irq, int parent_irq)
irq_put_desc_unlock(desc, flags);
return 0;
}
+EXPORT_SYMBOL_GPL(irq_set_parent);
#endif
/*
^ permalink raw reply related [flat|nested] 10+ messages in thread
* Re: [PATCH] kernel: irq: fix build failure
2016-10-21 8:07 ` Thomas Gleixner
@ 2016-10-21 10:20 ` Stephen Rothwell
2016-10-24 10:22 ` Lee Jones
1 sibling, 0 replies; 10+ messages in thread
From: Stephen Rothwell @ 2016-10-21 10:20 UTC (permalink / raw)
To: Thomas Gleixner
Cc: Sudip Mukherjee, linuxppc-dev, linux-kernel, linux-arm-kernel,
Marcin Niestroj, Grygorii Strashko, Tony Lindgren, Lee Jones,
Mark Brown, kernel-build-reports, linaro-kernel, linux-next
Hi Thomas,
On Fri, 21 Oct 2016 10:07:41 +0200 (CEST) Thomas Gleixner <tglx@linutronix.de> wrote:
>
> On Fri, 21 Oct 2016, Stephen Rothwell wrote:
> > On Thu, 20 Oct 2016 14:55:45 +0200 (CEST) Thomas Gleixner <tglx@linutronix.de> wrote:
> > > I know. This is under discussion with the driver folks as we are not going
> > > to blindly export stuff just because someone slapped a irq_set_parent()
> > > into the code w/o knowing why.
> >
> > Do we have any idea if a resolution is close. This was first reported
> > in linux-next in September 14/15. :-(
>
> Grr. Yes. As much as I hate it, I'll go and export it for now. Should be
> able to get it into rc2.
Thanks.
--
Cheers,
Stephen Rothwell
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH] kernel: irq: fix build failure
2016-10-21 8:07 ` Thomas Gleixner
2016-10-21 10:20 ` Stephen Rothwell
@ 2016-10-24 10:22 ` Lee Jones
2016-10-24 11:32 ` Stephen Rothwell
1 sibling, 1 reply; 10+ messages in thread
From: Lee Jones @ 2016-10-24 10:22 UTC (permalink / raw)
To: Thomas Gleixner
Cc: Stephen Rothwell, Sudip Mukherjee, linuxppc-dev, linux-kernel,
linux-arm-kernel, Marcin Niestroj, Grygorii Strashko,
Tony Lindgren, Mark Brown, kernel-build-reports, linaro-kernel,
linux-next
On Fri, 21 Oct 2016, Thomas Gleixner wrote:
> On Fri, 21 Oct 2016, Stephen Rothwell wrote:
> > On Thu, 20 Oct 2016 14:55:45 +0200 (CEST) Thomas Gleixner <tglx@linutronix.de> wrote:
> > > I know. This is under discussion with the driver folks as we are not going
> > > to blindly export stuff just because someone slapped a irq_set_parent()
> > > into the code w/o knowing why.
> >
> > Do we have any idea if a resolution is close. This was first reported
> > in linux-next in September 14/15. :-(
>
> Grr. Yes. As much as I hate it, I'll go and export it for now. Should be
> able to get it into rc2.
Did this get in? I still have people complaining about it.
--
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH] kernel: irq: fix build failure
2016-10-24 10:22 ` Lee Jones
@ 2016-10-24 11:32 ` Stephen Rothwell
2016-10-24 12:08 ` Lee Jones
0 siblings, 1 reply; 10+ messages in thread
From: Stephen Rothwell @ 2016-10-24 11:32 UTC (permalink / raw)
To: Lee Jones
Cc: Thomas Gleixner, Sudip Mukherjee, linuxppc-dev, linux-kernel,
linux-arm-kernel, Marcin Niestroj, Grygorii Strashko,
Tony Lindgren, Mark Brown, kernel-build-reports, linaro-kernel,
linux-next
Hi Lee,
On Mon, 24 Oct 2016 11:22:15 +0100 Lee Jones <lee.jones@linaro.org> wrote:
>
> On Fri, 21 Oct 2016, Thomas Gleixner wrote:
>
> > On Fri, 21 Oct 2016, Stephen Rothwell wrote:
> > > On Thu, 20 Oct 2016 14:55:45 +0200 (CEST) Thomas Gleixner <tglx@linutronix.de> wrote:
> > > > I know. This is under discussion with the driver folks as we are not going
> > > > to blindly export stuff just because someone slapped a irq_set_parent()
> > > > into the code w/o knowing why.
> > >
> > > Do we have any idea if a resolution is close. This was first reported
> > > in linux-next in September 14/15. :-(
> >
> > Grr. Yes. As much as I hate it, I'll go and export it for now. Should be
> > able to get it into rc2.
>
> Did this get in? I still have people complaining about it.
It is in -rc2. Commit 3118dac501bc.
--
Cheers,
Stephen Rothwell
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH] kernel: irq: fix build failure
2016-10-24 11:32 ` Stephen Rothwell
@ 2016-10-24 12:08 ` Lee Jones
0 siblings, 0 replies; 10+ messages in thread
From: Lee Jones @ 2016-10-24 12:08 UTC (permalink / raw)
To: Stephen Rothwell
Cc: Thomas Gleixner, Sudip Mukherjee, linuxppc-dev, linux-kernel,
linux-arm-kernel, Marcin Niestroj, Grygorii Strashko,
Tony Lindgren, Mark Brown, kernel-build-reports, linaro-kernel,
linux-next
On Mon, 24 Oct 2016, Stephen Rothwell wrote:
> On Mon, 24 Oct 2016 11:22:15 +0100 Lee Jones <lee.jones@linaro.org> wrote:
> > On Fri, 21 Oct 2016, Thomas Gleixner wrote:
> >
> > > On Fri, 21 Oct 2016, Stephen Rothwell wrote:
> > > > On Thu, 20 Oct 2016 14:55:45 +0200 (CEST) Thomas Gleixner <tglx@linutronix.de> wrote:
> > > > > I know. This is under discussion with the driver folks as we are not going
> > > > > to blindly export stuff just because someone slapped a irq_set_parent()
> > > > > into the code w/o knowing why.
> > > >
> > > > Do we have any idea if a resolution is close. This was first reported
> > > > in linux-next in September 14/15. :-(
> > >
> > > Grr. Yes. As much as I hate it, I'll go and export it for now. Should be
> > > able to get it into rc2.
> >
> > Did this get in? I still have people complaining about it.
>
> It is in -rc2. Commit 3118dac501bc.
Ah, I was searching for patches authored my Thomas.
I see it now, thanks.
--
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2016-10-24 12:06 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-10-06 17:36 [PATCH] kernel: irq: fix build failure Sudip Mukherjee
2016-10-10 15:55 ` Sudip Mukherjee
2016-10-20 12:55 ` Thomas Gleixner
2016-10-21 1:00 ` Stephen Rothwell
2016-10-21 8:07 ` Thomas Gleixner
2016-10-21 10:20 ` Stephen Rothwell
2016-10-24 10:22 ` Lee Jones
2016-10-24 11:32 ` Stephen Rothwell
2016-10-24 12:08 ` Lee Jones
2016-10-21 8:27 ` [tip:irq/urgent] kernel/irq: Export irq_set_parent() tip-bot for Sudip Mukherjee
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).