lkml.org 
[lkml]   [2004]   [Sep]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: New DRM driver model - gets rid of DRM() macros!
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/

\
 
 \ /
  Last update: 2005-03-22 14:06    [from the cache]
©2003-2011 Jasper Spaans