Re: [Qemu-devel] [PATCH v3 03/13] s390x: Drop useless casts

2017-04-06 Thread Eric Blake
On 04/06/2017 02:36 AM, Cornelia Huck wrote: > On Wed, 5 Apr 2017 14:47:31 -0500 > Eric Blake wrote: > >> An upcoming Coccinelle cleanup script wanted to reformat the casts >> present in this file - but on closer look, we don't need the casts >> at all because C automatically

Re: [Qemu-devel] [PATCH v3 03/13] s390x: Drop useless casts

2017-04-06 Thread Cornelia Huck
On Wed, 5 Apr 2017 14:47:31 -0500 Eric Blake wrote: > An upcoming Coccinelle cleanup script wanted to reformat the casts > present in this file - but on closer look, we don't need the casts > at all because C automatically converts void* to any other pointer. > >

Re: [Qemu-devel] [PATCH v3 03/13] s390x: Drop useless casts

2017-04-06 Thread Cornelia Huck
On Wed, 5 Apr 2017 14:47:31 -0500 Eric Blake wrote: > An upcoming Coccinelle cleanup script wanted to reformat the casts > present in this file - but on closer look, we don't need the casts > at all because C automatically converts void* to any other pointer. > >

Re: [Qemu-devel] [PATCH v3 03/13] s390x: Drop useless casts

2017-04-05 Thread Philippe Mathieu-Daudé
On 04/05/2017 04:47 PM, Eric Blake wrote: An upcoming Coccinelle cleanup script wanted to reformat the casts present in this file - but on closer look, we don't need the casts at all because C automatically converts void* to any other pointer. Signed-off-by: Eric Blake

[Qemu-devel] [PATCH v3 03/13] s390x: Drop useless casts

2017-04-05 Thread Eric Blake
An upcoming Coccinelle cleanup script wanted to reformat the casts present in this file - but on closer look, we don't need the casts at all because C automatically converts void* to any other pointer. Signed-off-by: Eric Blake --- target/s390x/cpu_models.c | 4 ++-- 1 file