I noticed following error during compilation, maybe it's responsible for above:
/home/compilacja/xd/mtdcore.c:274: warning: initialization from incompatible pointer type
CC [M] /home/compilacja/xd/mtdsuper.o
CC [M] /home/compilacja/xd/mtdbdi.o
CC [M] /home/compilacja/xd/mtdpart.o
LD [M] /home/compilacja/xd/mtd.o
CC [M] /home/compilacja/xd/mtd_blkdevs.o
/home/compilacja/xd/mtd_blkdevs.c: In function ‘add_mtd_blktrans_dev’:
/home/compilacja/xd/mtd_blkdevs.c:335: warning: assignment discards qualifiers from pointer target type
CC [M] /home/compilacja/xd/mtdblock.o
CC [M] /home/compilacja/xd/ssfdc.o
CC [M] /home/compilacja/xd/sm_ftl.o
/home/compilacja/xd/sm_ftl.c: In function ‘sm_erase_block’:
/home/compilacja/xd/sm_ftl.c:487: warning: passing argument 2 of ‘kfifo_put’ discards qualifiers from pointer target type
include/linux/kfifo.h:79: note: expected ‘unsigned char *’ but argument is of type ‘const unsigned char *’
/home/compilacja/xd/sm_ftl.c: In function ‘sm_init_zone’:
/home/compilacja/xd/sm_ftl.c:898: warning: passing argument 2 of ‘kfifo_put’ discards qualifiers from pointer target type
include/linux/kfifo.h:79: note: expected ‘unsigned char *’ but argument is of type ‘const unsigned char *’
Building modules, stage 2.
I noticed following error during compilation, maybe it's responsible for above:
/home/ compilacja/ xd/mtdcore. c:274: warning: initialization from incompatible pointer type a/xd/mtdsuper. o a/xd/mtdbdi. o a/xd/mtdpart. o a/xd/mtd. o a/xd/mtd_ blkdevs. o a/xd/mtd_ blkdevs. c: In function ‘add_mtd_ blktrans_ dev’: a/xd/mtd_ blkdevs. c:335: warning: assignment discards qualifiers from pointer target type a/xd/mtdblock. o a/xd/ssfdc. o a/xd/sm_ ftl.o a/xd/sm_ ftl.c: In function ‘sm_erase_block’: a/xd/sm_ ftl.c:487: warning: passing argument 2 of ‘kfifo_put’ discards qualifiers from pointer target type linux/kfifo. h:79: note: expected ‘unsigned char *’ but argument is of type ‘const unsigned char *’ a/xd/sm_ ftl.c: In function ‘sm_init_zone’: a/xd/sm_ ftl.c:898: warning: passing argument 2 of ‘kfifo_put’ discards qualifiers from pointer target type linux/kfifo. h:79: note: expected ‘unsigned char *’ but argument is of type ‘const unsigned char *’
CC [M] /home/compilacj
CC [M] /home/compilacj
CC [M] /home/compilacj
LD [M] /home/compilacj
CC [M] /home/compilacj
/home/compilacj
/home/compilacj
CC [M] /home/compilacj
CC [M] /home/compilacj
CC [M] /home/compilacj
/home/compilacj
/home/compilacj
include/
/home/compilacj
/home/compilacj
include/
Building modules, stage 2.