Re: [PATCH v2 1/2] Mark remaining global TypeInfo instances as const

2022-02-17 Thread Bernhard Beschow
Am 17. Januar 2022 14:58:04 UTC schrieb Bernhard Beschow : >More than 1k of TypeInfo instances are already marked as const. Mark the >remaining ones, too. > >This commit was created with: > git grep -z -l 'static TypeInfo' -- '*.c' | \ > xargs -0 sed -i 's/static TypeInfo/static const TypeInfo/'

Re: [PATCH v2 1/2] Mark remaining global TypeInfo instances as const

2022-01-19 Thread Igor Mammedov
On Mon, 17 Jan 2022 15:58:04 +0100 Bernhard Beschow wrote: > More than 1k of TypeInfo instances are already marked as const. Mark the > remaining ones, too. > > This commit was created with: > git grep -z -l 'static TypeInfo' -- '*.c' | \ > xargs -0 sed -i 's/static TypeInfo/static const Typ

Re: [PATCH v2 1/2] Mark remaining global TypeInfo instances as const

2022-01-17 Thread Cédric Le Goater
On 1/17/22 15:58, Bernhard Beschow wrote: More than 1k of TypeInfo instances are already marked as const. Mark the remaining ones, too. This commit was created with: git grep -z -l 'static TypeInfo' -- '*.c' | \ xargs -0 sed -i 's/static TypeInfo/static const TypeInfo/' Signed-off-by: Ber

Re: [PATCH v2 1/2] Mark remaining global TypeInfo instances as const

2022-01-17 Thread Philippe Mathieu-Daudé via
On 1/17/22 15:58, Bernhard Beschow wrote: > More than 1k of TypeInfo instances are already marked as const. Mark the > remaining ones, too. > > This commit was created with: > git grep -z -l 'static TypeInfo' -- '*.c' | \ > xargs -0 sed -i 's/static TypeInfo/static const TypeInfo/' Thanks for

Re: [PATCH v2 1/2] Mark remaining global TypeInfo instances as const

2022-01-17 Thread Corey Minyard
On Mon, Jan 17, 2022 at 03:58:04PM +0100, Bernhard Beschow wrote: > More than 1k of TypeInfo instances are already marked as const. Mark the > remaining ones, too. > > This commit was created with: > git grep -z -l 'static TypeInfo' -- '*.c' | \ > xargs -0 sed -i 's/static TypeInfo/static cons

[PATCH v2 1/2] Mark remaining global TypeInfo instances as const

2022-01-17 Thread Bernhard Beschow
More than 1k of TypeInfo instances are already marked as const. Mark the remaining ones, too. This commit was created with: git grep -z -l 'static TypeInfo' -- '*.c' | \ xargs -0 sed -i 's/static TypeInfo/static const TypeInfo/' Signed-off-by: Bernhard Beschow --- hw/core/generic-loader.c