From owner-cvs-src Sun Mar 2 9:39:55 2003 Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E9FCD37B401; Sun, 2 Mar 2003 09:39:53 -0800 (PST) Received: from storm.FreeBSD.org.uk (storm.FreeBSD.org.uk [194.242.157.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0BD6343F93; Sun, 2 Mar 2003 09:39:53 -0800 (PST) (envelope-from mark@grondar.org) Received: from storm.FreeBSD.org.uk (Ugrondar@localhost [127.0.0.1]) by storm.FreeBSD.org.uk (8.12.6/8.12.6) with ESMTP id h22HdqTp035003; Sun, 2 Mar 2003 17:39:52 GMT (envelope-from mark@grondar.org) Received: (from Ugrondar@localhost) by storm.FreeBSD.org.uk (8.12.7/8.12.6/Submit) with UUCP id h22HdqZt035002; Sun, 2 Mar 2003 17:39:52 GMT X-Authentication-Warning: storm.FreeBSD.org.uk: Ugrondar set sender to mark@grondar.org using -f Received: from grondar.org (localhost [127.0.0.1]) by grimreaper.grondar.org (8.12.7/8.12.7) with ESMTP id h22Hb9Ig054078; Sun, 2 Mar 2003 17:37:10 GMT (envelope-from mark@grondar.org) From: Mark Murray Message-Id: <200303021737.h22Hb9Ig054078@grimreaper.grondar.org> To: Dag-Erling Smorgrav Cc: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/fs/procfs procfs_ctl.c In-Reply-To: Your message of "Sun, 02 Mar 2003 17:13:54 +0100." Date: Sun, 02 Mar 2003 17:37:09 +0000 Sender: owner-cvs-src@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Dag-Erling Smorgrav writes: > Mark Murray writes: > > Can't we redefine caddr_t as void* instead? That seems to make a bunch > > more sense for what caddr_t is actually used for. > > No, you'll get a lot of warnings and errors due to caddr_t being used > in pointer arithmetic. I'd rather we got rid of it altogether (as > discussed many times on -arch). I started doing this a year ago but > gave up because I was trying to do too much (mechanically remove it > from the entire tree) and lots of stuff broke. As I discovered in discussing this online, the void* arithmetic is evil can of worms. I'm doing a 180deg turn on this. :-) Damn. This means cleaning out some local diffs :-(. M -- Mark Murray iumop ap!sdn w,I idlaH To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-src" in the body of the message