REVIEW: #define NODEV NULL (kernel only)

Poul-Henning Kamp phk at phk.freebsd.dk
Sat Feb 7 14:48:37 PST 2004


In message <Pine.NEB.3.96L.1040207133959.30022A-100000 at fledge.watson.org>, Robe
rt Watson writes:

>No objections to this patch (which is definitely a good thing), but I am
>worried that letting make_dev() fail might open a can of worms.

Initially (see my pseudo.patch) it will only be allowed to fail for
device drivers which advertise their ability to cope with it.

And that is a property which we should be able to make mandatory
for psudo-device drivers since it typically is a minor change to
their clone function.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


More information about the freebsd-current mailing list