Re: svn commit: r216954 - head/sys/kern

2011-01-06 Thread Julian Elischer
On 1/5/11 11:39 AM, Bruce Evans wrote: On Wed, 5 Jan 2011, John Baldwin wrote: On Wednesday, January 05, 2011 11:17:20 am Jaakko Heinonen wrote: On 2011-01-04, John Baldwin wrote: Err, no, the point of NOTREACHED is to serve as documentation for lint(1), but that has subsequently been

Re: svn commit: r216954 - head/sys/kern

2011-01-06 Thread Bruce Evans
On Thu, 6 Jan 2011, Julian Elischer wrote: On 1/5/11 11:39 AM, Bruce Evans wrote: On Wed, 5 Jan 2011, John Baldwin wrote: On Wednesday, January 05, 2011 11:17:20 am Jaakko Heinonen wrote: On 2011-01-04, John Baldwin wrote: Err, no, the point of NOTREACHED is to serve as documentation for

Re: svn commit: r216954 - head/sys/kern

2011-01-05 Thread Jaakko Heinonen
On 2011-01-04, John Baldwin wrote: Err, no, the point of NOTREACHED is to serve as documentation for lint(1), but that has subsequently been obsoleted by __dead2. style(9) is out of date then? -- Jaakko ___ svn-src-head@freebsd.org mailing list

Re: svn commit: r216954 - head/sys/kern

2011-01-05 Thread John Baldwin
On Wednesday, January 05, 2011 11:17:20 am Jaakko Heinonen wrote: On 2011-01-04, John Baldwin wrote: Err, no, the point of NOTREACHED is to serve as documentation for lint(1), but that has subsequently been obsoleted by __dead2. style(9) is out of date then? According to bde@'s most

Re: svn commit: r216954 - head/sys/kern

2011-01-05 Thread Bruce Evans
On Wed, 5 Jan 2011, John Baldwin wrote: On Wednesday, January 05, 2011 11:17:20 am Jaakko Heinonen wrote: On 2011-01-04, John Baldwin wrote: Err, no, the point of NOTREACHED is to serve as documentation for lint(1), but that has subsequently been obsoleted by __dead2. style(9) is out of

Re: svn commit: r216954 - head/sys/kern

2011-01-04 Thread Julian Elischer
On 1/4/11 5:16 AM, John Baldwin wrote: Author: jhb Date: Tue Jan 4 13:16:28 2011 New Revision: 216954 URL: http://svn.freebsd.org/changeset/base/216954 Log: kproc_exit() is already marked __dead2 so a NOTREACHED comment here isn't needed for lint. yes but it IS good documentation when

Re: svn commit: r216954 - head/sys/kern

2011-01-04 Thread Bruce Cran
On Tue, 04 Jan 2011 09:00:12 -0800 Julian Elischer jul...@freebsd.org wrote: On 1/4/11 5:16 AM, John Baldwin wrote: kproc_exit() is already marked __dead2 so a NOTREACHED comment here isn't needed for lint. yes but it IS good documentation when reading the code. Shouldn't people know

Re: svn commit: r216954 - head/sys/kern

2011-01-04 Thread John Baldwin
On Tuesday, January 04, 2011 12:00:12 pm Julian Elischer wrote: On 1/4/11 5:16 AM, John Baldwin wrote: Author: jhb Date: Tue Jan 4 13:16:28 2011 New Revision: 216954 URL: http://svn.freebsd.org/changeset/base/216954 Log: kproc_exit() is already marked __dead2 so a NOTREACHED