2.6.15-mm3: arch/ia64/sn/kernel/sn2/sn_proc_fs.c compile error

From: Adrian Bunk
Date: Wed Jan 11 2006 - 18:40:12 EST


Arjan, it seems the following compile error on ia64 is caused by a patch
of you that makes some stuff static:

<-- snip -->

...
CC arch/ia64/sn/kernel/sn2/sn_proc_fs.o
arch/ia64/sn/kernel/sn2/sn_proc_fs.c: In function 'sn_procfs_create_entry':
arch/ia64/sn/kernel/sn2/sn_proc_fs.c:104: warning: passing argument 1 of 'memset' discards qualifiers from pointer target type
arch/ia64/sn/kernel/sn2/sn_proc_fs.c:105: error: assignment of read-only member 'open'
arch/ia64/sn/kernel/sn2/sn_proc_fs.c:106: error: assignment of read-only member 'read'
arch/ia64/sn/kernel/sn2/sn_proc_fs.c:107: error: assignment of read-only member 'llseek'
arch/ia64/sn/kernel/sn2/sn_proc_fs.c:108: error: assignment of read-only member 'release'
arch/ia64/sn/kernel/sn2/sn_proc_fs.c: In function 'register_sn_procfs':
arch/ia64/sn/kernel/sn2/sn_proc_fs.c:140: error: assignment of read-only member 'write'
make[3]: *** [arch/ia64/sn/kernel/sn2/sn_proc_fs.o] Error 1

<-- snip -->

cu
Adrian

--

"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/