Skip to contentSkip to conversation

hw/i386/acpi-build: Fix a typo

PATCH Superseded Philippe Mathieu-Daudé 3 participants 8 messages Sep 8, 2021 – Sep 11, 2021

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 hw/i386/acpi-build: Fix a typo

Fix 'hotplugabble' -> 'hotpluggabble' typo.

---
 hw/i386/acpi-build.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
hw/i386/acpi-build.c +3 -3
index d1f5fa3b5a5..478263e12c9 100644
@@ -1916,7 +1916,7 @@ build_srat(GArray *table_data, BIOSLinker *linker, MachineState *machine)
     PCMachineState *pcms = PC_MACHINE(machine);
     int nb_numa_nodes = machine->numa_state->num_nodes;
     NodeInfo *numa_info = machine->numa_state->nodes;
-    ram_addr_t hotplugabble_address_space_size =
+    ram_addr_t hotpluggabble_address_space_size =
         object_property_get_int(OBJECT(pcms), PC_MACHINE_DEVMEM_REGION_SIZE,
                                 NULL);
 
@@ -2022,10 +2022,10 @@ build_srat(GArray *table_data, BIOSLinker *linker, MachineState *machine)
      * Memory devices may override proximity set by this entry,
      * providing _PXM method if necessary.
      */
-    if (hotplugabble_address_space_size) {
+    if (hotpluggabble_address_space_size) {
         numamem = acpi_data_push(table_data, sizeof *numamem);
         build_srat_memory(numamem, machine->device_memory->base,
-                          hotplugabble_address_space_size, nb_numa_nodes - 1,
+                          hotpluggabble_address_space_size, nb_numa_nodes - 1,
                           MEM_AFFINITY_HOTPLUGGABLE | MEM_AFFINITY_ENABLED);
     }
 
Signature · 1 line
2.31.1
Reviewed-by on v1 1/1
#1 lore raw
Quoted 3 lines · Philippe Mathieu-Daudé

Fix 'hotplugabble' -> 'hotpluggabble' typo.

Quoted 34 lines
---
 hw/i386/acpi-build.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
hw/i386/acpi-build.c +3 -4
index d1f5fa3b5a5..478263e12c9 100644
@@ -1916,7 +1916,7 @@ build_srat(GArray *table_data, BIOSLinker *linker, MachineState *machine)
     PCMachineState *pcms = PC_MACHINE(machine);
     int nb_numa_nodes = machine->numa_state->num_nodes;
     NodeInfo *numa_info = machine->numa_state->nodes;
-    ram_addr_t hotplugabble_address_space_size =
+    ram_addr_t hotpluggabble_address_space_size =
         object_property_get_int(OBJECT(pcms), PC_MACHINE_DEVMEM_REGION_SIZE,
                                 NULL);
 
@@ -2022,10 +2022,10 @@ build_srat(GArray *table_data, BIOSLinker *linker, MachineState *machine)
      * Memory devices may override proximity set by this entry,
      * providing _PXM method if necessary.
      */
-    if (hotplugabble_address_space_size) {
+    if (hotpluggabble_address_space_size) {
         numamem = acpi_data_push(table_data, sizeof *numamem);
         build_srat_memory(numamem, machine->device_memory->base,
-                          hotplugabble_address_space_size, nb_numa_nodes - 1,
+                          hotpluggabble_address_space_size, nb_numa_nodes - 1,
                           MEM_AFFINITY_HOTPLUGGABLE | MEM_AFFINITY_ENABLED);
     }
 
--

2.31.1

#2 lore raw
In reply to Philippe Mathieu-Daudé
Quoted 1 line

Fix 'hotplugabble' -> 'hotpluggabble' typo.

I'm convinced that the correct spelling is hotpluggable. Only the consonant g is doubled.

With best regards
Volker

Quoted 31 lines
---
  hw/i386/acpi-build.c | 6 +++---
  1 file changed, 3 insertions(+), 3 deletions(-)
hw/i386/acpi-build.c +3 -3
index d1f5fa3b5a5..478263e12c9 100644
@@ -1916,7 +1916,7 @@ build_srat(GArray *table_data, BIOSLinker *linker, MachineState *machine)
      PCMachineState *pcms = PC_MACHINE(machine);
      int nb_numa_nodes = machine->numa_state->num_nodes;
      NodeInfo *numa_info = machine->numa_state->nodes;
-    ram_addr_t hotplugabble_address_space_size =
+    ram_addr_t hotpluggabble_address_space_size =
          object_property_get_int(OBJECT(pcms), PC_MACHINE_DEVMEM_REGION_SIZE,
                                  NULL);
 
@@ -2022,10 +2022,10 @@ build_srat(GArray *table_data, BIOSLinker *linker, MachineState *machine)
       * Memory devices may override proximity set by this entry,
       * providing _PXM method if necessary.
       */
-    if (hotplugabble_address_space_size) {
+    if (hotpluggabble_address_space_size) {
          numamem = acpi_data_push(table_data, sizeof *numamem);
          build_srat_memory(numamem, machine->device_memory->base,
-                          hotplugabble_address_space_size, nb_numa_nodes - 1,
+                          hotpluggabble_address_space_size, nb_numa_nodes - 1,
                            MEM_AFFINITY_HOTPLUGGABLE | MEM_AFFINITY_ENABLED);
      }
 
#3 lore raw
Quoted 4 lines · Volker Rümelin
Quoted 1 line

Fix 'hotplugabble' -> 'hotpluggabble' typo.

I'm convinced that the correct spelling is hotpluggable. Only the consonant g is doubled.

Lol I missed this part, thanks :>

#4 lore raw
Quoted 7 lines · Philippe Mathieu-Daudé
Quoted 4 lines · Volker Rümelin
Quoted 1 line

Fix 'hotplugabble' -> 'hotpluggabble' typo.

I'm convinced that the correct spelling is hotpluggable. Only the consonant g is doubled.

Lol I missed this part, thanks :>

Oops my apologies. I also did not notice the double b.

Quoted 2 lines
#5 lore raw
Quoted 6 lines · Ani Sinha

On Sat, Sep 11, 2021 at 1:03 AM Philippe Mathieu-Daudé <[email protected] <mailto:[email protected]>> wrote:

On 9/10/21 8:54 PM, Volker Rümelin wrote:
>> Fix 'hotplugabble' -> 'hotpluggabble' typo. >

Quoted 7 lines

> I'm convinced that the correct spelling is hotpluggable. Only the > consonant g is doubled.

Lol I missed this part, thanks :>

Oops my apologies. I also did not notice the double b.

Typoglycemia++

#6 lore raw
Quoted 10 lines · On Sat, Sep 11, 2021 at 13:56 Philippe Mathieu-Daudé <[email protected]> wrote:
Quoted 9 lines · Ani Sinha

On Sat, Sep 11, 2021 at 1:03 AM Philippe Mathieu-Daudé <[email protected] <mailto:[email protected]>> wrote:

    On 9/10/21 8:54 PM, Volker Rümelin wrote:
    >> Fix 'hotplugabble' -> 'hotpluggabble' typo.
    >
    > I'm convinced that the correct spelling is hotpluggable. Only the
    > consonant g is doubled.
Quoted 6 lines
Quoted 4 lines

Lol I missed this part, thanks :>

Oops my apologies. I also did not notice the double b.

Typoglycemia++

Will have to experiment with this

https://www.tenderisthebyte.com/blog/2019/06/09/spell-checking-emacs/

#7 lore raw
Quoted 20 lines · On Sat, Sep 11, 2021 at 15:24 Ani Sinha <[email protected]> wrote:
Quoted 15 lines · On Sat, Sep 11, 2021 at 13:56 Philippe Mathieu-Daudé <[email protected]> wrote:
Quoted 13 lines · Ani Sinha

On Sat, Sep 11, 2021 at 1:03 AM Philippe Mathieu-Daudé <[email protected] <mailto:[email protected]>> wrote:

On 9/10/21 8:54 PM, Volker Rümelin wrote:
>> Fix 'hotplugabble' -> 'hotpluggabble' typo.
>
> I'm convinced that the correct spelling is hotpluggable. Only the > consonant g is doubled.

Lol I missed this part, thanks :>

Oops my apologies. I also did not notice the double b.

Quoted 8 lines
Quoted 1 line

Typoglycemia++

Will have to experiment with this

https://www.tenderisthebyte.
<https://www.tenderisthebyte.com/blog/2019/06/09/spell-checking-emacs/>

com/blog/2019/06/09/spell-checking-emacs/

Quoted 2 lines

<https://www.tenderisthebyte.com/blog/2019/06/09/spell-checking-emacs/>

Maybe we could also add a spellchecker to checkpatch?