qemu-block
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v2 02/18] hw/block:m25p80: Fix coding style


From: Philippe Mathieu-Daudé
Subject: Re: [PATCH v2 02/18] hw/block:m25p80: Fix coding style
Date: Fri, 15 Nov 2024 17:44:57 +0100
User-agent: Mozilla Thunderbird

On 22/10/24 10:40, Jamin Lin via wrote:
Fix coding style issues from checkpatch.pl

Signed-off-by: Jamin Lin <jamin_lin@aspeedtech.com>
Reviewed-by: Cédric Le Goater <clg@redhat.com>
---
  hw/block/m25p80.c | 22 ++++++++++++++--------
  1 file changed, 14 insertions(+), 8 deletions(-)


@@ -1843,7 +1849,7 @@ static void m25p80_register_types(void)
type_register_static(&m25p80_info);
      for (i = 0; i < ARRAY_SIZE(known_devices); ++i) {
-        TypeInfo ti = {
+        const TypeInfo ti = {

This is a bit more than style change.

              .name       = known_devices[i].part_name,
              .parent     = TYPE_M25P80,
              .class_init = m25p80_class_init,




reply via email to

[Prev in Thread] Current Thread [Next in Thread]