Re: [Qemu-devel] [PATCH] disas/microblaze: Add missing 'const' attributes

2016-05-05 Thread Edgar E. Iglesias
On Wed, Apr 06, 2016 at 12:01:17PM +0200, Stefan Weil wrote: > Am 06.04.2016 um 11:16 schrieb Edgar E. Iglesias: > > On Tue, Mar 22, 2016 at 08:31:33AM +0100, Stefan Weil wrote: > >> Making the opcode list 'const' saves memory. > >> Some function arguments and local variables needed 'const', too. >

Re: [Qemu-devel] [PATCH] disas/microblaze: Add missing 'const' attributes

2016-04-06 Thread Stefan Weil
Am 06.04.2016 um 11:16 schrieb Edgar E. Iglesias: > On Tue, Mar 22, 2016 at 08:31:33AM +0100, Stefan Weil wrote: >> Making the opcode list 'const' saves memory. >> Some function arguments and local variables needed 'const', too. >> >> Add also 'static' to two local functions. > Hi Stefan, > > Sorry

Re: [Qemu-devel] [PATCH] disas/microblaze: Add missing 'const' attributes

2016-04-06 Thread Edgar E. Iglesias
On Tue, Mar 22, 2016 at 08:31:33AM +0100, Stefan Weil wrote: > Making the opcode list 'const' saves memory. > Some function arguments and local variables needed 'const', too. > > Add also 'static' to two local functions. Hi Stefan, Sorry for the delays... I gave this a try but it fails for me:

[Qemu-devel] [PATCH] disas/microblaze: Add missing 'const' attributes

2016-03-22 Thread Stefan Weil
Making the opcode list 'const' saves memory. Some function arguments and local variables needed 'const', too. Add also 'static' to two local functions. Signed-off-by: Stefan Weil --- disas/microblaze.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/disas/micr