lkml.org 
[lkml]   [2020]   [Jun]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    SubjectRe: linux-next: build failures after merge of the vfs tree
    On Wed, Jun 17, 2020 at 04:57:15PM +1000, Stephen Rothwell wrote:
    >
    > Presumably another include needed:
    >
    > arch/s390/lib/test_unwind.c:49:2: error: implicit declaration of function 'kmalloc' [-Werror=implicit-function-declaration]
    > arch/s390/lib/test_unwind.c:99:2: error: implicit declaration of function 'kfree' [-Werror=implicit-function-declaration]

    Hi Stephen:

    It's not clear how this file manages to include linux/uio.h but
    here is a patch for it anyway:

    diff --git a/arch/s390/lib/test_unwind.c b/arch/s390/lib/test_unwind.c
    index 32b7a30b2485..eb382ceaa116 100644
    --- a/arch/s390/lib/test_unwind.c
    +++ b/arch/s390/lib/test_unwind.c
    @@ -9,6 +9,7 @@
    #include <linux/kallsyms.h>
    #include <linux/kthread.h>
    #include <linux/module.h>
    +#include <linux/slab.h>
    #include <linux/string.h>
    #include <linux/kprobes.h>
    #include <linux/wait.h>
    --
    Email: Herbert Xu <herbert@gondor.apana.org.au>
    Home Page: http://gondor.apana.org.au/~herbert/
    PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
    \
     
     \ /
      Last update: 2020-06-17 09:04    [W:2.073 / U:0.108 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site