linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] s390: add slab.h for kzalloc/kfree
@ 2014-04-27 21:35 Jeff Mahoney
  2014-04-28  8:11 ` Heiko Carstens
  0 siblings, 1 reply; 2+ messages in thread
From: Jeff Mahoney @ 2014-04-27 21:35 UTC (permalink / raw)
  To: Linux Kernel Maling List, Sebastian Ott, Gerald Schaefer,
	Martin Schwidefsky

This fixes:
arch/s390/appldata/appldata_mem.c:135:2: error: implicit declaration of function 'kzalloc' [-Werror=implicit-function-declaration]
arch/s390/appldata/appldata_mem.c:141:3: error: implicit declaration of function 'kfree' [-Werror=implicit-function-declaration]

Signed-off-by: Jeff Mahoney <jeffm@suse.com>
---
 arch/s390/appldata/appldata_mem.c |    1 +
 1 file changed, 1 insertion(+)

--- a/arch/s390/appldata/appldata_mem.c
+++ b/arch/s390/appldata/appldata_mem.c
@@ -13,6 +13,7 @@
 #include <linux/kernel_stat.h>
 #include <linux/pagemap.h>
 #include <linux/swap.h>
+#include <linux/slab.h>
 #include <asm/io.h>
 
 #include "appldata.h"

-- 
Jeff Mahoney
SUSE Labs

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

* Re: [PATCH] s390: add slab.h for kzalloc/kfree
  2014-04-27 21:35 [PATCH] s390: add slab.h for kzalloc/kfree Jeff Mahoney
@ 2014-04-28  8:11 ` Heiko Carstens
  0 siblings, 0 replies; 2+ messages in thread
From: Heiko Carstens @ 2014-04-28  8:11 UTC (permalink / raw)
  To: Jeff Mahoney
  Cc: Linux Kernel Maling List, Sebastian Ott, Gerald Schaefer,
	Martin Schwidefsky

On Sun, Apr 27, 2014 at 05:35:43PM -0400, Jeff Mahoney wrote:
> This fixes:
> arch/s390/appldata/appldata_mem.c:135:2: error: implicit declaration of function 'kzalloc' [-Werror=implicit-function-declaration]
> arch/s390/appldata/appldata_mem.c:141:3: error: implicit declaration of function 'kfree' [-Werror=implicit-function-declaration]
> 
> Signed-off-by: Jeff Mahoney <jeffm@suse.com>
> ---
>  arch/s390/appldata/appldata_mem.c |    1 +
>  1 file changed, 1 insertion(+)
> 
> --- a/arch/s390/appldata/appldata_mem.c
> +++ b/arch/s390/appldata/appldata_mem.c
> @@ -13,6 +13,7 @@
>  #include <linux/kernel_stat.h>
>  #include <linux/pagemap.h>
>  #include <linux/swap.h>
> +#include <linux/slab.h>
>  #include <asm/io.h>

Applied, thanks.


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

end of thread, other threads:[~2014-04-28  8:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-27 21:35 [PATCH] s390: add slab.h for kzalloc/kfree Jeff Mahoney
2014-04-28  8:11 ` Heiko Carstens

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).