Skip to contentSkip to conversation

Warnings in ksrc/drivers/comedi/buffer.c

Xenomai-core Jan Kiszka 2 participants 2 messages Oct 14, 2008

lore
Share & tools
lore

Jan Kiszka

author
#0 lore raw

Hi,

are these warnings due to an unfinished highmem fix (I did not follow all details)?

drivers/xenomai/comedi/buffer.c: In function ‘comedi_free_buffer’:
drivers/xenomai/comedi/buffer.c:49: warning: passing argument 1 of ‘vmalloc_to_page’ makes pointer from integer without a cast drivers/xenomai/comedi/buffer.c: In function ‘comedi_alloc_buffer’:
drivers/xenomai/comedi/buffer.c:76: warning: passing argument 1 of ‘vmalloc_to_page’ makes pointer from integer without a cast drivers/xenomai/comedi/buffer.c:88: warning: passing argument 1 of ‘vmalloc_to_page’ makes pointer from integer without a cast drivers/xenomai/comedi/buffer.c:88: warning: assignment makes integer from pointer without a cast

If not, please fix.

Jan

#1 lore raw
Quoted 5 lines · Jan Kiszka

Hi,

are these warnings due to an unfinished highmem fix (I did not follow all details)?

Quoted 8 lines

drivers/xenomai/comedi/buffer.c: In function ‘comedi_free_buffer’:
drivers/xenomai/comedi/buffer.c:49: warning: passing argument 1 of ‘vmalloc_to_page’ makes pointer from integer without a cast drivers/xenomai/comedi/buffer.c: In function ‘comedi_alloc_buffer’:
drivers/xenomai/comedi/buffer.c:76: warning: passing argument 1 of ‘vmalloc_to_page’ makes pointer from integer without a cast drivers/xenomai/comedi/buffer.c:88: warning: passing argument 1 of ‘vmalloc_to_page’ makes pointer from integer without a cast drivers/xenomai/comedi/buffer.c:88: warning: assignment makes integer from pointer without a cast

If not, please fix.

Ok. Will fix. I did not actually compiled my change.

Signature · 1 line
					    Gilles.