lkml.org 
[lkml]   [2004]   [Jun]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC][PATCH] ALSA: Remove subsystem-specific malloc (0/8)
At Wed, 9 Jun 2004 00:24:53 +0300,
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.
>
> The patch is against 2.6.6 and was compile-tested with allyesconfig.

no, this patch breaks when CONFIG_SND_DEBUG=y. the compile is ok but
it won't work, as long as you leave snd_magic_cast.


Takashi
-
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/

\
 
 \ /
  Last update: 2005-03-22 14:03    [W:0.055 / U:0.980 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site