public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH REPOST] mfd: syscon: atmel-smc: include string.h
@ 2018-05-04 10:34 Sebastian Andrzej Siewior
  2018-05-04 12:16 ` Alexandre Belloni
  2018-05-18 13:27 ` Lee Jones
  0 siblings, 2 replies; 3+ messages in thread
From: Sebastian Andrzej Siewior @ 2018-05-04 10:34 UTC (permalink / raw)
  To: linux-kernel
  Cc: tglx, Sebastian Andrzej Siewior, Lee Jones, Nicolas Ferre,
	Alexandre Belloni, linux-arm-kernel

The string.h header file is needed for the memset() definition. The RT
build fails because it is not pulled in via other header files.

Cc: Lee Jones <lee.jones@linaro.org>
Cc: Nicolas Ferre <nicolas.ferre@microchip.com>
Cc: Alexandre Belloni <alexandre.belloni@bootlin.com>
Cc: linux-arm-kernel@lists.infradead.org
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
---
 drivers/mfd/atmel-smc.c |    1 +
 1 file changed, 1 insertion(+)

--- a/drivers/mfd/atmel-smc.c
+++ b/drivers/mfd/atmel-smc.c
@@ -12,6 +12,7 @@
  */
 
 #include <linux/mfd/syscon/atmel-smc.h>
+#include <linux/string.h>
 
 /**
  * atmel_smc_cs_conf_init - initialize a SMC CS conf

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

* Re: [PATCH REPOST] mfd: syscon: atmel-smc: include string.h
  2018-05-04 10:34 [PATCH REPOST] mfd: syscon: atmel-smc: include string.h Sebastian Andrzej Siewior
@ 2018-05-04 12:16 ` Alexandre Belloni
  2018-05-18 13:27 ` Lee Jones
  1 sibling, 0 replies; 3+ messages in thread
From: Alexandre Belloni @ 2018-05-04 12:16 UTC (permalink / raw)
  To: Sebastian Andrzej Siewior
  Cc: linux-kernel, tglx, Lee Jones, Nicolas Ferre, linux-arm-kernel

On 04/05/2018 12:34:46+0200, Sebastian Andrzej Siewior wrote:
> The string.h header file is needed for the memset() definition. The RT
> build fails because it is not pulled in via other header files.
> 
> Cc: Lee Jones <lee.jones@linaro.org>
> Cc: Nicolas Ferre <nicolas.ferre@microchip.com>
> Cc: Alexandre Belloni <alexandre.belloni@bootlin.com>
> Cc: linux-arm-kernel@lists.infradead.org
> Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Acked-by: Alexandre Belloni <alexandre.belloni@bootlin.com>

> ---
>  drivers/mfd/atmel-smc.c |    1 +
>  1 file changed, 1 insertion(+)
> 
> --- a/drivers/mfd/atmel-smc.c
> +++ b/drivers/mfd/atmel-smc.c
> @@ -12,6 +12,7 @@
>   */
>  
>  #include <linux/mfd/syscon/atmel-smc.h>
> +#include <linux/string.h>
>  
>  /**
>   * atmel_smc_cs_conf_init - initialize a SMC CS conf

-- 
Alexandre Belloni, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
https://bootlin.com

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

* Re: [PATCH REPOST] mfd: syscon: atmel-smc: include string.h
  2018-05-04 10:34 [PATCH REPOST] mfd: syscon: atmel-smc: include string.h Sebastian Andrzej Siewior
  2018-05-04 12:16 ` Alexandre Belloni
@ 2018-05-18 13:27 ` Lee Jones
  1 sibling, 0 replies; 3+ messages in thread
From: Lee Jones @ 2018-05-18 13:27 UTC (permalink / raw)
  To: Sebastian Andrzej Siewior
  Cc: linux-kernel, tglx, Nicolas Ferre, Alexandre Belloni,
	linux-arm-kernel

On Fri, 04 May 2018, Sebastian Andrzej Siewior wrote:

> The string.h header file is needed for the memset() definition. The RT
> build fails because it is not pulled in via other header files.
> 
> Cc: Lee Jones <lee.jones@linaro.org>
> Cc: Nicolas Ferre <nicolas.ferre@microchip.com>
> Cc: Alexandre Belloni <alexandre.belloni@bootlin.com>
> Cc: linux-arm-kernel@lists.infradead.org
> Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
> ---
>  drivers/mfd/atmel-smc.c |    1 +
>  1 file changed, 1 insertion(+)

Applied, thanks.

-- 
Lee Jones [李琼斯]
Linaro Services Technical Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog

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

end of thread, other threads:[~2018-05-18 13:27 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-05-04 10:34 [PATCH REPOST] mfd: syscon: atmel-smc: include string.h Sebastian Andrzej Siewior
2018-05-04 12:16 ` Alexandre Belloni
2018-05-18 13:27 ` Lee Jones

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox