linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] Trivial warning fixes
@ 2020-10-27  8:51 balbi
  2020-10-27  8:51 ` [PATCH 1/2] hwtracing: coresight: add missing MODULE_LICENSE() balbi
  2020-10-27  8:51 ` [PATCH 2/2] irqchip: bcm2836: fix section mismatch warning balbi
  0 siblings, 2 replies; 6+ messages in thread
From: balbi @ 2020-10-27  8:51 UTC (permalink / raw)
  To: Mathieu Poirier, Thomas Gleixner, Jason Cooper, Marc Zyngier,
	Alexander Shishkin
  Cc: Suzuki K Poulose, Florian Fainelli, Ray Jui, Scott Branden,
	bcm-kernel-feedback-list, coresight, linux-arm-kernel,
	linux-kernel, Felipe Balbi

From: Felipe Balbi <balbi@kernel.org>

Hi,

here's a couple build warning fixes that I just caught with
allmodconfig on AArch64.

cheers

Felipe Balbi (2):
  hwtracing: coresight: add missing MODULE_LICENSE()
  irqchip: bcm2836: fix section mismatch warning

 drivers/hwtracing/coresight/coresight-core.c | 1 +
 drivers/irqchip/irq-bcm2836.c                | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

-- 
2.29.1


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [PATCH 1/2] hwtracing: coresight: add missing MODULE_LICENSE()
  2020-10-27  8:51 [PATCH 0/2] Trivial warning fixes balbi
@ 2020-10-27  8:51 ` balbi
  2020-10-27 10:35   ` Suzuki K Poulose
  2020-10-27 15:29   ` Mathieu Poirier
  2020-10-27  8:51 ` [PATCH 2/2] irqchip: bcm2836: fix section mismatch warning balbi
  1 sibling, 2 replies; 6+ messages in thread
From: balbi @ 2020-10-27  8:51 UTC (permalink / raw)
  To: Mathieu Poirier, Thomas Gleixner, Jason Cooper, Marc Zyngier,
	Alexander Shishkin
  Cc: Suzuki K Poulose, Florian Fainelli, Ray Jui, Scott Branden,
	bcm-kernel-feedback-list, coresight, linux-arm-kernel,
	linux-kernel, Felipe Balbi

From: Felipe Balbi <balbi@kernel.org>

Fix the following build warning:

WARNING: modpost: missing MODULE_LICENSE() in drivers/hwtracing/coresight/coresight.o

Signed-off-by: Felipe Balbi <balbi@kernel.org>
---
 drivers/hwtracing/coresight/coresight-core.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/hwtracing/coresight/coresight-core.c b/drivers/hwtracing/coresight/coresight-core.c
index 6994c1309b2b..7936fca8436c 100644
--- a/drivers/hwtracing/coresight/coresight-core.c
+++ b/drivers/hwtracing/coresight/coresight-core.c
@@ -1692,3 +1692,4 @@ module_exit(coresight_exit);
 MODULE_AUTHOR("Pratik Patel <pratikp@codeaurora.org>");
 MODULE_AUTHOR("Mathieu Poirier <mathieu.poirier@linaro.org>");
 MODULE_DESCRIPTION("Arm CoreSight tracer driver");
+MODULE_LICENSE("GPL");
-- 
2.29.1


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [PATCH 2/2] irqchip: bcm2836: fix section mismatch warning
  2020-10-27  8:51 [PATCH 0/2] Trivial warning fixes balbi
  2020-10-27  8:51 ` [PATCH 1/2] hwtracing: coresight: add missing MODULE_LICENSE() balbi
@ 2020-10-27  8:51 ` balbi
  2020-10-27  9:03   ` Marc Zyngier
  1 sibling, 1 reply; 6+ messages in thread
From: balbi @ 2020-10-27  8:51 UTC (permalink / raw)
  To: Mathieu Poirier, Thomas Gleixner, Jason Cooper, Marc Zyngier,
	Alexander Shishkin
  Cc: Suzuki K Poulose, Florian Fainelli, Ray Jui, Scott Branden,
	bcm-kernel-feedback-list, coresight, linux-arm-kernel,
	linux-kernel, Felipe Balbi

From: Felipe Balbi <balbi@kernel.org>

Fix the following warning:

WARNING: modpost: vmlinux.o(.text.unlikely+0x17b2c): Section mismatch in reference from the function bcm2836_arm_irqchip_smp_init() to the function .init.text:set_smp_ipi_range()
The function bcm2836_arm_irqchip_smp_init() references
the function __init set_smp_ipi_range().
This is often because bcm2836_arm_irqchip_smp_init lacks a __init
annotation or the annotation of set_smp_ipi_range is wrong.

Signed-off-by: Felipe Balbi <balbi@kernel.org>
---
 drivers/irqchip/irq-bcm2836.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/irqchip/irq-bcm2836.c b/drivers/irqchip/irq-bcm2836.c
index 97838eb705f9..cbc7c740e4dc 100644
--- a/drivers/irqchip/irq-bcm2836.c
+++ b/drivers/irqchip/irq-bcm2836.c
@@ -244,7 +244,7 @@ static int bcm2836_cpu_dying(unsigned int cpu)
 
 #define BITS_PER_MBOX	32
 
-static void bcm2836_arm_irqchip_smp_init(void)
+static void __init bcm2836_arm_irqchip_smp_init(void)
 {
 	struct irq_fwspec ipi_fwspec = {
 		.fwnode		= intc.domain->fwnode,
-- 
2.29.1


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: [PATCH 2/2] irqchip: bcm2836: fix section mismatch warning
  2020-10-27  8:51 ` [PATCH 2/2] irqchip: bcm2836: fix section mismatch warning balbi
@ 2020-10-27  9:03   ` Marc Zyngier
  0 siblings, 0 replies; 6+ messages in thread
From: Marc Zyngier @ 2020-10-27  9:03 UTC (permalink / raw)
  To: balbi
  Cc: Mathieu Poirier, Thomas Gleixner, Jason Cooper,
	Alexander Shishkin, Suzuki K Poulose, Florian Fainelli, Ray Jui,
	Scott Branden, bcm-kernel-feedback-list, coresight,
	linux-arm-kernel, linux-kernel

On 2020-10-27 08:51, balbi@kernel.org wrote:
> From: Felipe Balbi <balbi@kernel.org>
> 
> Fix the following warning:
> 
> WARNING: modpost: vmlinux.o(.text.unlikely+0x17b2c): Section mismatch
> in reference from the function bcm2836_arm_irqchip_smp_init() to the
> function .init.text:set_smp_ipi_range()
> The function bcm2836_arm_irqchip_smp_init() references
> the function __init set_smp_ipi_range().
> This is often because bcm2836_arm_irqchip_smp_init lacks a __init
> annotation or the annotation of set_smp_ipi_range is wrong.
> 
> Signed-off-by: Felipe Balbi <balbi@kernel.org>
> ---
>  drivers/irqchip/irq-bcm2836.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/irqchip/irq-bcm2836.c 
> b/drivers/irqchip/irq-bcm2836.c
> index 97838eb705f9..cbc7c740e4dc 100644
> --- a/drivers/irqchip/irq-bcm2836.c
> +++ b/drivers/irqchip/irq-bcm2836.c
> @@ -244,7 +244,7 @@ static int bcm2836_cpu_dying(unsigned int cpu)
> 
>  #define BITS_PER_MBOX	32
> 
> -static void bcm2836_arm_irqchip_smp_init(void)
> +static void __init bcm2836_arm_irqchip_smp_init(void)
>  {
>  	struct irq_fwspec ipi_fwspec = {
>  		.fwnode		= intc.domain->fwnode,

I already have a fix for this one[1], which should be in -next.

Thanks,

         M.

[1] 
https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms.git/commit/?h=irq/irqchip-next&id=57733e009f0c7e0526e10a18be12f56996c5460e
-- 
Jazz is not dead. It just smells funny...

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH 1/2] hwtracing: coresight: add missing MODULE_LICENSE()
  2020-10-27  8:51 ` [PATCH 1/2] hwtracing: coresight: add missing MODULE_LICENSE() balbi
@ 2020-10-27 10:35   ` Suzuki K Poulose
  2020-10-27 15:29   ` Mathieu Poirier
  1 sibling, 0 replies; 6+ messages in thread
From: Suzuki K Poulose @ 2020-10-27 10:35 UTC (permalink / raw)
  To: balbi, Mathieu Poirier, Thomas Gleixner, Jason Cooper,
	Marc Zyngier, Alexander Shishkin
  Cc: Florian Fainelli, Ray Jui, Scott Branden,
	bcm-kernel-feedback-list, coresight, linux-arm-kernel,
	linux-kernel

On 10/27/20 8:51 AM, balbi@kernel.org wrote:
> From: Felipe Balbi <balbi@kernel.org>
> 
> Fix the following build warning:
> 
> WARNING: modpost: missing MODULE_LICENSE() in drivers/hwtracing/coresight/coresight.o
> 
> Signed-off-by: Felipe Balbi <balbi@kernel.org>

Acked-by: Suzuki K Poulose <suzuki.poulos@arm.com>


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH 1/2] hwtracing: coresight: add missing MODULE_LICENSE()
  2020-10-27  8:51 ` [PATCH 1/2] hwtracing: coresight: add missing MODULE_LICENSE() balbi
  2020-10-27 10:35   ` Suzuki K Poulose
@ 2020-10-27 15:29   ` Mathieu Poirier
  1 sibling, 0 replies; 6+ messages in thread
From: Mathieu Poirier @ 2020-10-27 15:29 UTC (permalink / raw)
  To: balbi
  Cc: Thomas Gleixner, Jason Cooper, Marc Zyngier, Alexander Shishkin,
	Suzuki K Poulose, Florian Fainelli, Ray Jui, Scott Branden,
	bcm-kernel-feedback-list, coresight, linux-arm-kernel,
	linux-kernel

Hi Felipe,

On Tue, Oct 27, 2020 at 10:51:56AM +0200, balbi@kernel.org wrote:
> From: Felipe Balbi <balbi@kernel.org>
> 
> Fix the following build warning:
> 
> WARNING: modpost: missing MODULE_LICENSE() in drivers/hwtracing/coresight/coresight.o
> 

Arnd already sent a patch about this[1] yesterday.

Thanks,
Mathieu

[1]. https://lists.linaro.org/pipermail/coresight/2020-October/005041.html

> Signed-off-by: Felipe Balbi <balbi@kernel.org>
> ---
>  drivers/hwtracing/coresight/coresight-core.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/hwtracing/coresight/coresight-core.c b/drivers/hwtracing/coresight/coresight-core.c
> index 6994c1309b2b..7936fca8436c 100644
> --- a/drivers/hwtracing/coresight/coresight-core.c
> +++ b/drivers/hwtracing/coresight/coresight-core.c
> @@ -1692,3 +1692,4 @@ module_exit(coresight_exit);
>  MODULE_AUTHOR("Pratik Patel <pratikp@codeaurora.org>");
>  MODULE_AUTHOR("Mathieu Poirier <mathieu.poirier@linaro.org>");
>  MODULE_DESCRIPTION("Arm CoreSight tracer driver");
> +MODULE_LICENSE("GPL");
> -- 
> 2.29.1
> 

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2020-10-27 15:43 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-27  8:51 [PATCH 0/2] Trivial warning fixes balbi
2020-10-27  8:51 ` [PATCH 1/2] hwtracing: coresight: add missing MODULE_LICENSE() balbi
2020-10-27 10:35   ` Suzuki K Poulose
2020-10-27 15:29   ` Mathieu Poirier
2020-10-27  8:51 ` [PATCH 2/2] irqchip: bcm2836: fix section mismatch warning balbi
2020-10-27  9:03   ` Marc Zyngier

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).