From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751399AbeEDMQc (ORCPT ); Fri, 4 May 2018 08:16:32 -0400 Received: from mail.bootlin.com ([62.4.15.54]:57775 "EHLO mail.bootlin.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751106AbeEDMQb (ORCPT ); Fri, 4 May 2018 08:16:31 -0400 Date: Fri, 4 May 2018 14:16:19 +0200 From: Alexandre Belloni To: Sebastian Andrzej Siewior Cc: linux-kernel@vger.kernel.org, tglx@linutronix.de, Lee Jones , Nicolas Ferre , linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH REPOST] mfd: syscon: atmel-smc: include string.h Message-ID: <20180504121619.GJ10960@piout.net> References: <20180504103446.20104-1-bigeasy@linutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180504103446.20104-1-bigeasy@linutronix.de> User-Agent: Mutt/1.9.5 (2018-04-13) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 > Cc: Nicolas Ferre > Cc: Alexandre Belloni > Cc: linux-arm-kernel@lists.infradead.org > Signed-off-by: Sebastian Andrzej Siewior Acked-by: Alexandre Belloni > --- > 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 > +#include > > /** > * atmel_smc_cs_conf_init - initialize a SMC CS conf -- Alexandre Belloni, Bootlin (formerly Free Electrons) Embedded Linux and Kernel engineering https://bootlin.com