mtdchar.c:509: too few arguments to function `devfs_mk_dir'

Bob Coggeshall rdcjr at cogwheel.com
Tue Apr 20 00:22:56 EDT 2004


I was working with mtd-snapshot-20040329 w/no problems.

just checked mtd out using cvs (it's monday, 19-apr)

Now I get this.

This is with linux 2.4.22-pre8 with DEV_FS turned on
(I think it has something to do with it).

(make modules)

ppc_8xx-gcc -D__KERNEL__ -I/home/coggs/skyl/projects/ep852-misc/kernels/ep-linux-kernel-feb2004/include -Wall -Wstrict-prototypes -W
no-trigraphs -O2 -f
no-strict-aliasing -fno-common -g -ggdb -fno-schedule-insns -fno-schedule-insns2 -fomit-frame-pointer -I/home/coggs/skyl/projects/ep
852-misc/kernels/ep
-linux-kernel-feb2004/arch/ppc -fsigned-char -msoft-float -pipe -ffixed-r2 -Wno-uninitialized -mmultiple -mstring -DMODULE  -nostdin
c -iwithprefix incl
ude -I /home/opt/embedded/tools/usr/lib/gcc-lib/ppc-linux/2.95.4/include -DKBUILD_BASENAME=mtdchar  -c -o mtdchar.o mtdchar.c
mtdchar.c: In function `mtd_notify_add':
mtdchar.c:480: warning: implicit declaration of function `devfs_mk_cdev'
mtdchar.c: In function `mtd_notify_remove':
mtdchar.c:494: warning: implicit declaration of function `devfs_remove'
mtdchar.c: In function `init_mtdchar':
mtdchar.c:509: warning: passing arg 1 of `devfs_mk_dir' from incompatible pointer type
mtdchar.c:509: too few arguments to function `devfs_mk_dir'

Bob C.
rdcjr at cogwheel dot com





More information about the linux-mtd mailing list