Bug#714345: Fwd: Bug#714345: No sound on PowerPC with Jessie upgrade
- To: 714345@bugs.debian.org
- Subject: Bug#714345: Fwd: Bug#714345: No sound on PowerPC with Jessie upgrade
- From: Mathieu Malaterre <malat@debian.org>
- Date: Mon, 6 Jun 2016 18:09:54 +0200
- Message-id: <[🔎] CA+7wUszwV4GV=Kq5tqAoyca0h0zgb2h5FjYOWJ3L9wnPk=sB0A@mail.gmail.com>
- Reply-to: Mathieu Malaterre <malat@debian.org>, 714345@bugs.debian.org
- In-reply-to: <20160605103215.GC1497@katana>
- References: <20160603140906.GA4313@katana> <CA+7wUsxGAjDyC0rJ-2bkfTWcM1SesSLaR9fmCbNExG5rb8Yypw@mail.gmail.com> <20160603141821.GB4313@katana> <CA+7wUsz7OtV+zUq44h1vCB=wW7OqNipqTu8jv72aCtADBg_e7Q@mail.gmail.com> <20160603143816.GC4313@katana> <CA+7wUswEqPr4j-SOg5pCwMPNCEUSj_mahiSvCn98uSaRA8ZuCw@mail.gmail.com> <20160603144958.GD4313@katana> <CA+7wUsx6Lvn2fnv_h-30+4bkY8SH7VGZ0y6X4aDm0M=3i_+HPg@mail.gmail.com> <20160603152301.GE4313@katana> <CA+7wUszymcKNNmrFUxbAKMZW8EOcERdJetx1BrDyEU_YMrienQ@mail.gmail.com> <20160605103215.GC1497@katana>
Control: tags -1 patch
---------- Forwarded message ----------
From: Wolfram Sang <wsa@the-dreams.de>
Date: Sun, Jun 5, 2016 at 12:32 PM
Subject: Re: Bug#714345: No sound on PowerPC with Jessie upgrade
To: Mathieu Malaterre <malat@debian.org>
> # modinfo snd-aoa-i2sbus
...
> alias: of:Ni2sT*CC*
> alias: of:Ni2sT*C
This looks broken. Can you apply the below patch and send me the modinfo
again? And check if it works now? It's more and educated guess. If this
is the bug, then it must be >3 years old...
diff --git a/scripts/mod/file2alias.c b/scripts/mod/file2alias.c
index a9155077feefb9..fec75786f75bbb 100644
--- a/scripts/mod/file2alias.c
+++ b/scripts/mod/file2alias.c
@@ -384,7 +384,7 @@ static void do_of_entry_multi(void *symval, struct
module *mod)
len = sprintf(alias, "of:N%sT%s", (*name)[0] ? *name : "*",
(*type)[0] ? *type : "*");
- if (compatible[0])
+ if ((*compatible)[0])
sprintf(&alias[len], "%sC%s", (*type)[0] ? "*" : "",
*compatible);
Reply to: