All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Alex Bennée" <alex.bennee@linaro.org>
To: Richard Henderson <richard.henderson@linaro.org>
Cc: robert.foley@linaro.org, qemu-devel@nongnu.org,
	robhenry@microsoft.com, aaron@os.amperecomputing.com,
	cota@braap.org, kuhn.chenqun@huawei.com, peter.puhov@linaro.org,
	Clement Deschamps <clement.deschamps@greensocs.com>
Subject: Re: [PATCH v1 2/4] plugins: add API to return a name for a IO device
Date: Fri, 04 Sep 2020 17:27:03 +0100	[thread overview]
Message-ID: <875z8t4ieg.fsf@linaro.org> (raw)
In-Reply-To: <d497d2b9-3107-dae7-e6bd-21b9be580359@linaro.org>


Richard Henderson <richard.henderson@linaro.org> writes:

> On 9/4/20 6:40 AM, Alex Bennée wrote:
>> +        return g_intern_string("RAM");
>> +    }
>> +#else
>> +    return g_intern_string("Invalid");
>
> g_intern_static_string.

doh - I'm sure I missed that from last time. Sorry.

>
>
> r~


-- 
Alex Bennée


  reply	other threads:[~2020-09-04 16:28 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-04 13:40 [PATCH v1 0/4] current plugins/next (reorg + hwprofile) Alex Bennée
2020-09-04 13:40 ` [PATCH v1 1/4] hw/virtio/pci: include vdev name in registered PCI sections Alex Bennée
2020-09-04 13:40 ` [PATCH v1 2/4] plugins: add API to return a name for a IO device Alex Bennée
2020-09-04 15:55   ` Richard Henderson
2020-09-04 16:27     ` Alex Bennée [this message]
2020-09-04 13:40 ` [PATCH v1 3/4] plugins: move the more involved plugins to contrib Alex Bennée
2020-09-04 13:40 ` [PATCH v1 4/4] plugins: new hwprofile plugin Alex Bennée

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=875z8t4ieg.fsf@linaro.org \
    --to=alex.bennee@linaro.org \
    --cc=aaron@os.amperecomputing.com \
    --cc=clement.deschamps@greensocs.com \
    --cc=cota@braap.org \
    --cc=kuhn.chenqun@huawei.com \
    --cc=peter.puhov@linaro.org \
    --cc=qemu-devel@nongnu.org \
    --cc=richard.henderson@linaro.org \
    --cc=robert.foley@linaro.org \
    --cc=robhenry@microsoft.com \
    /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.