From: Jaroslav Kysela <perex@perex.cz>
To: "Uwe Kleine-König" <u.kleine-koenig@pengutronix.de>,
"Takashi Iwai" <tiwai@suse.com>,
"Thierry Reding" <thierry.reding@gmail.com>,
"Jonathan Hunter" <jonathanh@nvidia.com>,
"Geoff Levand" <geoff@infradead.org>,
"Michael Ellerman" <mpe@ellerman.id.au>
Cc: alsa-devel@alsa-project.org, Nicholas Piggin <npiggin@gmail.com>,
kernel@pengutronix.de, linux-tegra@vger.kernel.org,
linuxppc-dev@lists.ozlabs.org
Subject: Re: [PATCH 0/3] ALSA: core: Make some functions return void
Date: Wed, 8 Feb 2023 09:39:54 +0100 [thread overview]
Message-ID: <ae3efa77-0dde-4681-d68d-1f483ebd5d9e@perex.cz> (raw)
In-Reply-To: <20230207191907.467756-1-u.kleine-koenig@pengutronix.de>
On 07. 02. 23 20:19, Uwe Kleine-König wrote:
> Hello,
>
> while checking in which cases hda_tegra_remove() can return a non-zero value, I
> found that actually cannot happen. This series makes the involved functions
> return void to make this obvious.
>
> This is a preparation for making platform_driver::remove return void, too.
>
> Best regards
> Uwe
>
> Uwe Kleine-König (3):
> ALSA: core: Make snd_card_disconnect() return void
> ALSA: core: Make snd_card_free_when_closed() return void
> ALSA: core: Make snd_card_free() return void
>
> include/sound/core.h | 6 +++---
> sound/core/init.c | 40 ++++++++++++++-------------------------
> sound/pci/hda/hda_tegra.c | 6 ++----
> sound/ppc/snd_ps3.c | 4 +---
> 4 files changed, 20 insertions(+), 36 deletions(-)
Reviewed-by: Jaroslav Kysela <perex@perex.cz>
--
Jaroslav Kysela <perex@perex.cz>
Linux Sound Maintainer; ALSA Project; Red Hat, Inc.
next prev parent reply other threads:[~2023-02-08 13:11 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-02-07 19:19 [PATCH 0/3] ALSA: core: Make some functions return void Uwe Kleine-König
2023-02-07 19:19 ` [PATCH 3/3] ALSA: core: Make snd_card_free() " Uwe Kleine-König
2023-02-08 2:10 ` Geoff Levand
2023-02-08 11:33 ` Thierry Reding
2023-02-08 8:33 ` [PATCH 0/3] ALSA: core: Make some functions " Takashi Sakamoto
2023-02-08 9:25 ` Uwe Kleine-König
2023-02-08 8:39 ` Jaroslav Kysela [this message]
2023-02-08 12:41 ` Takashi Iwai
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=ae3efa77-0dde-4681-d68d-1f483ebd5d9e@perex.cz \
--to=perex@perex.cz \
--cc=alsa-devel@alsa-project.org \
--cc=geoff@infradead.org \
--cc=jonathanh@nvidia.com \
--cc=kernel@pengutronix.de \
--cc=linux-tegra@vger.kernel.org \
--cc=linuxppc-dev@lists.ozlabs.org \
--cc=mpe@ellerman.id.au \
--cc=npiggin@gmail.com \
--cc=thierry.reding@gmail.com \
--cc=tiwai@suse.com \
--cc=u.kleine-koenig@pengutronix.de \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox