From: "Michael S. Tsirkin" <mst@redhat.com>
To: wei.yang@ucloud.cn
Cc: imammedo@redhat.com, qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH] bios-tables-test: delete a assert about block name
Date: Mon, 14 Aug 2017 18:58:49 +0300 [thread overview]
Message-ID: <20170814185545-mutt-send-email-mst@kernel.org> (raw)
In-Reply-To: <20170814084838.12233-1-wei.yang@ucloud.cn>
On Mon, Aug 14, 2017 at 04:48:38PM +0800, wei.yang@ucloud.cn wrote:
> From: Wei Yang <wei.yang@ucloud.cn>
>
> The assert would be touched when the version of acpica is greater than or
> equal to 20160318. its reason is that "Disasembler: Update a couple
> output items(commit id: 1ecbb3d)" is introduced by Robert, the patch
> emits the AML filename as a zero-length string, and allows the compiler
> to create the name later.
So how does the output look then? Do you mean there's no comma then?
>
> Signed-off-by: Yang, Wei <wei.yang@ucloud.com>
> CC: Michael S. Tsirkin <mst@redhat.com>
> CC: Igor Mammedov <imammedo@redhat.com>
> CC: qemu-devel@nongnu.org
> ---
> tests/bios-tables-test.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/tests/bios-tables-test.c b/tests/bios-tables-test.c
> index 88dbf97853..d2ab073848 100644
> --- a/tests/bios-tables-test.c
> +++ b/tests/bios-tables-test.c
> @@ -350,7 +350,6 @@ static GString *normalize_asl(gchar *asl_code)
> /* strip def block name (it has file path in it) */
> if (g_str_has_prefix(asl->str, DEF_BLOCK)) {
> block_name = g_strstr_len(asl->str, asl->len, BLOCK_NAME_END);
> - g_assert(block_name);
> asl = g_string_erase(asl, 0,
> block_name + sizeof(BLOCK_NAME_END) - asl->str);
The pointer math here won't do the right thing then, will it?
> }
> --
> 2.11.0
>
next prev parent reply other threads:[~2017-08-14 15:58 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-08-14 8:48 [Qemu-devel] [PATCH] bios-tables-test: delete a assert about block name wei.yang
2017-08-14 15:58 ` Michael S. Tsirkin [this message]
2017-08-15 2:21 ` wyang
2017-08-15 2:39 ` Michael S. Tsirkin
2017-08-15 2:46 ` wyang
2017-08-15 2:49 ` Michael S. Tsirkin
2017-08-15 3:53 ` wyang
2017-08-15 4:06 ` Michael S. Tsirkin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170814185545-mutt-send-email-mst@kernel.org \
--to=mst@redhat.com \
--cc=imammedo@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=wei.yang@ucloud.cn \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.