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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Attachment: pgp799NlEfweK.pgp
Description: OpenPGP digital signature


[Index of Archives]     [Linux Kernel]     [Linux USB Development]     [Yosemite News]     [Linux SCSI]

  Powered by Linux