grub-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] Fix 'acpi' command loading tables from disk


From: Robert Millan
Subject: Re: [PATCH] Fix 'acpi' command loading tables from disk
Date: Sun, 13 Sep 2009 02:27:54 +0200
User-agent: Mutt/1.5.18 (2008-05-17)

On Thu, Sep 10, 2009 at 02:21:14PM +0200, xose wrote:
> The 'acpi' command currently fails to add ACPI tables loaded from
> disk. The files are read and parsed correctly, but the tables are
> never actually added to the tables list.
> 
> The following patch fixes this bug:
> 
> 
> diff --git a/commands/acpi.c b/commands/acpi.c
> index d903d44..e7cb9e6 100644
> --- a/commands/acpi.c
> +++ b/commands/acpi.c
> @@ -681,6 +681,9 @@ grub_cmd_acpi (struct grub_extcmd *cmd,
>         table->size = size;
>         table->addr = buf;
>         playground_size += table->size;
> +
> +       table->next = acpi_tables;
> +       acpi_tables = table;
>       }
>      }

According to Vladimir, this patch is fine.  Please, could you provide a
ChangeLog entry?  Then it can be committed.

Thanks

-- 
Robert Millan

  The DRM opt-in fallacy: "Your data belongs to us. We will decide when (and
  how) you may access your data; but nobody's threatening your freedom: we
  still allow you to remove your data and not access it at all."




reply via email to

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