From: sashiko-bot@kernel.org
To: "HyeongJun An" <sammiee5311@gmail.com>
Cc: linux-sound@vger.kernel.org
Subject: Re: [RFC PATCH] ALSA: pcmtest: Add a volume control with event fault injection
Date: Tue, 03 Nov 2026 01:16:50 +0000 [thread overview]
Message-ID: <sashiko-outbox-194420@kernel.org> (raw)
In-Reply-To: <20261103011000.1012035-1-sammiee5311@gmail.com>
Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Low] ALSA: pcmtest: missing documentation for new control fault module parameters
--
commit 37a7a575ca0b14787e4948616e5cc636a185dad2
Author: HyeongJun An <sammiee5311@gmail.com>
ALSA: pcmtest: Add a volume control with event fault injection
This commit adds a stereo playback volume mixer control to the virtual pcmtest
driver along with two module parameters, inject_ctl_no_event and
inject_ctl_spurious_event, to inject event reporting faults in
snd_pcmtst_volume_put().
> diff --git a/sound/drivers/pcmtest.c b/sound/drivers/pcmtest.c
> index 66bee8a2ce343..c95bb47174871 100644
> --- a/sound/drivers/pcmtest.c
> +++ b/sound/drivers/pcmtest.c
[ ... ]
> @@ -109,11 +114,17 @@ module_param(inject_trigger_err, bool, 0600);
> MODULE_PARM_DESC(inject_trigger_err, "Inject EINVAL error in the 'trigger' callback");
> module_param(inject_open_err, bool, 0600);
> MODULE_PARM_DESC(inject_open_err, "Inject EBUSY error in the 'open' callback");
> +module_param(inject_ctl_no_event, bool, 0600);
> +MODULE_PARM_DESC(inject_ctl_no_event, "Report no change from the control 'put' callback");
> +module_param(inject_ctl_spurious_event, bool, 0600);
> +MODULE_PARM_DESC(inject_ctl_spurious_event, "Report a change from the control 'put' callback");
[Severity: Low]
Since inject_ctl_no_event and inject_ctl_spurious_event are registered via
module_param() in sound/drivers/pcmtest.c and can be passed on the kernel
command line at boot (as snd_pcmtest.inject_ctl_no_event= and
snd_pcmtest.inject_ctl_spurious_event=) or set via sysfs, should these new
parameters be documented in Documentation/admin-guide/kernel-parameters.txt
and under the Configuration and Errors injection sections of
Documentation/sound/cards/pcmtest.rst in this patch?
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261103011000.1012035-1-sammiee5311@gmail.com?part=1
next prev parent reply other threads:[~2026-11-03 1:16 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-03 1:10 [RFC PATCH] ALSA: pcmtest: Add a volume control with event fault injection HyeongJun An
2026-11-03 1:16 ` sashiko-bot [this message]
2026-11-03 16:49 ` Mark Brown
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=sashiko-outbox-194420@kernel.org \
--to=sashiko-bot@kernel.org \
--cc=linux-sound@vger.kernel.org \
--cc=sammiee5311@gmail.com \
--cc=sashiko-reviews@lists.linux.dev \
/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.