Let address_space_rw() calls pass a boolean 'is_write' argument
Since its introduction in commit ac1970fb, address_space_rw() takes a boolean 'is_write' argument. Fix the codebase by using an explicit boolean type. This commit was produced with the included Coccinelle script scripts/coccinelle/exec_rw_const. Inspired-by:Peter Maydell <peter.maydell@linaro.org> Signed-off-by:
Philippe Mathieu-Daudé <philmd@redhat.com>
Showing
- exec.c 2 additions, 2 deletionsexec.c
- hw/net/dp8393x.c 14 additions, 13 deletionshw/net/dp8393x.c
- hw/net/i82596.c 6 additions, 5 deletionshw/net/i82596.c
- hw/net/lasi_i82596.c 2 additions, 2 deletionshw/net/lasi_i82596.c
- scripts/coccinelle/exec_rw_const.cocci 12 additions, 0 deletionsscripts/coccinelle/exec_rw_const.cocci
- target/i386/hvf/vmx.h 1 addition, 1 deletiontarget/i386/hvf/vmx.h
- target/i386/hvf/x86_mmu.c 4 additions, 4 deletionstarget/i386/hvf/x86_mmu.c
Loading
Please register or sign in to comment