[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200616103330.2df51a58@canb.auug.org.au>
Date: Tue, 16 Jun 2020 10:33:30 +1000
From: Stephen Rothwell <sfr@...b.auug.org.au>
To: Al Viro <viro@...IV.linux.org.uk>
Cc: Linux Next Mailing List <linux-next@...r.kernel.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: linux-next: build failures after merge of the vfs tree
Hi all,
After merging the vfs tree, today's linux-next build (x86_64 allmodconfig)
failed like this:
drivers/dma/uniphier-xdmac.c: In function 'uniphier_xdmac_prep_dma_memcpy':
drivers/dma/uniphier-xdmac.c:293:7: error: implicit declaration of function 'kzalloc'; did you mean 'kvzalloc'? [-Werror=implicit-function-declaration]
293 | xd = kzalloc(struct_size(xd, nodes, nr), GFP_NOWAIT);
| ^~~~~~~
| kvzalloc
drivers/dma/uniphier-xdmac.c:293:5: warning: assignment to 'struct uniphier_xdmac_desc *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
293 | xd = kzalloc(struct_size(xd, nodes, nr), GFP_NOWAIT);
| ^
drivers/dma/uniphier-xdmac.c: In function 'uniphier_xdmac_prep_slave_sg':
drivers/dma/uniphier-xdmac.c:349:5: warning: assignment to 'struct uniphier_xdmac_desc *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
349 | xd = kzalloc(struct_size(xd, nodes, sg_len), GFP_NOWAIT);
| ^
drivers/dma/uniphier-xdmac.c:373:4: error: implicit declaration of function 'kfree'; did you mean 'kvfree'? [-Werror=implicit-function-declaration]
373 | kfree(xd);
| ^~~~~
| kvfree
Also, from the arm multi_v7_defconfig build:
drivers/dma/st_fdma.c: In function 'st_fdma_free_desc':
drivers/dma/st_fdma.c:233:2: error: implicit declaration of function 'kfree'; did you mean 'vfree'? [-Werror=implicit-function-declaration]
233 | kfree(fdesc);
| ^~~~~
| vfree
drivers/dma/st_fdma.c: In function 'st_fdma_alloc_desc':
drivers/dma/st_fdma.c:242:10: error: implicit declaration of function 'kzalloc'; did you mean 'vzalloc'? [-Werror=implicit-function-declaration]
242 | fdesc = kzalloc(struct_size(fdesc, node, sg_len), GFP_NOWAIT);
| ^~~~~~~
| vzalloc
drivers/dma/st_fdma.c:242:8: warning: assignment to 'struct st_fdma_desc *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
242 | fdesc = kzalloc(struct_size(fdesc, node, sg_len), GFP_NOWAIT);
| ^
Caused by commit
f0187db056dc ("iov_iter: Move unnecessary inclusion of crypto/hash.h")
I have reverted that commit for today.
--
Cheers,
Stephen Rothwell
Content of type "application/pgp-signature" skipped
Powered by blists - more mailing lists