Re: linux-next: build failures after merge of the vfs tree

From: Stephen Rothwell
Date: Wed Jun 17 2020 - 02:57:21 EST


Hi Herbert,

On Wed, 17 Jun 2020 00:38:07 +1000 Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> wrote:
>
> On Tue, Jun 16, 2020 at 04:38:49AM +0100, Al Viro wrote:
> >
> > Folded and pushed
>
> Thanks Al. Here's another one that I just got, could you add this
> one too?
>
> diff --git a/drivers/mtd/nand/raw/cadence-nand-controller.c b/drivers/mtd/nand/raw/cadence-nand-controller.c
> index c405722adfe1..c4f273e2fe78 100644
> --- a/drivers/mtd/nand/raw/cadence-nand-controller.c
> +++ b/drivers/mtd/nand/raw/cadence-nand-controller.c
> @@ -17,6 +17,7 @@
> #include <linux/mtd/rawnand.h>
> #include <linux/of_device.h>
> #include <linux/iopoll.h>
> +#include <linux/slab.h>
>
> /*
> * HPNFC can work in 3 modes:

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]

--
Cheers,
Stephen Rothwell

Attachment: pgpzGEToWd8tx.pgp
Description: OpenPGP digital signature