Re: [PATCH 3/8] Cleanup of the copyin() and copyout() calls

2013-12-15 Thread Samuel Thibault
Marin Ramesa, le Wed 11 Dec 2013 17:30:42 +0100, a écrit : > - (void) copyout((char *)&arg_count, > + (void) copyout((void *)&arg_count, No need to keep any cast in these cases: &foo is already a pointer, implicit cast to (void*) will already happen. Samuel

[PATCH 3/8] Cleanup of the copyin() and copyout() calls

2013-12-11 Thread Marin Ramesa
* device/ds_routines.c (device_write_trap) (copyin) (data): Cast to (void *). Argument is an address. (device_write_trap) (copyin) (io_data): Don't cast. Argument is a pointer. (device_writev_trap) (copyin) (iovec): Likewise. (device_writev_trap) (copyin) (stack_iovec): Likewise. (device_writev_tr