DKMS make.log for exfat-5.9 for kernel 6.1.18-antix.1-amd64-smp (x86_64) Sun Mar 19 08:11:32 AM CET 2023 make: Entering directory '/usr/src/linux-headers-6.1.18-antix.1-amd64-smp' CC [M] /var/lib/dkms/exfat/5.9/build/inode.o CC [M] /var/lib/dkms/exfat/5.9/build/namei.o In file included from /var/lib/dkms/exfat/5.9/build/exfat_fs.h:14, from /var/lib/dkms/exfat/5.9/build/namei.c:11: /var/lib/dkms/exfat/5.9/build/compat.h:12:2: error: #error "This driver doesn't support v5.8+, " "please use the included driver from your kernel" 12 | #error "This driver doesn't support v5.8+, " \ | ^~~~~ /var/lib/dkms/exfat/5.9/build/namei.c:1439:27: error: initialization of ‘int (*)(struct user_namespace *, struct inode *, struct dentry *, umode_t, bool)’ {aka ‘int (*)(struct user_namespace *, struct inode *, struct dentry *, short unsigned int, _Bool)’} from incompatible pointer type ‘int (*)(struct inode *, struct dentry *, umode_t, bool)’ {aka ‘int (*)(struct inode *, struct dentry *, short unsigned int, _Bool)’} [-Werror=incompatible-pointer-types] 1439 | .create = exfat_create, | ^~~~~~~~~~~~ /var/lib/dkms/exfat/5.9/build/namei.c:1439:27: note: (near initialization for ‘exfat_dir_inode_operations.create’) /var/lib/dkms/exfat/5.9/build/namei.c:1442:27: error: initialization of ‘int (*)(struct user_namespace *, struct inode *, struct dentry *, umode_t)’ {aka ‘int (*)(struct user_namespace *, struct inode *, struct dentry *, short unsigned int)’} from incompatible pointer type ‘int (*)(struct inode *, struct dentry *, umode_t)’ {aka ‘int (*)(struct inode *, struct dentry *, short unsigned int)’} [-Werror=incompatible-pointer-types] 1442 | .mkdir = exfat_mkdir, | ^~~~~~~~~~~ /var/lib/dkms/exfat/5.9/build/namei.c:1442:27: note: (near initialization for ‘exfat_dir_inode_operations.mkdir’) /var/lib/dkms/exfat/5.9/build/namei.c:1444:27: error: initialization of ‘int (*)(struct user_namespace *, struct inode *, struct dentry *, struct inode *, struct dentry *, unsigned int)’ from incompatible pointer type ‘int (*)(struct inode *, struct dentry *, struct inode *, struct dentry *, unsigned int)’ [-Werror=incompatible-pointer-types] 1444 | .rename = exfat_rename, | ^~~~~~~~~~~~ /var/lib/dkms/exfat/5.9/build/namei.c:1444:27: note: (near initialization for ‘exfat_dir_inode_operations.rename’) /var/lib/dkms/exfat/5.9/build/namei.c:1445:27: error: initialization of ‘int (*)(struct user_namespace *, struct dentry *, struct iattr *)’ from incompatible pointer type ‘int (*)(struct dentry *, struct iattr *)’ [-Werror=incompatible-pointer-types] 1445 | .setattr = exfat_setattr, | ^~~~~~~~~~~~~ /var/lib/dkms/exfat/5.9/build/namei.c:1445:27: note: (near initialization for ‘exfat_dir_inode_operations.setattr’) /var/lib/dkms/exfat/5.9/build/namei.c:1446:27: error: initialization of ‘int (*)(struct user_namespace *, const struct path *, struct kstat *, u32, unsigned int)’ {aka ‘int (*)(struct user_namespace *, const struct path *, struct kstat *, unsigned int, unsigned int)’} from incompatible pointer type ‘int (*)(const struct path *, struct kstat *, unsigned int, unsigned int)’ [-Werror=incompatible-pointer-types] 1446 | .getattr = exfat_getattr, | ^~~~~~~~~~~~~ /var/lib/dkms/exfat/5.9/build/namei.c:1446:27: note: (near initialization for ‘exfat_dir_inode_operations.getattr’) In file included from /var/lib/dkms/exfat/5.9/build/exfat_fs.h:14, from /var/lib/dkms/exfat/5.9/build/inode.c:16: /var/lib/dkms/exfat/5.9/build/compat.h:12:2: error: #error "This driver doesn't support v5.8+, " "please use the included driver from your kernel" 12 | #error "This driver doesn't support v5.8+, " \ | ^~~~~ cc1: some warnings being treated as errors make[1]: *** [scripts/Makefile.build:250: /var/lib/dkms/exfat/5.9/build/namei.o] Error 1 make[1]: *** Waiting for unfinished jobs.... /var/lib/dkms/exfat/5.9/build/inode.c: In function ‘exfat_readpage’: /var/lib/dkms/exfat/5.9/build/inode.c:361:16: error: implicit declaration of function ‘mpage_readpage’; did you mean ‘mpage_readahead’? [-Werror=implicit-function-declaration] 361 | return mpage_readpage(page, exfat_get_block); | ^~~~~~~~~~~~~~ | mpage_readahead /var/lib/dkms/exfat/5.9/build/inode.c: In function ‘exfat_readpages’: /var/lib/dkms/exfat/5.9/build/inode.c:367:16: error: implicit declaration of function ‘mpage_readpages’; did you mean ‘mpage_writepages’? [-Werror=implicit-function-declaration] 367 | return mpage_readpages(mapping, pages, nr_pages, exfat_get_block); | ^~~~~~~~~~~~~~~ | mpage_writepages /var/lib/dkms/exfat/5.9/build/inode.c: In function ‘exfat_write_begin’: /var/lib/dkms/exfat/5.9/build/inode.c:398:57: warning: passing argument 5 of ‘cont_write_begin’ makes pointer from integer without a cast [-Wint-conversion] 398 | ret = cont_write_begin(file, mapping, pos, len, flags, pagep, fsdata, | ^~~~~ | | | unsigned int In file included from /var/lib/dkms/exfat/5.9/build/inode.c:7: ./include/linux/buffer_head.h:275:35: note: expected ‘struct page **’ but argument is of type ‘unsigned int’ 275 | unsigned, struct page **, void **, | ^~~~~~~~~~~~~~ /var/lib/dkms/exfat/5.9/build/inode.c:398:64: error: passing argument 6 of ‘cont_write_begin’ from incompatible pointer type [-Werror=incompatible-pointer-types] 398 | ret = cont_write_begin(file, mapping, pos, len, flags, pagep, fsdata, | ^~~~~ | | | struct page ** ./include/linux/buffer_head.h:275:51: note: expected ‘void **’ but argument is of type ‘struct page **’ 275 | unsigned, struct page **, void **, | ^~~~~~~ /var/lib/dkms/exfat/5.9/build/inode.c:398:71: error: passing argument 7 of ‘cont_write_begin’ from incompatible pointer type [-Werror=incompatible-pointer-types] 398 | ret = cont_write_begin(file, mapping, pos, len, flags, pagep, fsdata, | ^~~~~~ | | | void ** ./include/linux/buffer_head.h:276:25: note: expected ‘int (*)(struct inode *, sector_t, struct buffer_head *, int)’ {aka ‘int (*)(struct inode *, long long unsigned int, struct buffer_head *, int)’} but argument is of type ‘void **’ 276 | get_block_t *, loff_t *); | ^~~~~~~~~~~~~ /var/lib/dkms/exfat/5.9/build/inode.c:399:32: error: passing argument 8 of ‘cont_write_begin’ from incompatible pointer type [-Werror=incompatible-pointer-types] 399 | exfat_get_block, | ^~~~~~~~~~~~~~~ | | | int (*)(struct inode *, sector_t, struct buffer_head *, int) {aka int (*)(struct inode *, long long unsigned int, struct buffer_head *, int)} ./include/linux/buffer_head.h:276:40: note: expected ‘loff_t *’ {aka ‘long long int *’} but argument is of type ‘int (*)(struct inode *, sector_t, struct buffer_head *, int)’ {aka ‘int (*)(struct inode *, long long unsigned int, struct buffer_head *, int)’} 276 | get_block_t *, loff_t *); | ^~~~~~~~ /var/lib/dkms/exfat/5.9/build/inode.c:398:15: error: too many arguments to function ‘cont_write_begin’ 398 | ret = cont_write_begin(file, mapping, pos, len, flags, pagep, fsdata, | ^~~~~~~~~~~~~~~~ ./include/linux/buffer_head.h:274:5: note: declared here 274 | int cont_write_begin(struct file *, struct address_space *, loff_t, | ^~~~~~~~~~~~~~~~ /var/lib/dkms/exfat/5.9/build/inode.c: At top level: /var/lib/dkms/exfat/5.9/build/inode.c:493:10: error: ‘const struct address_space_operations’ has no member named ‘readpage’ 493 | .readpage = exfat_readpage, | ^~~~~~~~ /var/lib/dkms/exfat/5.9/build/inode.c:493:27: error: initialization of ‘int (*)(struct page *, struct writeback_control *)’ from incompatible pointer type ‘int (*)(struct file *, struct page *)’ [-Werror=incompatible-pointer-types] 493 | .readpage = exfat_readpage, | ^~~~~~~~~~~~~~ /var/lib/dkms/exfat/5.9/build/inode.c:493:27: note: (near initialization for ‘exfat_aops.writepage’) /var/lib/dkms/exfat/5.9/build/inode.c:494:10: error: ‘const struct address_space_operations’ has no member named ‘readpages’ 494 | .readpages = exfat_readpages, | ^~~~~~~~~ /var/lib/dkms/exfat/5.9/build/inode.c:494:27: error: initialization of ‘int (*)(struct file *, struct folio *)’ from incompatible pointer type ‘int (*)(struct file *, struct address_space *, struct list_head *, unsigned int)’ [-Werror=incompatible-pointer-types] 494 | .readpages = exfat_readpages, | ^~~~~~~~~~~~~~~ /var/lib/dkms/exfat/5.9/build/inode.c:494:27: note: (near initialization for ‘exfat_aops.read_folio’) /var/lib/dkms/exfat/5.9/build/inode.c:497:27: error: initialization of ‘int (*)(struct file *, struct address_space *, loff_t, unsigned int, struct page **, void **)’ {aka ‘int (*)(struct file *, struct address_space *, long long int, unsigned int, struct page **, void **)’} from incompatible pointer type ‘int (*)(struct file *, struct address_space *, loff_t, unsigned int, unsigned int, struct page **, void **)’ {aka ‘int (*)(struct file *, struct address_space *, long long int, unsigned int, unsigned int, struct page **, void **)’} [-Werror=incompatible-pointer-types] 497 | .write_begin = exfat_write_begin, | ^~~~~~~~~~~~~~~~~ /var/lib/dkms/exfat/5.9/build/inode.c:497:27: note: (near initialization for ‘exfat_aops.write_begin’) /var/lib/dkms/exfat/5.9/build/inode.c: In function ‘exfat_fill_inode’: /var/lib/dkms/exfat/5.9/build/inode.c:575:31: error: implicit declaration of function ‘prandom_u32’; did you mean ‘prandom_u32_max’? [-Werror=implicit-function-declaration] 575 | inode->i_generation = prandom_u32(); | ^~~~~~~~~~~ | prandom_u32_max cc1: some warnings being treated as errors make[1]: *** [scripts/Makefile.build:250: /var/lib/dkms/exfat/5.9/build/inode.o] Error 1 make: *** [Makefile:2026: /var/lib/dkms/exfat/5.9/build] Error 2 make: Leaving directory '/usr/src/linux-headers-6.1.18-antix.1-amd64-smp'