All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] soc: imx: gpcv2: include linux/sizes.h
@ 2020-01-20 12:51 Leonard Crestez
  2020-02-14  2:03 ` Shawn Guo
  0 siblings, 1 reply; 4+ messages in thread
From: Leonard Crestez @ 2020-01-20 12:51 UTC (permalink / raw)
  To: Peng Fan, Shawn Guo
  Cc: Dong Aisheng, Anson Huang, linux-imx, kernel, Fabio Estevam,
	linux-arm-kernel

This header is included indirectly on arm/arm64 but not on x86 so
CONFIG_COMPILE_TEST breaks. Fix by including <linux/sizes.h> directly.

Signed-off-by: Leonard Crestez <leonard.crestez@nxp.com>

---
Support for COMPILE_TEST inside drivers/soc/imx is enabled by this
series:

https://patchwork.kernel.org/cover/11335989/

 drivers/soc/imx/gpcv2.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/soc/imx/gpcv2.c b/drivers/soc/imx/gpcv2.c
index b0dffb06c05d..6cf8a7a412bd 100644
--- a/drivers/soc/imx/gpcv2.c
+++ b/drivers/soc/imx/gpcv2.c
@@ -12,10 +12,11 @@
 #include <linux/of_device.h>
 #include <linux/platform_device.h>
 #include <linux/pm_domain.h>
 #include <linux/regmap.h>
 #include <linux/regulator/consumer.h>
+#include <linux/sizes.h>
 #include <dt-bindings/power/imx7-power.h>
 #include <dt-bindings/power/imx8mq-power.h>
 
 #define GPC_LPCR_A_CORE_BSC			0x000
 
-- 
2.17.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

* Re: [PATCH] soc: imx: gpcv2: include linux/sizes.h
  2020-01-20 12:51 [PATCH] soc: imx: gpcv2: include linux/sizes.h Leonard Crestez
@ 2020-02-14  2:03 ` Shawn Guo
  2020-02-14  2:07   ` Peng Fan
  0 siblings, 1 reply; 4+ messages in thread
From: Shawn Guo @ 2020-02-14  2:03 UTC (permalink / raw)
  To: Leonard Crestez
  Cc: Dong Aisheng, Peng Fan, Anson Huang, linux-imx, kernel,
	Fabio Estevam, linux-arm-kernel

On Mon, Jan 20, 2020 at 02:51:28PM +0200, Leonard Crestez wrote:
> This header is included indirectly on arm/arm64 but not on x86 so
> CONFIG_COMPILE_TEST breaks. Fix by including <linux/sizes.h> directly.
> 
> Signed-off-by: Leonard Crestez <leonard.crestez@nxp.com>

Applied, thanks.

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

* RE: [PATCH] soc: imx: gpcv2: include linux/sizes.h
  2020-02-14  2:03 ` Shawn Guo
@ 2020-02-14  2:07   ` Peng Fan
  2020-02-14  2:22     ` Shawn Guo
  0 siblings, 1 reply; 4+ messages in thread
From: Peng Fan @ 2020-02-14  2:07 UTC (permalink / raw)
  To: Shawn Guo, Leonard Crestez
  Cc: Aisheng Dong, Anson Huang, dl-linux-imx, kernel, Fabio Estevam,
	linux-arm-kernel

Hi Shawn

> Subject: Re: [PATCH] soc: imx: gpcv2: include linux/sizes.h

I included this patch in https://patchwork.kernel.org/cover/11353557/

Patch 1/2 is exactly the same with this one.
Patch 2/2 needs this patch or patch 1/2.

Thanks,
Peng.

> 
> On Mon, Jan 20, 2020 at 02:51:28PM +0200, Leonard Crestez wrote:
> > This header is included indirectly on arm/arm64 but not on x86 so
> > CONFIG_COMPILE_TEST breaks. Fix by including <linux/sizes.h> directly.
> >
> > Signed-off-by: Leonard Crestez <leonard.crestez@nxp.com>
> 
> Applied, thanks.

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

* Re: [PATCH] soc: imx: gpcv2: include linux/sizes.h
  2020-02-14  2:07   ` Peng Fan
@ 2020-02-14  2:22     ` Shawn Guo
  0 siblings, 0 replies; 4+ messages in thread
From: Shawn Guo @ 2020-02-14  2:22 UTC (permalink / raw)
  To: Peng Fan
  Cc: Aisheng Dong, Anson Huang, dl-linux-imx, kernel, Fabio Estevam,
	Leonard Crestez, linux-arm-kernel

On Fri, Feb 14, 2020 at 02:07:02AM +0000, Peng Fan wrote:
> Hi Shawn
> 
> > Subject: Re: [PATCH] soc: imx: gpcv2: include linux/sizes.h
> 
> I included this patch in https://patchwork.kernel.org/cover/11353557/
> 
> Patch 1/2 is exactly the same with this one.
> Patch 2/2 needs this patch or patch 1/2.

Thanks for the note.  I will deal with it.

Shawn

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

end of thread, other threads:[~2020-02-14  2:22 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-20 12:51 [PATCH] soc: imx: gpcv2: include linux/sizes.h Leonard Crestez
2020-02-14  2:03 ` Shawn Guo
2020-02-14  2:07   ` Peng Fan
2020-02-14  2:22     ` Shawn Guo

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.