Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /home/dgmarie/hadk/kernel/xiaomi/sm6150/fs/crypto/fscrypt_ice.c:17:5: error: redefinition of 'fscrypt_using_hardware_encryption'
- int fscrypt_using_hardware_encryption(const struct inode *inode)
- ^
- /home/dgmarie/hadk/kernel/xiaomi/sm6150/include/linux/fscrypt.h:268:19: note: previous definition is here
- static inline int fscrypt_using_hardware_encryption(const struct inode *inode)
- ^
- /home/dgmarie/hadk/kernel/xiaomi/sm6150/fs/crypto/fscrypt_ice.c:153:6: error: redefinition of 'fscrypt_set_ice_dun'
- void fscrypt_set_ice_dun(const struct inode *inode, struct bio *bio, u64 dun)
- ^
- /home/dgmarie/hadk/kernel/xiaomi/sm6150/include/linux/fscrypt.h:273:20: note: previous definition is here
- static inline void fscrypt_set_ice_dun(const struct inode *inode,
- ^
- /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
- mean 'bi_done'?
- bio->bi_iter.bi_dun = dun;
- ^~~~~~
- bi_done
- /home/dgmarie/hadk/kernel/xiaomi/sm6150/include/linux/bvec.h:43:26: note: 'bi_done' declared here
- unsigned int bi_done; /* number of bytes completed */
- ^
- /home/dgmarie/hadk/kernel/xiaomi/sm6150/fs/crypto/fscrypt_ice.c:160:6: error: redefinition of 'fscrypt_set_ice_skip'
- void fscrypt_set_ice_skip(struct bio *bio, int bi_crypt_skip)
- ^
- /home/dgmarie/hadk/kernel/xiaomi/sm6150/include/linux/fscrypt.h:276:20: note: previous definition is here
- static inline void fscrypt_set_ice_skip(struct bio *bio, int bi_crypt_skip)
- ^
- /home/dgmarie/hadk/kernel/xiaomi/sm6150/fs/crypto/fscrypt_ice.c:173:6: error: redefinition of 'fscrypt_mergeable_bio'
- bool fscrypt_mergeable_bio(struct bio *bio, u64 dun, bool bio_encrypted,
- ^
- /home/dgmarie/hadk/kernel/xiaomi/sm6150/include/linux/fscrypt.h:279:20: note: previous definition is here
- static inline bool fscrypt_mergeable_bio(struct bio *bio,
- ^
- /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
- mean 'bi_done'?
- if (!bio_dun(bio) && !bio_encrypted)
- ^
- /home/dgmarie/hadk/kernel/xiaomi/sm6150/include/linux/bio.h:72:39: note: expanded from macro 'bio_dun'
- #define bio_dun(bio) ((bio)->bi_iter.bi_dun)
- ^
- /home/dgmarie/hadk/kernel/xiaomi/sm6150/include/linux/bvec.h:43:26: note: 'bi_done' declared here
- unsigned int bi_done; /* number of bytes completed */
- ^
- /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
- mean 'bi_done'?
- return bio_end_dun(bio) == dun;
- ^
- /home/dgmarie/hadk/kernel/xiaomi/sm6150/include/linux/bio.h:74:27: note: expanded from macro 'bio_end_dun'
- #define bio_end_dun(bio) (bio_dun(bio) + bio_duns(bio))
- ^
- /home/dgmarie/hadk/kernel/xiaomi/sm6150/include/linux/bio.h:72:39: note: expanded from macro 'bio_dun'
- #define bio_dun(bio) ((bio)->bi_iter.bi_dun)
- ^
- /home/dgmarie/hadk/kernel/xiaomi/sm6150/include/linux/bvec.h:43:26: note: 'bi_done' declared here
- unsigned int bi_done; /* number of bytes completed */
- ^
- 7 errors generated.
- make[3]: *** [/home/dgmarie/hadk/kernel/xiaomi/sm6150/scripts/Makefile.build:361: fs/crypto/fscrypt_ice.o] Error 1
- make[2]: *** [/home/dgmarie/hadk/kernel/xiaomi/sm6150/scripts/Makefile.build:676: fs/crypto] Error 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement