diff mbox series

arch: arm: Fix SZ_64K undeclared compilation error

Message ID 1581658252-12240-1-git-send-email-wasim.khan@nxp.com
State Accepted
Commit f381a26cb5c3e91a062a0b3bf76aa03c5fa468fc
Headers show
Series arch: arm: Fix SZ_64K undeclared compilation error | expand

Commit Message

Wasim Khan Feb. 14, 2020, 5:30 a.m. UTC
Macro SZ_64K is undeclared. Include sizes.h to fix the compilation
error.

Signed-off-by: Wasim Khan <wasim.khan at nxp.com>
---
 arch/arm/lib/gic-v3-its.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Bharat Gooty Feb. 18, 2020, 10:48 a.m. UTC | #1
Looks good to me.

On 14/02/20 11:00 am, Wasim Khan wrote:
> Macro SZ_64K is undeclared. Include sizes.h to fix the compilation
> error.
>
> Signed-off-by: Wasim Khan <wasim.khan at nxp.com>
> ---
>   arch/arm/lib/gic-v3-its.c | 1 +
>   1 file changed, 1 insertion(+)
>
> diff --git a/arch/arm/lib/gic-v3-its.c b/arch/arm/lib/gic-v3-its.c
> index e19ab01..6ee22d2 100644
> --- a/arch/arm/lib/gic-v3-its.c
> +++ b/arch/arm/lib/gic-v3-its.c
> @@ -6,6 +6,7 @@
>   #include <asm/gic.h>
>   #include <asm/gic-v3.h>
>   #include <asm/io.h>
> +#include <linux/sizes.h>
>   
>   static u32 lpi_id_bits;
>
Priyanka Jain (OSS) Feb. 19, 2020, 7:03 a.m. UTC | #2
>-----Original Message-----
>From: U-Boot <u-boot-bounces at lists.denx.de> On Behalf Of Bharat Kumar
>Reddy
>Sent: Tuesday, February 18, 2020 4:19 PM
>To: Wasim Khan <wasim.khan at nxp.com>; Priyanka Jain
><priyanka.jain at nxp.com>; vladimir.olovyannikov at broadcom.com
>Cc: u-boot at lists.denx.de
>Subject: Re: [PATCH] arch: arm: Fix SZ_64K undeclared compilation error
>
>Looks good to me.
>
>On 14/02/20 11:00 am, Wasim Khan wrote:
>> Macro SZ_64K is undeclared. Include sizes.h to fix the compilation
>> error.
>>
>> Signed-off-by: Wasim Khan <wasim.khan at nxp.com>
>> ---
>>   arch/arm/lib/gic-v3-its.c | 1 +
>>   1 file changed, 1 insertion(+)
>>
>> diff --git a/arch/arm/lib/gic-v3-its.c b/arch/arm/lib/gic-v3-its.c
>> index e19ab01..6ee22d2 100644
>> --- a/arch/arm/lib/gic-v3-its.c
>> +++ b/arch/arm/lib/gic-v3-its.c
>> @@ -6,6 +6,7 @@
>>   #include <asm/gic.h>
>>   #include <asm/gic-v3.h>
>>   #include <asm/io.h>
>> +#include <linux/sizes.h>
>>
>>   static u32 lpi_id_bits;
>>
Tom,
Some of patches in my backlog are dependent on this. Can you please apply this fix.

Thanks
priyankajain
Tom Rini Feb. 19, 2020, 12:21 p.m. UTC | #3
On Wed, Feb 19, 2020 at 07:03:26AM +0000, Priyanka Jain (OSS) wrote:
> >-----Original Message-----
> >From: U-Boot <u-boot-bounces at lists.denx.de> On Behalf Of Bharat Kumar
> >Reddy
> >Sent: Tuesday, February 18, 2020 4:19 PM
> >To: Wasim Khan <wasim.khan at nxp.com>; Priyanka Jain
> ><priyanka.jain at nxp.com>; vladimir.olovyannikov at broadcom.com
> >Cc: u-boot at lists.denx.de
> >Subject: Re: [PATCH] arch: arm: Fix SZ_64K undeclared compilation error
> >
> >Looks good to me.
> >
> >On 14/02/20 11:00 am, Wasim Khan wrote:
> >> Macro SZ_64K is undeclared. Include sizes.h to fix the compilation
> >> error.
> >>
> >> Signed-off-by: Wasim Khan <wasim.khan at nxp.com>
> >> ---
> >>   arch/arm/lib/gic-v3-its.c | 1 +
> >>   1 file changed, 1 insertion(+)
> >>
> >> diff --git a/arch/arm/lib/gic-v3-its.c b/arch/arm/lib/gic-v3-its.c
> >> index e19ab01..6ee22d2 100644
> >> --- a/arch/arm/lib/gic-v3-its.c
> >> +++ b/arch/arm/lib/gic-v3-its.c
> >> @@ -6,6 +6,7 @@
> >>   #include <asm/gic.h>
> >>   #include <asm/gic-v3.h>
> >>   #include <asm/io.h>
> >> +#include <linux/sizes.h>
> >>
> >>   static u32 lpi_id_bits;
> >>
> Tom,
> Some of patches in my backlog are dependent on this. Can you please apply this fix.

Reviewed-by: Tom Rini <trini at konsulko.com>

Please just pick it up, thanks!
Tom Rini Feb. 25, 2020, 7 p.m. UTC | #4
On Fri, Feb 14, 2020 at 11:00:52AM +0530, Wasim Khan wrote:

> Macro SZ_64K is undeclared. Include sizes.h to fix the compilation
> error.
> 
> Signed-off-by: Wasim Khan <wasim.khan at nxp.com>
> Reviewed-by: Tom Rini <trini at konsulko.com>

Applied to u-boot/master, thanks!
diff mbox series

Patch

diff --git a/arch/arm/lib/gic-v3-its.c b/arch/arm/lib/gic-v3-its.c
index e19ab01..6ee22d2 100644
--- a/arch/arm/lib/gic-v3-its.c
+++ b/arch/arm/lib/gic-v3-its.c
@@ -6,6 +6,7 @@ 
 #include <asm/gic.h>
 #include <asm/gic-v3.h>
 #include <asm/io.h>
+#include <linux/sizes.h>
 
 static u32 lpi_id_bits;