Warnings in ksrc/drivers/comedi/buffer.c
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
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 castdrivers/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 castdrivers/xenomai/comedi/buffer.c:88: warning: passing argument 1 of ‘vmalloc_to_page’ makes pointer from integer without a castdrivers/xenomai/comedi/buffer.c:88: warning: assignment makes integer from pointer without a castIf not, please fix.
Ok. Will fix. I did not actually compiled my change.
Signature · 1 line
Gilles.