* Re: [PATCH] soundwire:repeated word: 'state'.
[not found] <20220719183902.9231-1-gaoxin@cdjrlc.com>
@ 2022-07-20 13:56 ` Pierre-Louis Bossart
0 siblings, 0 replies; only message in thread
From: Pierre-Louis Bossart @ 2022-07-20 13:56 UTC (permalink / raw)
To: Xin Gao, ALSA Development Mailing List; +Cc: vkoul, yung-chuan.liao
On 7/19/22 13:39, Xin Gao wrote:
> repeated word: 'state'.
>
> Signed-off-by: Xin Gao <gaoxin@cdjrlc.com>
> ---
> drivers/soundwire/stream.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/soundwire/stream.c b/drivers/soundwire/stream.c
> index d34150559142..f0312b99e3de 100644
> --- a/drivers/soundwire/stream.c
> +++ b/drivers/soundwire/stream.c
> @@ -1424,7 +1424,7 @@ int sdw_prepare_stream(struct sdw_stream_runtime *stream)
> if (stream->state != SDW_STREAM_CONFIGURED &&
> stream->state != SDW_STREAM_DEPREPARED &&
> stream->state != SDW_STREAM_DISABLED) {
> - pr_err("%s: %s: inconsistent state state %d\n",
> + pr_err("%s: %s: inconsistent state %d\n",
> __func__, stream->name, stream->state);
> ret = -EINVAL;
> goto state_err;
There are other occurrences of this repetition, you may want to correct
them all in the same patch?
stream.c:1444: pr_err("%s: %s: inconsistent state state %d\n",
stream.c:1533: pr_err("%s: %s: inconsistent state state %d\n",
stream.c:1620: pr_err("%s: %s: inconsistent state state %d\n",
stream.c:1701: pr_err("%s: %s: inconsistent state state %d\n",
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-07-20 13:58 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <20220719183902.9231-1-gaoxin@cdjrlc.com>
2022-07-20 13:56 ` [PATCH] soundwire:repeated word: 'state' Pierre-Louis Bossart
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.