Guest User

Untitled

a guest
Jan 12th, 2018
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.96 KB | None | 0 0
  1. CC [M] /root/rpmbuild/BUILD/xfs-3.18.44/obj/default/xfs_aops.o
  2. /root/rpmbuild/BUILD/xfs-3.18.44/obj/default/xfs_aops.c: In function 'xfs_end_bio':
  3. /root/rpmbuild/BUILD/xfs-3.18.44/obj/default/xfs_aops.c:380: error: 'BIO_UPTODATE' undeclared (first use in this function)
  4. /root/rpmbuild/BUILD/xfs-3.18.44/obj/default/xfs_aops.c:380: error: (Each undeclared identifier is reported only once
  5. /root/rpmbuild/BUILD/xfs-3.18.44/obj/default/xfs_aops.c:380: error: for each function it appears in.)
  6. /root/rpmbuild/BUILD/xfs-3.18.44/obj/default/xfs_aops.c:380: warning: passing argument 2 of 'constant_test_bit' from incompatible pointer type
  7. ./arch/x86/include/asm/bitops.h:308: note: expected 'const volatile long unsigned int *' but argument is of type 'short unsigned int *'
  8. /root/rpmbuild/BUILD/xfs-3.18.44/obj/default/xfs_aops.c:380: warning: passing argument 2 of 'variable_test_bit' from incompatible pointer type
  9. ./arch/x86/include/asm/bitops.h:314: note: expected 'const volatile long unsigned int *' but argument is of type 'short unsigned int *'
  10. /root/rpmbuild/BUILD/xfs-3.18.44/obj/default/xfs_aops.c: In function 'xfs_submit_ioend_bio':
  11. /root/rpmbuild/BUILD/xfs-3.18.44/obj/default/xfs_aops.c:398: warning: assignment from incompatible pointer type
  12. /root/rpmbuild/BUILD/xfs-3.18.44/obj/default/xfs_aops.c:399: warning: passing argument 1 of 'submit_bio' makes pointer from integer without a cast
  13. ./include/linux/fs.h:2790: note: expected 'struct bio *' but argument is of type 'long long unsigned int'
  14. /root/rpmbuild/BUILD/xfs-3.18.44/obj/default/xfs_aops.c:399: error: too many arguments to function 'submit_bio'
  15. /root/rpmbuild/BUILD/xfs-3.18.44/obj/default/xfs_aops.c: In function 'xfs_alloc_ioend_bio':
  16. /root/rpmbuild/BUILD/xfs-3.18.44/obj/default/xfs_aops.c:406: error: implicit declaration of function 'bio_get_nr_vecs'
  17. /root/rpmbuild/BUILD/xfs-3.18.44/obj/default/xfs_aops.c: In function 'xfs_convert_page':
  18. /root/rpmbuild/BUILD/xfs-3.18.44/obj/default/xfs_aops.c:767: error: 'PAGE_CACHE_SIZE' undeclared (first use in this function)
  19. /root/rpmbuild/BUILD/xfs-3.18.44/obj/default/xfs_aops.c: In function 'xfs_vm_direct_IO':
  20. /root/rpmbuild/BUILD/xfs-3.18.44/obj/default/xfs_aops.c:1532: warning: passing argument 1 of '__blockdev_direct_IO' makes pointer from integer without a cast
  21. ./include/linux/fs.h:2862: note: expected 'struct kiocb *' but argument is of type 'int'
  22. /root/rpmbuild/BUILD/xfs-3.18.44/obj/default/xfs_aops.c:1532: warning: passing argument 2 of '__blockdev_direct_IO' from incompatible pointer type
  23. ./include/linux/fs.h:2862: note: expected 'struct inode *' but argument is of type 'struct kiocb *'
  24. /root/rpmbuild/BUILD/xfs-3.18.44/obj/default/xfs_aops.c:1532: warning: passing argument 3 of '__blockdev_direct_IO' from incompatible pointer type
  25. ./include/linux/fs.h:2862: note: expected 'struct block_device *' but argument is of type 'struct inode *'
  26. /root/rpmbuild/BUILD/xfs-3.18.44/obj/default/xfs_aops.c:1532: warning: passing argument 4 of '__blockdev_direct_IO' from incompatible pointer type
  27. ./include/linux/fs.h:2862: note: expected 'struct iov_iter *' but argument is of type 'struct block_device *'
  28. /root/rpmbuild/BUILD/xfs-3.18.44/obj/default/xfs_aops.c:1532: warning: passing argument 5 of '__blockdev_direct_IO' from incompatible pointer type
  29. ./include/linux/fs.h:2862: note: expected 'int (*)(struct inode *, sector_t, struct buffer_head *, int)' but argument is of type 'struct iov_iter *'
  30. /root/rpmbuild/BUILD/xfs-3.18.44/obj/default/xfs_aops.c:1532: warning: passing argument 6 of '__blockdev_direct_IO' makes pointer from integer without a cast
  31. ./include/linux/fs.h:2862: note: expected 'int (*)(struct kiocb *, loff_t, ssize_t, void *)' but argument is of type 'loff_t'
  32. /root/rpmbuild/BUILD/xfs-3.18.44/obj/default/xfs_aops.c:1532: warning: passing argument 7 of '__blockdev_direct_IO' from incompatible pointer type
  33. ./include/linux/fs.h:2862: note: expected 'void (*)(struct bio *, struct inode *, loff_t)' but argument is of type 'int (*)(struct inode *, sector_t, struct buffer_head *, int)'
  34. /root/rpmbuild/BUILD/xfs-3.18.44/obj/default/xfs_aops.c:1532: warning: passing argument 8 of '__blockdev_direct_IO' makes integer from pointer without a cast
  35. ./include/linux/fs.h:2862: note: expected 'int' but argument is of type 'void (*)(struct kiocb *, loff_t, ssize_t, void *)'
  36. /root/rpmbuild/BUILD/xfs-3.18.44/obj/default/xfs_aops.c:1532: error: too many arguments to function '__blockdev_direct_IO'
  37. /root/rpmbuild/BUILD/xfs-3.18.44/obj/default/xfs_aops.c:1538: warning: passing argument 1 of '__blockdev_direct_IO' makes pointer from integer without a cast
  38. ./include/linux/fs.h:2862: note: expected 'struct kiocb *' but argument is of type 'int'
  39. /root/rpmbuild/BUILD/xfs-3.18.44/obj/default/xfs_aops.c:1538: warning: passing argument 2 of '__blockdev_direct_IO' from incompatible pointer type
  40. ./include/linux/fs.h:2862: note: expected 'struct inode *' but argument is of type 'struct kiocb *'
  41. /root/rpmbuild/BUILD/xfs-3.18.44/obj/default/xfs_aops.c:1538: warning: passing argument 3 of '__blockdev_direct_IO' from incompatible pointer type
  42. ./include/linux/fs.h:2862: note: expected 'struct block_device *' but argument is of type 'struct inode *'
  43. /root/rpmbuild/BUILD/xfs-3.18.44/obj/default/xfs_aops.c:1538: warning: passing argument 4 of '__blockdev_direct_IO' from incompatible pointer type
  44. ./include/linux/fs.h:2862: note: expected 'struct iov_iter *' but argument is of type 'struct block_device *'
  45. /root/rpmbuild/BUILD/xfs-3.18.44/obj/default/xfs_aops.c:1538: warning: passing argument 5 of '__blockdev_direct_IO' from incompatible pointer type
  46. ./include/linux/fs.h:2862: note: expected 'int (*)(struct inode *, sector_t, struct buffer_head *, int)' but argument is of type 'struct iov_iter *'
  47. /root/rpmbuild/BUILD/xfs-3.18.44/obj/default/xfs_aops.c:1538: warning: passing argument 6 of '__blockdev_direct_IO' makes pointer from integer without a cast
  48. ./include/linux/fs.h:2862: note: expected 'int (*)(struct kiocb *, loff_t, ssize_t, void *)' but argument is of type 'loff_t'
  49. /root/rpmbuild/BUILD/xfs-3.18.44/obj/default/xfs_aops.c:1538: warning: passing argument 7 of '__blockdev_direct_IO' from incompatible pointer type
  50. ./include/linux/fs.h:2862: note: expected 'void (*)(struct bio *, struct inode *, loff_t)' but argument is of type 'int (*)(struct inode *, sector_t, struct buffer_head *, int)'
  51. /root/rpmbuild/BUILD/xfs-3.18.44/obj/default/xfs_aops.c:1538: warning: passing argument 8 of '__blockdev_direct_IO' makes integer from pointer without a cast
  52. ./include/linux/fs.h:2862: note: expected 'int' but argument is of type 'void *'
  53. /root/rpmbuild/BUILD/xfs-3.18.44/obj/default/xfs_aops.c:1538: error: too many arguments to function '__blockdev_direct_IO'
  54. /root/rpmbuild/BUILD/xfs-3.18.44/obj/default/xfs_aops.c: At top level:
  55. /root/rpmbuild/BUILD/xfs-3.18.44/obj/default/xfs_aops.c:1846: warning: initialization from incompatible pointer type
  56. make[1]: *** [/root/rpmbuild/BUILD/xfs-3.18.44/obj/default/xfs_aops.o] Error 1
  57. make: *** [_module_/root/rpmbuild/BUILD/xfs-3.18.44/obj/default] Error 2
Advertisement
Add Comment
Please, Sign In to add comment