Comment 102 for bug 202490

Revision history for this message
jerzy (jpiter) wrote :

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.