From mboxrd@z Thu Jan 1 00:00:00 1970 From: Takashi Iwai Subject: Re: Bug in acore/memalloc.patch in alsa-driver-1.0.7? Date: Fri, 19 Nov 2004 18:50:44 +0100 Message-ID: References: Mime-Version: 1.0 (generated by SEMI 1.14.5 - "Awara-Onsen") Content-Type: text/plain; charset=US-ASCII Return-path: In-Reply-To: Sender: alsa-devel-admin@lists.sourceforge.net Errors-To: alsa-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: Stephen Warren Cc: alsa-devel@lists.sourceforge.net List-Id: alsa-devel@alsa-project.org At Fri, 19 Nov 2004 09:05:43 -0800, Stephen Warren wrote: > > This changes the code from > > - if (dev == NULL || !dev->dma_mask) > > to: > > - if (dev == NULL || (dev)->dma_mask) > > Once the macro is expanded for kernels 2.6.0 or later. > > This seems to be a bug, since the test is inverted. Yep, you're ring. Now fixed on cvs. Thanks. Takashi ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8