linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [BUG] ALSA: echoaudio: warning when the driver fails to probe
@ 2022-04-10  9:13 Zheyu Ma
  2022-04-11  7:41 ` Takashi Iwai
  0 siblings, 1 reply; 10+ messages in thread
From: Zheyu Ma @ 2022-04-10  9:13 UTC (permalink / raw)
  To: perex, tiwai; +Cc: alsa-devel, Linux Kernel Mailing List

Hello,

I found a bug in echoaudio.c.
When the driver fails at the function snd_echo_create(), it should
release resources requested before, otherwise we will get the
following warning:

[    3.262866] remove_proc_entry: removing non-empty directory
'irq/21', leaking at least 'snd_indigodj'
[    3.263577] WARNING: CPU: 3 PID: 261 at fs/proc/generic.c:717
remove_proc_entry+0x389/0x3f0
[    3.267098] RIP: 0010:remove_proc_entry+0x389/0x3f0
[    3.269976] Call Trace:
[    3.269979]  <TASK>
[    3.269988]  unregister_irq_proc+0x14c/0x170
[    3.269997]  irq_free_descs+0x94/0xe0
[    3.270004]  mp_unmap_irq+0xb6/0x100
[    3.270011]  acpi_unregister_gsi_ioapic+0x27/0x40
[    3.270017]  acpi_pci_irq_disable+0x1d3/0x320
[    3.270025]  pci_disable_device+0x1ad/0x380
[    3.270034]  pcim_release+0x566/0x6d0
[    3.270046]  devres_release_all+0x1f1/0x2c0
[    3.270057]  really_probe+0xe0/0x920

Regards,
Zheyu Ma

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2022-04-12 10:27 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-10  9:13 [BUG] ALSA: echoaudio: warning when the driver fails to probe Zheyu Ma
2022-04-11  7:41 ` Takashi Iwai
2022-04-11  8:49   ` Zheyu Ma
2022-04-11  9:06     ` Takashi Iwai
2022-04-11  9:15       ` Takashi Iwai
2022-04-11 10:30         ` Takashi Iwai
2022-04-11 10:34           ` Zheyu Ma
2022-04-11 15:14             ` Takashi Iwai
2022-04-12  1:36               ` Zheyu Ma
2022-04-12  9:28                 ` Takashi Iwai

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).