* [PATCH][next] ASoC: codec: sma1307: replace spelling mistake with new error message
@ 2025-08-08 10:53 Colin Ian King
2025-08-08 11:30 ` Mark Brown
2025-08-12 11:05 ` Mark Brown
0 siblings, 2 replies; 5+ messages in thread
From: Colin Ian King @ 2025-08-08 10:53 UTC (permalink / raw)
To: Kiseok Jo, Liam Girdwood, Mark Brown, Jaroslav Kysela,
Takashi Iwai, linux-sound
Cc: kernel-janitors, linux-kernel
There is a spelling mistake in a failure message, replace the
message with something a little more meaningful.
Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
---
sound/soc/codecs/sma1307.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sound/soc/codecs/sma1307.c b/sound/soc/codecs/sma1307.c
index b3d401ada176..6a601e7134ea 100644
--- a/sound/soc/codecs/sma1307.c
+++ b/sound/soc/codecs/sma1307.c
@@ -1749,7 +1749,7 @@ static void sma1307_setting_loaded(struct sma1307_priv *sma1307, const char *fil
sma1307->set.header_size * sizeof(int));
if ((sma1307->set.checksum >> 8) != SMA1307_SETTING_CHECKSUM) {
- dev_err(sma1307->dev, "%s: failed by dismatch \"%s\"\n",
+ dev_err(sma1307->dev, "%s: checksum failed \"%s\"\n",
__func__, setting_file);
sma1307->set.status = false;
return;
--
2.50.1
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH][next] ASoC: codec: sma1307: replace spelling mistake with new error message
2025-08-08 10:53 [PATCH][next] ASoC: codec: sma1307: replace spelling mistake with new error message Colin Ian King
@ 2025-08-08 11:30 ` Mark Brown
2025-08-08 11:35 ` Colin King (gmail)
2025-08-12 11:05 ` Mark Brown
1 sibling, 1 reply; 5+ messages in thread
From: Mark Brown @ 2025-08-08 11:30 UTC (permalink / raw)
To: Colin Ian King
Cc: Kiseok Jo, Liam Girdwood, Jaroslav Kysela, Takashi Iwai,
linux-sound, kernel-janitors, linux-kernel
[-- Attachment #1: Type: text/plain, Size: 517 bytes --]
On Fri, Aug 08, 2025 at 11:53:24AM +0100, Colin Ian King wrote:
> There is a spelling mistake in a failure message, replace the
> message with something a little more meaningful.
> if ((sma1307->set.checksum >> 8) != SMA1307_SETTING_CHECKSUM) {
> - dev_err(sma1307->dev, "%s: failed by dismatch \"%s\"\n",
> + dev_err(sma1307->dev, "%s: checksum failed \"%s\"\n",
It's definitely an unusual term and the reword makes sense but that does
make sense to me as a word, I don't think it's a spelling error as such.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH][next] ASoC: codec: sma1307: replace spelling mistake with new error message
2025-08-08 11:30 ` Mark Brown
@ 2025-08-08 11:35 ` Colin King (gmail)
2025-08-08 12:10 ` Mark Brown
0 siblings, 1 reply; 5+ messages in thread
From: Colin King (gmail) @ 2025-08-08 11:35 UTC (permalink / raw)
To: Mark Brown
Cc: Kiseok Jo, Liam Girdwood, Jaroslav Kysela, Takashi Iwai,
linux-sound, kernel-janitors, linux-kernel
[-- Attachment #1.1.1: Type: text/plain, Size: 868 bytes --]
On 08/08/2025 12:30, Mark Brown wrote:
> On Fri, Aug 08, 2025 at 11:53:24AM +0100, Colin Ian King wrote:
>
>> There is a spelling mistake in a failure message, replace the
>> message with something a little more meaningful.
>
>> if ((sma1307->set.checksum >> 8) != SMA1307_SETTING_CHECKSUM) {
>> - dev_err(sma1307->dev, "%s: failed by dismatch \"%s\"\n",
>> + dev_err(sma1307->dev, "%s: checksum failed \"%s\"\n",
>
> It's definitely an unusual term and the reword makes sense but that does
> make sense to me as a word, I don't think it's a spelling error as such.
"Dismatch" is not a standard English word. It's likely a misspelling of
"mismatch" or a neologism formed by adding the prefix "dis-" to "match".
I understand it a niche term, I just think it is preferable not to use
it for folk who's first language isn't English.
Colin
[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 4901 bytes --]
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 840 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH][next] ASoC: codec: sma1307: replace spelling mistake with new error message
2025-08-08 11:35 ` Colin King (gmail)
@ 2025-08-08 12:10 ` Mark Brown
0 siblings, 0 replies; 5+ messages in thread
From: Mark Brown @ 2025-08-08 12:10 UTC (permalink / raw)
To: Colin King (gmail)
Cc: Kiseok Jo, Liam Girdwood, Jaroslav Kysela, Takashi Iwai,
linux-sound, kernel-janitors, linux-kernel
[-- Attachment #1: Type: text/plain, Size: 810 bytes --]
On Fri, Aug 08, 2025 at 12:35:40PM +0100, Colin King (gmail) wrote:
> On 08/08/2025 12:30, Mark Brown wrote:
> > On Fri, Aug 08, 2025 at 11:53:24AM +0100, Colin Ian King wrote:
> > > - dev_err(sma1307->dev, "%s: failed by dismatch \"%s\"\n",
> > > + dev_err(sma1307->dev, "%s: checksum failed \"%s\"\n",
> > It's definitely an unusual term and the reword makes sense but that does
> > make sense to me as a word, I don't think it's a spelling error as such.
> "Dismatch" is not a standard English word. It's likely a misspelling of
> "mismatch" or a neologism formed by adding the prefix "dis-" to "match". I
> understand it a niche term, I just think it is preferable not to use it for
> folk who's first language isn't English.
My comment was specifically that it doesn't look like a spelling
mistake.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH][next] ASoC: codec: sma1307: replace spelling mistake with new error message
2025-08-08 10:53 [PATCH][next] ASoC: codec: sma1307: replace spelling mistake with new error message Colin Ian King
2025-08-08 11:30 ` Mark Brown
@ 2025-08-12 11:05 ` Mark Brown
1 sibling, 0 replies; 5+ messages in thread
From: Mark Brown @ 2025-08-12 11:05 UTC (permalink / raw)
To: Kiseok Jo, Liam Girdwood, Jaroslav Kysela, Takashi Iwai,
linux-sound, Colin Ian King
Cc: kernel-janitors, linux-kernel
On Fri, 08 Aug 2025 11:53:24 +0100, Colin Ian King wrote:
> There is a spelling mistake in a failure message, replace the
> message with something a little more meaningful.
>
>
Applied to
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next
Thanks!
[1/1] ASoC: codec: sma1307: replace spelling mistake with new error message
commit: 7cdadac0d2b3614d04651be7104a89a1998efec0
All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.
You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.
If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.
Please add any relevant lists and maintainers to the CCs when replying
to this mail.
Thanks,
Mark
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2025-08-12 11:05 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-08-08 10:53 [PATCH][next] ASoC: codec: sma1307: replace spelling mistake with new error message Colin Ian King
2025-08-08 11:30 ` Mark Brown
2025-08-08 11:35 ` Colin King (gmail)
2025-08-08 12:10 ` Mark Brown
2025-08-12 11:05 ` Mark Brown
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).