From owner-freebsd-current@FreeBSD.ORG Sat Feb 7 14:48:37 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 79A4716A4CE; Sat, 7 Feb 2004 14:48:37 -0800 (PST) Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id CC95F43D1D; Sat, 7 Feb 2004 14:48:36 -0800 (PST) (envelope-from phk@phk.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.12.10/8.12.10) with ESMTP id i17MmZbj013174; Sat, 7 Feb 2004 23:48:35 +0100 (CET) (envelope-from phk@phk.freebsd.dk) To: Robert Watson From: "Poul-Henning Kamp" In-Reply-To: Your message of "Sat, 07 Feb 2004 13:42:31 EST." Date: Sat, 07 Feb 2004 23:48:35 +0100 Message-ID: <13173.1076194115@critter.freebsd.dk> cc: current@freebsd.org Subject: Re: REVIEW: #define NODEV NULL (kernel only) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Feb 2004 22:48:37 -0000 In message , 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@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.