[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 3/8] Cleanup of the copyin() and copyout() calls
From: |
Samuel Thibault |
Subject: |
Re: [PATCH 3/8] Cleanup of the copyin() and copyout() calls |
Date: |
Sun, 15 Dec 2013 19:57:12 +0100 |
User-agent: |
Mutt/1.5.21+34 (58baf7c9f32f) (2010-12-30) |
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, Marin Ramesa, 2013/12/11
- Re: [PATCH 3/8] Cleanup of the copyin() and copyout() calls,
Samuel Thibault <=
[PATCH 5/8] include/mach/mach4.defs (memory_object_create_proxy): fix passing from incompatible pointer type, Marin Ramesa, 2013/12/11
[PATCH 6/8] vm/vm_kern.c (kmem_submap): remove unnecessary cast, Marin Ramesa, 2013/12/11
[PATCH 7/8] vm/vm_resident.c (vm_page_print): remove unnecessary casts, Marin Ramesa, 2013/12/11
[PATCH 8/8] mig/server.c (WriteVarDecls): quiet GCC warning about set but unused variable, Marin Ramesa, 2013/12/11