I agree 10.06.2016, 19:33, "Peter Maydell" <peter.mayd...@linaro.org>: > On 10 June 2016 at 17:26, Sergey Sorokin <afaral...@yandex.ru> wrote: >> There are functions cpu_unaligned_access() and do_unaligned_access() that >> are called with access type and mmu index arguments. But these arguments >> are named 'is_write' and 'is_user' in their declarations. >> The patch fixes the names to avoid a confusion. >> >> Signed-off-by: Sergey Sorokin <afaral...@yandex.ru> > > If we're going to touch all of these then we have an enum type > we should be using instead of just 'int' for the old > is_write argument: MMUAccessType (defined in cpu-common.h). > > thanks > -- PMM
- [Qemu-devel] [PATCH 0/2] Fix confusing argument names in s... Sergey Sorokin
- [Qemu-devel] [PATCH 1/2] Fix confusing argument names... Sergey Sorokin
- Re: [Qemu-devel] [PATCH 1/2] Fix confusing argume... Peter Maydell
- Re: [Qemu-devel] [PATCH 1/2] Fix confusing ar... Sergey Sorokin
- Re: [Qemu-devel] [PATCH 1/2] Fix confusing ar... Sergey Sorokin
- Re: [Qemu-devel] [PATCH 1/2] Fix confusin... Peter Maydell
- Re: [Qemu-devel] [PATCH 1/2] Fix con... Sergey Sorokin
- Re: [Qemu-devel] [PATCH 1/2] Fix... Paolo Bonzini
- Re: [Qemu-devel] [PATCH 1/2] Fix confusing argume... Aurelien Jarno
- Re: [Qemu-devel] [PATCH 1/2] Fix confusing ar... Sergey Sorokin
- [Qemu-devel] [PATCH 2/2] Fix a confusing argument nam... Sergey Sorokin
- Re: [Qemu-devel] [PATCH 2/2] Fix a confusing argu... David Gibson
- Re: [Qemu-devel] [PATCH 2/2] Fix a confusing argu... Eduardo Habkost