From: Manos Pitsidianakis <manos.pitsidianakis@linaro.org>
To: "Michael S. Tsirkin" <mst@redhat.com>,
Peter Maydell <peter.maydell@linaro.org>
Cc: Manos Pitsidianakis <manos.pitsidianakis@linaro.org>,
qemu-devel@nongnu.org, Gerd Hoffmann <kraxel@redhat.com>
Subject: Re: [PATCH] virtio-snd: check AUD_register_card return value
Date: Fri, 10 Nov 2023 11:26:53 +0200 [thread overview]
Message-ID: <3wiem.x9bcv3ybznjq@linaro.org> (raw)
In-Reply-To: <20231109181752-mutt-send-email-mst@kernel.org>
On Fri, 10 Nov 2023 01:23, "Michael S. Tsirkin" <mst@redhat.com> wrote:
>On Thu, Nov 09, 2023 at 06:03:15PM +0000, Peter Maydell wrote:
>> On Thu, 9 Nov 2023 at 17:53, Michael S. Tsirkin <mst@redhat.com> wrote:
>> >
>> > On Thu, Nov 09, 2023 at 04:25:04PM +0000, Peter Maydell wrote:
>> > > On Thu, 9 Nov 2023 at 16:21, Manos Pitsidianakis
>> > > <manos.pitsidianakis@linaro.org> wrote:
>> > > >
>> > > > AUD_register_card might fail. Even though errp was passed as an
>> > > > argument, the call's return value was not checked for failure.
>> > >
>> > > For whoever picks up this patch: we can add
>> > > "Fixes Coverity CID 1523899" to the commit message.
>> >
>> >
>> > Better:
>> >
>> > Fixes: Coverity CID 1523899
>>
>> I thought "Fixes:" as a header-line like that was for
>> the commit hash/subject of the commit the patch is fixing?
>>
>> thanks
>> -- PMM
>
>This works for many other things
>e.g. gitlab issues (closes them). Fixes without : is much harder to
>distinguish from just general english text.
>qemu uses a mix of Fixes: Resolves: and Closes: .
>I don't see a real need for distinct tags for commit versus gitlab
>issue link: one can look at the contents to figure that out.
The "Fixes:" trailer is for commits.
In the kernel they use "Addresses-Coverity-ID: ..." but I can't find out
if it's part of some automated workflow or just convention.
Example commit in torvalds/linux:
5ad2e46030ad97de7fdbdaf63bb1af45c7caf3dd
next prev parent reply other threads:[~2023-11-10 9:31 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-11-09 16:20 [PATCH] virtio-snd: check AUD_register_card return value Manos Pitsidianakis
2023-11-09 16:25 ` Peter Maydell
2023-11-09 17:53 ` Michael S. Tsirkin
2023-11-09 18:03 ` Peter Maydell
2023-11-09 23:23 ` Michael S. Tsirkin
2023-11-10 9:26 ` Manos Pitsidianakis [this message]
2023-11-09 17:42 ` Philippe Mathieu-Daudé
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=3wiem.x9bcv3ybznjq@linaro.org \
--to=manos.pitsidianakis@linaro.org \
--cc=kraxel@redhat.com \
--cc=mst@redhat.com \
--cc=peter.maydell@linaro.org \
--cc=qemu-devel@nongnu.org \
/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.