Advertisement
Guest User

Untitled

a guest
Aug 10th, 2021
41
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.72 KB | None | 0 0
  1. /home/dgmarie/hadk/kernel/xiaomi/sm6150/fs/crypto/fscrypt_ice.c:17:5: error: redefinition of 'fscrypt_using_hardware_encryption'
  2. int fscrypt_using_hardware_encryption(const struct inode *inode)
  3. ^
  4. /home/dgmarie/hadk/kernel/xiaomi/sm6150/include/linux/fscrypt.h:268:19: note: previous definition is here
  5. static inline int fscrypt_using_hardware_encryption(const struct inode *inode)
  6. ^
  7. /home/dgmarie/hadk/kernel/xiaomi/sm6150/fs/crypto/fscrypt_ice.c:153:6: error: redefinition of 'fscrypt_set_ice_dun'
  8. void fscrypt_set_ice_dun(const struct inode *inode, struct bio *bio, u64 dun)
  9. ^
  10. /home/dgmarie/hadk/kernel/xiaomi/sm6150/include/linux/fscrypt.h:273:20: note: previous definition is here
  11. static inline void fscrypt_set_ice_dun(const struct inode *inode,
  12. ^
  13. /home/dgmarie/hadk/kernel/xiaomi/sm6150/fs/crypto/fscrypt_ice.c:156:16: error: no member named 'bi_dun' in 'struct bvec_iter'; did you
  14. mean 'bi_done'?
  15. bio->bi_iter.bi_dun = dun;
  16. ^~~~~~
  17. bi_done
  18. /home/dgmarie/hadk/kernel/xiaomi/sm6150/include/linux/bvec.h:43:26: note: 'bi_done' declared here
  19. unsigned int bi_done; /* number of bytes completed */
  20. ^
  21. /home/dgmarie/hadk/kernel/xiaomi/sm6150/fs/crypto/fscrypt_ice.c:160:6: error: redefinition of 'fscrypt_set_ice_skip'
  22. void fscrypt_set_ice_skip(struct bio *bio, int bi_crypt_skip)
  23. ^
  24. /home/dgmarie/hadk/kernel/xiaomi/sm6150/include/linux/fscrypt.h:276:20: note: previous definition is here
  25. static inline void fscrypt_set_ice_skip(struct bio *bio, int bi_crypt_skip)
  26. ^
  27. /home/dgmarie/hadk/kernel/xiaomi/sm6150/fs/crypto/fscrypt_ice.c:173:6: error: redefinition of 'fscrypt_mergeable_bio'
  28. bool fscrypt_mergeable_bio(struct bio *bio, u64 dun, bool bio_encrypted,
  29. ^
  30. /home/dgmarie/hadk/kernel/xiaomi/sm6150/include/linux/fscrypt.h:279:20: note: previous definition is here
  31. static inline bool fscrypt_mergeable_bio(struct bio *bio,
  32. ^
  33. /home/dgmarie/hadk/kernel/xiaomi/sm6150/fs/crypto/fscrypt_ice.c:184:7: error: no member named 'bi_dun' in 'struct bvec_iter'; did you
  34. mean 'bi_done'?
  35. if (!bio_dun(bio) && !bio_encrypted)
  36. ^
  37. /home/dgmarie/hadk/kernel/xiaomi/sm6150/include/linux/bio.h:72:39: note: expanded from macro 'bio_dun'
  38. #define bio_dun(bio) ((bio)->bi_iter.bi_dun)
  39. ^
  40. /home/dgmarie/hadk/kernel/xiaomi/sm6150/include/linux/bvec.h:43:26: note: 'bi_done' declared here
  41. unsigned int bi_done; /* number of bytes completed */
  42. ^
  43. /home/dgmarie/hadk/kernel/xiaomi/sm6150/fs/crypto/fscrypt_ice.c:188:9: error: no member named 'bi_dun' in 'struct bvec_iter'; did you
  44. mean 'bi_done'?
  45. return bio_end_dun(bio) == dun;
  46. ^
  47. /home/dgmarie/hadk/kernel/xiaomi/sm6150/include/linux/bio.h:74:27: note: expanded from macro 'bio_end_dun'
  48. #define bio_end_dun(bio) (bio_dun(bio) + bio_duns(bio))
  49. ^
  50. /home/dgmarie/hadk/kernel/xiaomi/sm6150/include/linux/bio.h:72:39: note: expanded from macro 'bio_dun'
  51. #define bio_dun(bio) ((bio)->bi_iter.bi_dun)
  52. ^
  53. /home/dgmarie/hadk/kernel/xiaomi/sm6150/include/linux/bvec.h:43:26: note: 'bi_done' declared here
  54. unsigned int bi_done; /* number of bytes completed */
  55. ^
  56. 7 errors generated.
  57. make[3]: *** [/home/dgmarie/hadk/kernel/xiaomi/sm6150/scripts/Makefile.build:361: fs/crypto/fscrypt_ice.o] Error 1
  58. make[2]: *** [/home/dgmarie/hadk/kernel/xiaomi/sm6150/scripts/Makefile.build:676: fs/crypto] Error 2
  59.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement