Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S268370AbUI2Nbo (ORCPT ); Wed, 29 Sep 2004 09:31:44 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S268372AbUI2Nbn (ORCPT ); Wed, 29 Sep 2004 09:31:43 -0400 Received: from imladris.demon.co.uk ([193.237.130.41]:35844 "EHLO phoenix.infradead.org") by vger.kernel.org with ESMTP id S268370AbUI2Nbk (ORCPT ); Wed, 29 Sep 2004 09:31:40 -0400 Date: Wed, 29 Sep 2004 14:31:29 +0100 From: Christoph Hellwig To: Keith Whitwell Cc: Christoph Hellwig , Jon Smirl , dri-devel , Xserver development , lkml Subject: Re: New DRM driver model - gets rid of DRM() macros! Message-ID: <20040929143129.A12651@infradead.org> Mail-Followup-To: Christoph Hellwig , Keith Whitwell , Jon Smirl , dri-devel , Xserver development , lkml References: <9e4733910409280854651581e2@mail.gmail.com> <20040929133759.A11891@infradead.org> <415AB8B4.4090408@tungstengraphics.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.2.5.1i In-Reply-To: <415AB8B4.4090408@tungstengraphics.com>; from keith@tungstengraphics.com on Wed, Sep 29, 2004 at 02:29:24PM +0100 X-SRS-Rewrite: SMTP reverse-path rewritten from by phoenix.infradead.org See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 760 Lines: 19 On Wed, Sep 29, 2004 at 02:29:24PM +0100, Keith Whitwell wrote: > Christoph Hellwig wrote: > > > - drm_flush is a noop. a NULL ->flush does the same thing, just easier > > - dito or ->poll > > - dito for ->read > > Pretty sure you couldn't get away with null for these in 2.4, at least. Umm, of course you could. There's only a hanfull instance defining a ->flush at all. Similarly all file_ops for regular files and many char devices don't have ->poll. no ->read is pretty rare but 2.4 ch?cks it aswell. - 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/