2020-10-28 06:01:45

by Felipe Balbi

[permalink] [raw]
Subject: [PATCH 0/2] Trivial warning fixes

From: Felipe Balbi <[email protected]>

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


2020-10-28 06:01:53

by Felipe Balbi

[permalink] [raw]
Subject: [PATCH 1/2] hwtracing: coresight: add missing MODULE_LICENSE()

From: Felipe Balbi <[email protected]>

Fix the following build warning:

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

Signed-off-by: Felipe Balbi <[email protected]>
---
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 <[email protected]>");
MODULE_AUTHOR("Mathieu Poirier <[email protected]>");
MODULE_DESCRIPTION("Arm CoreSight tracer driver");
+MODULE_LICENSE("GPL");
--
2.29.1

2020-10-28 06:53:02

by Suzuki K Poulose

[permalink] [raw]
Subject: Re: [PATCH 1/2] hwtracing: coresight: add missing MODULE_LICENSE()

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

Acked-by: Suzuki K Poulose <[email protected]>

2020-10-28 13:08:44

by Mathieu Poirier

[permalink] [raw]
Subject: Re: [PATCH 1/2] hwtracing: coresight: add missing MODULE_LICENSE()

Hi Felipe,

On Tue, Oct 27, 2020 at 10:51:56AM +0200, [email protected] wrote:
> From: Felipe Balbi <[email protected]>
>
> 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 <[email protected]>
> ---
> 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 <[email protected]>");
> MODULE_AUTHOR("Mathieu Poirier <[email protected]>");
> MODULE_DESCRIPTION("Arm CoreSight tracer driver");
> +MODULE_LICENSE("GPL");
> --
> 2.29.1
>