soundwire: fix repeated words in log messages
PATCH 1/1 soundwire: fix repeated words in log messages
Drop the words written twice, reported by checkpatch.pl as a possible repeated word.
Only the message text changes, no code changes.
Assisted-by Cursor:claude-opus-5
Signed-off-by Hemanth Selam <[email protected]>
--- drivers/soundwire/stream.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
drivers/soundwire/stream.c +4 -4
@@ -1571,7 +1571,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;
@@ -1655,7 +1655,7 @@ int sdw_enable_stream(struct sdw_stream_runtime *stream)if (stream->state !=SDW_STREAM_PREPARED && 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;
@@ -1742,7 +1742,7 @@ int sdw_disable_stream(struct sdw_stream_runtime *stream) }if (stream->state !=SDW_STREAM_ENABLED ) { -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;
@@ -1848,7 +1848,7 @@ int sdw_deprepare_stream(struct sdw_stream_runtime *stream)if (stream->state !=SDW_STREAM_PREPARED && 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;
Signature · 1 line
2.48.1
Quoted 8 lines · Hemanth Selam
Drop the words written twice, reported by checkpatch.pl as a possible repeated word.
Only the message text changes, no code changes.
Assisted-by Cursor:claude-opus-5Signed-off-by Hemanth Selam <[email protected]>---
Reviewed-by Charles Keepax <[email protected]>
Thanks,
Charles
Quoted 6 lines · Hemanth Selam
Drop the words written twice, reported by checkpatch.pl as a possible repeated word.
Only the message text changes, no code changes.
Applied, thanks!
[1/1] soundwire: fix repeated words in log messages
commit: 1f26ff6aab686c5da7ef749bd14049d1eb3029e4
Best regards,
Signature · 1 line
~Vinod