From mboxrd@z Thu Jan 1 00:00:00 1970 From: Takashi Iwai Subject: Re: ALSA: remove magic cast (0/6) Date: Tue, 22 Jun 2004 18:38:30 +0200 Sender: alsa-devel-admin@lists.sourceforge.net Message-ID: References: <200406141555.i5EFtD7g013906@melkki.cs.helsinki.fi> Mime-Version: 1.0 (generated by SEMI 1.14.5 - "Awara-Onsen") Content-Type: text/plain; charset=US-ASCII Return-path: Received: from Cantor.suse.de (cantor.suse.de [195.135.220.2]) by alsa.alsa-project.org (ALSA's E-mail Delivery System) with ESMTP id BD0D9F8 for ; Tue, 22 Jun 2004 18:38:33 +0200 (MEST) In-Reply-To: Errors-To: alsa-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: Pekka J Enberg Cc: Jaroslav Kysela , ALSA development List-Id: alsa-devel@alsa-project.org At Tue, 22 Jun 2004 08:51:01 +0300, Pekka J Enberg wrote: > > Takashi Iwai writes: > > I agree with Jaroslav. To make the things easy, let's split the > > patch. > > > > 1. addition of kcalloc() > > > > 2. replacement of snd_kcalloc with kcalloc > > > > 3. removal of magic stuff > > - replace snd_magic_kmalloc/kcalloc to kmalloc/kcalloc. > > - replace snd_magic_kfree to kfree. > > - replace snd_magic_cast to normal cast. > > - remove the rest of magic-related codes/files. > > > > Then only the memory tracking (called memory pool in above) will remain. > > Sounds good. It's almost like this already. I just need to split the > snd_kcalloc and snd_magic_kcalloc sweep. Or, could you give your magic script, so that we can apply on our tree? There have been already many changes since 2.6.7... Takashi ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com