Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Wed, 26 Mar 2003 14:54:48 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Wed, 26 Mar 2003 14:54:48 -0500 Received: from phoenix.infradead.org ([195.224.96.167]:34822 "EHLO phoenix.infradead.org") by vger.kernel.org with ESMTP id ; Wed, 26 Mar 2003 14:54:46 -0500 Date: Wed, 26 Mar 2003 20:05:58 +0000 From: Christoph Hellwig To: Martin Schwidefsky Cc: linux-kernel@vger.kernel.org, torvalds@transmeta.com Subject: Re: [PATCH] s390 update (4/9): common i/o layer update. Message-ID: <20030326200558.B21308@infradead.org> Mail-Followup-To: Christoph Hellwig , Martin Schwidefsky , linux-kernel@vger.kernel.org, torvalds@transmeta.com References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: ; from schwidefsky@de.ibm.com on Wed, Mar 26, 2003 at 05:27:23PM +0100 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 911 Lines: 24 On Wed, Mar 26, 2003 at 05:27:23PM +0100, Martin Schwidefsky wrote: > > > > + typeof (chsc_area_ssd.response_block) > > > + *ssd_res = &chsc_area_ssd.response_block; > > > > Yikes! Please use the actual type here instead of typeof() > Trouble is that response_block is an anonymous structure. There > is not type... Then add one. > > What about using GFP_KERNEL | __GFP_DMA instead? This makes it > > more clear that it's just a qualifier. > Hmm, GFP_DMA and __GFP_DMA are equivalent. I don't quite see your > point here. The __GFP flags are modifiers, the GFP_ flags usually can be used standalone - with the exception of GFP_DMA which shouldn't exist. - 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/