Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757971AbZKXGwY (ORCPT ); Tue, 24 Nov 2009 01:52:24 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1757920AbZKXGwX (ORCPT ); Tue, 24 Nov 2009 01:52:23 -0500 Received: from www84.your-server.de ([213.133.104.84]:60964 "EHLO www84.your-server.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757917AbZKXGwW (ORCPT ); Tue, 24 Nov 2009 01:52:22 -0500 Subject: Re: [PATCH 5/7] kfifo: add DEFINE_KFIFO and friends, add very tiny functions From: Stefani Seibold To: Andrew Morton Cc: linux-kernel , Arnd Bergmann , Andi Kleen , Amerigo Wang , Joe Perches , Roger Quadros , Greg Kroah-Hartman , Mauro Carvalho Chehab In-Reply-To: <20091123141910.af8f0d30.akpm@linux-foundation.org> References: <1258704942.4426.5.camel@wall-e> <1258705633.4426.16.camel@wall-e> <20091123141910.af8f0d30.akpm@linux-foundation.org> Content-Type: text/plain; charset="ISO-8859-15" Date: Tue, 24 Nov 2009 07:52:25 +0100 Message-ID: <1259045545.14668.2.camel@wall-e> Mime-Version: 1.0 X-Mailer: Evolution 2.28.1 Content-Transfer-Encoding: 7bit X-Authenticated-Sender: stefani@seibold.net Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 700 Lines: 23 Am Montag, den 23.11.2009, 14:19 -0800 schrieb Andrew Morton: > On Fri, 20 Nov 2009 09:27:13 +0100 > Stefani Seibold wrote: > > > +#define __kfifo_initializer(s, b) \ > > + (struct kfifo) { \ > > + .size = s, \ > > + .in = 0, \ > > + .out = 0, \ > > + .buffer = b \ > > + } > > This could be #undef'ed after its last invokation, assuming that it is > not intended that .c files use __kfifo_initializer(). Will be fixed... -- 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/