From owner-svn-src-all@FreeBSD.ORG Mon Nov 3 17:36:31 2008 Return-Path: Delivered-To: svn-src-all@FreeBSD.org Received: from [127.0.0.1] (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by hub.freebsd.org (Postfix) with ESMTP id 41A92106564A; Mon, 3 Nov 2008 17:36:31 +0000 (UTC) (envelope-from jkim@FreeBSD.org) From: Jung-uk Kim To: Alexander Motin Date: Mon, 3 Nov 2008 12:36:15 -0500 User-Agent: KMail/1.6.2 References: <200811021250.mA2CoGs1038957@svn.freebsd.org> <490F21FC.1020508@FreeBSD.org> <200811031226.46956.jkim@FreeBSD.org> In-Reply-To: <200811031226.46956.jkim@FreeBSD.org> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200811031236.18143.jkim@FreeBSD.org> Cc: svn-src-head@FreeBSD.org, svn-src-all@FreeBSD.org, src-committers@FreeBSD.org Subject: Re: svn commit: r184558 - head/sys/dev/acpica/Osd X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Nov 2008 17:36:31 -0000 On Monday 03 November 2008 12:26 pm, Jung-uk Kim wrote: > On top of that: > > /* Returning 0 is not allowed. */ > return (curthread->td_tid + 1); > > may actually return 0 because it can be INT_MAX. :-) Sorry, it was just my stupidity. I meant td_tid itself cannot be 0, so + 1 should be removed. :-( Jung-uk Kim