User: Password:
|
|
Subscribe / Log in / New account

Re: [RFC][PATCH] ALSA: Remove subsystem-specific malloc (0/8)

From:  Jaroslav Kysela <perex-AT-suse.cz>
To:  Pekka J Enberg <penberg-AT-cs.helsinki.fi>
Subject:  Re: [RFC][PATCH] ALSA: Remove subsystem-specific malloc (0/8)
Date:  Wed, 9 Jun 2004 09:08:23 +0200 (CEST)
Cc:  linux-kernel-AT-vger.kernel.org, tiwai-AT-suse.de

On Wed, 9 Jun 2004, Pekka J Enberg wrote:

> This patch introduces a kcalloc() and replaces ALSA magic allocator
> snd_kcalloc() and snd_magic_kcalloc() with it.  I also fixed a memory
> leak in the arm sa11xx driver and added a BUG() in seq_oss_synth to
> catch failing allocations.
> 
> I kept the snd_magic_cast macro in place just in case someone wants to
> add a generic type checking facility in the kernel and convert the users
> to use it.

I suggest to Linus and Andrew to postpone applying of these patches into
mainstream. We'll integrate them (maybe in a slightly modified form - 
after discussion on the alsa-devel mailing list) to our ALSA tree at 
first. Thanks.

						Jaroslav

-----
Jaroslav Kysela <perex@suse.cz>
Linux Kernel Sound Maintainer
ALSA Project, SuSE Labs
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


(Log in to post comments)


Copyright © 2004, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds