* [PATCH v2] ASoC: soc-core.c: Add "Unknown" and "Unknown Product" to dmi_blacklist
@ 2024-01-17 13:44 Daniel Abrecht
2024-01-22 0:05 ` Mark Brown
` (3 more replies)
0 siblings, 4 replies; 6+ messages in thread
From: Daniel Abrecht @ 2024-01-17 13:44 UTC (permalink / raw)
To: Liam Girdwood, Mark Brown, Jaroslav Kysela, Takashi Iwai,
linux-sound, linux-kernel
In U-Boot, the default for DMI vendor / product if not set is "Unknown"
and "Unknown Product".
See
https://source.denx.de/u-boot/u-boot/-/blob/v2023.10/lib/smbios.c?ref_type=tags#L272
This patch adds them to the dmi_blacklist.
Signed-off-by: Daniel Abrecht <public@danielabrecht.ch>
Acked-by: Jaroslav Kysela <perex@perex.cz>
---
sound/soc/soc-core.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/sound/soc/soc-core.c b/sound/soc/soc-core.c
index f8524b5bfb33..aa1a31abbe3a 100644
--- a/sound/soc/soc-core.c
+++ b/sound/soc/soc-core.c
@@ -1804,6 +1804,8 @@ static const char * const dmi_blacklist[] = {
"Board Manufacturer",
"Board Vendor Name",
"Board Product Name",
+ "Unknown",
+ "Unknown Product",
NULL, /* terminator */
};
--
2.39.2
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH v2] ASoC: soc-core.c: Add "Unknown" and "Unknown Product" to dmi_blacklist
2024-01-17 13:44 [PATCH v2] ASoC: soc-core.c: Add "Unknown" and "Unknown Product" to dmi_blacklist Daniel Abrecht
@ 2024-01-22 0:05 ` Mark Brown
2024-01-22 9:36 ` [PATCH v3] " Daniel Abrecht
` (2 subsequent siblings)
3 siblings, 0 replies; 6+ messages in thread
From: Mark Brown @ 2024-01-22 0:05 UTC (permalink / raw)
To: Daniel Abrecht
Cc: Liam Girdwood, Jaroslav Kysela, Takashi Iwai, linux-sound, linux-kernel
[-- Attachment #1: Type: text/plain, Size: 230 bytes --]
On Wed, Jan 17, 2024 at 02:44:43PM +0100, Daniel Abrecht wrote:
> In U-Boot, the default for DMI vendor / product if not set is "Unknown" and
> "Unknown Product".
This doesn't apply against current code, please check and resend.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* [PATCH v3] ASoC: soc-core.c: Add "Unknown" and "Unknown Product" to dmi_blacklist
2024-01-17 13:44 [PATCH v2] ASoC: soc-core.c: Add "Unknown" and "Unknown Product" to dmi_blacklist Daniel Abrecht
2024-01-22 0:05 ` Mark Brown
@ 2024-01-22 9:36 ` Daniel Abrecht
2024-01-22 9:46 ` Daniel Abrecht
2024-01-22 15:30 ` [PATCH v2] " Mark Brown
3 siblings, 0 replies; 6+ messages in thread
From: Daniel Abrecht @ 2024-01-22 9:36 UTC (permalink / raw)
To: Liam Girdwood, Mark Brown, Jaroslav Kysela, Takashi Iwai,
linux-sound, linux-kernel
In U-Boot, the default for DMI vendor / product if not set is "Unknown" and "Unknown Product".
See https://source.denx.de/u-boot/u-boot/-/blob/v2023.10/lib/smbios.c?ref_type=tags#L272
This patch adds them to the dmi_blacklist.
Signed-off-by: Daniel Abrecht <public@danielabrecht.ch>
Acked-by: Jaroslav Kysela <perex@perex.cz>
---
sound/soc/soc-core.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/sound/soc/soc-core.c b/sound/soc/soc-core.c
index f8524b5bfb33..aa1a31abbe3a 100644
--- a/sound/soc/soc-core.c
+++ b/sound/soc/soc-core.c
@@ -1804,6 +1804,8 @@ static const char * const dmi_blacklist[] = {
"Board Manufacturer",
"Board Vendor Name",
"Board Product Name",
+ "Unknown",
+ "Unknown Product",
NULL, /* terminator */
};
--
2.39.2
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH v3] ASoC: soc-core.c: Add "Unknown" and "Unknown Product" to dmi_blacklist
2024-01-17 13:44 [PATCH v2] ASoC: soc-core.c: Add "Unknown" and "Unknown Product" to dmi_blacklist Daniel Abrecht
2024-01-22 0:05 ` Mark Brown
2024-01-22 9:36 ` [PATCH v3] " Daniel Abrecht
@ 2024-01-22 9:46 ` Daniel Abrecht
2024-01-22 15:30 ` [PATCH v2] " Mark Brown
3 siblings, 0 replies; 6+ messages in thread
From: Daniel Abrecht @ 2024-01-22 9:46 UTC (permalink / raw)
To: Liam Girdwood, Mark Brown, Jaroslav Kysela, Takashi Iwai,
linux-sound, linux-kernel
I think this time it should work. It's surprisingly difficult to get roundcube to not alter plain text messages. Sorry about that.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH v2] ASoC: soc-core.c: Add "Unknown" and "Unknown Product" to dmi_blacklist
2024-01-17 13:44 [PATCH v2] ASoC: soc-core.c: Add "Unknown" and "Unknown Product" to dmi_blacklist Daniel Abrecht
` (2 preceding siblings ...)
2024-01-22 9:46 ` Daniel Abrecht
@ 2024-01-22 15:30 ` Mark Brown
2024-01-22 17:53 ` Daniel Abrecht
3 siblings, 1 reply; 6+ messages in thread
From: Mark Brown @ 2024-01-22 15:30 UTC (permalink / raw)
To: Daniel Abrecht
Cc: Liam Girdwood, Jaroslav Kysela, Takashi Iwai, linux-sound, linux-kernel
[-- Attachment #1: Type: text/plain, Size: 351 bytes --]
On Wed, Jan 17, 2024 at 02:44:43PM +0100, Daniel Abrecht wrote:
> In U-Boot, the default for DMI vendor / product if not set is "Unknown" and
> "Unknown Product".
> See https://source.denx.de/u-boot/u-boot/-/blob/v2023.10/lib/smbios.c?ref_type=tags#L272
This is still corrupted according to git am unfortunately. I can't
immediately spot the issue.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH v2] ASoC: soc-core.c: Add "Unknown" and "Unknown Product" to dmi_blacklist
2024-01-22 15:30 ` [PATCH v2] " Mark Brown
@ 2024-01-22 17:53 ` Daniel Abrecht
0 siblings, 0 replies; 6+ messages in thread
From: Daniel Abrecht @ 2024-01-22 17:53 UTC (permalink / raw)
To: Mark Brown
Cc: Liam Girdwood, Jaroslav Kysela, Takashi Iwai, linux-sound, linux-kernel
Am 2024-01-22 16:30, schrieb Mark Brown:
> On Wed, Jan 17, 2024 at 02:44:43PM +0100, Daniel Abrecht wrote:
>> In U-Boot, the default for DMI vendor / product if not set is "Unknown" and
>> "Unknown Product".
>> See https://source.denx.de/u-boot/u-boot/-/blob/v2023.10/lib/smbios.c?ref_type=tags#L272
>
> This is still corrupted according to git am unfortunately. I can't
> immediately spot the issue.
The v3 I sent applies just fine with "git am" as far as I can tell. I just tested it again with the mail form the list.
I think the v3 patch is fine, but this time, the v3 message ended up with the same message ID as the v2 message.
Because of this, some mail clients may get confused, and the threading in mail clients is going to be broken.
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2024-01-22 17:53 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-01-17 13:44 [PATCH v2] ASoC: soc-core.c: Add "Unknown" and "Unknown Product" to dmi_blacklist Daniel Abrecht
2024-01-22 0:05 ` Mark Brown
2024-01-22 9:36 ` [PATCH v3] " Daniel Abrecht
2024-01-22 9:46 ` Daniel Abrecht
2024-01-22 15:30 ` [PATCH v2] " Mark Brown
2024-01-22 17:53 ` Daniel Abrecht
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®