ACK: [PATCH] acpi: acpidump: print a message if no ACPI tables could be found.

Alex Hung alex.hung at canonical.com
Wed Dec 12 06:21:24 UTC 2012


On 12/08/2012 02:33 AM, Colin King wrote:
> From: Colin Ian King <colin.king at canonical.com>
>
> Some systems don't have ACPI tables, so emit a message if non can
> be found.
>
> Signed-off-by: Colin Ian King <colin.king at canonical.com>
> ---
>   src/acpi/acpidump/acpidump.c | 4 ++++
>   1 file changed, 4 insertions(+)
>
> diff --git a/src/acpi/acpidump/acpidump.c b/src/acpi/acpidump/acpidump.c
> index 435608c..6cbbf85 100644
> --- a/src/acpi/acpidump/acpidump.c
> +++ b/src/acpi/acpidump/acpidump.c
> @@ -1767,6 +1767,10 @@ static int acpidump_test1(fwts_framework *fw)
>   		fwts_log_nl(fw);
>   	}
>
> +	/* Some systems don't have any ACPI tables */
> +	if (!i)
> +		fwts_log_info(fw, "Cannot find any ACPI tables.");
> +
>   	return FWTS_OK;
>   }
>
>
Acked-by: Alex Hung <alex.hung at canonical.com>



More information about the fwts-devel mailing list