From owner-cvs-all Thu Feb 27 1: 2:38 2003 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BD12F37B401; Thu, 27 Feb 2003 01:02:36 -0800 (PST) Received: from mailhub.fokus.gmd.de (mailhub.fokus.gmd.de [193.174.154.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0504743F3F; Thu, 27 Feb 2003 01:02:35 -0800 (PST) (envelope-from brandt@fokus.fraunhofer.de) Received: from beagle (beagle [193.175.132.100]) by mailhub.fokus.gmd.de (8.11.6/8.11.6) with ESMTP id h1R92Xl06038; Thu, 27 Feb 2003 10:02:33 +0100 (MET) Date: Thu, 27 Feb 2003 10:02:33 +0100 (CET) From: Harti Brandt X-X-Sender: hbb@beagle.fokus.gmd.de To: Hartmut Brandt Cc: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/dev/hea eni_buffer.c In-Reply-To: <200302270856.h1R8uf42061889@repoman.freebsd.org> Message-ID: <20030227100123.J83332@beagle.fokus.gmd.de> References: <200302270856.h1R8uf42061889@repoman.freebsd.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, 27 Feb 2003, Hartmut Brandt wrote: HB>harti 2003/02/27 00:56:41 PST HB> HB> Modified files: HB> sys/dev/hea eni_buffer.c HB> Log: HB> When we have found a chunk of memory that is large enough and have computed HB> a correctly aligned address in this block we really want to check, that the HB> part of the chunk that starts at the aligned address is large enough with HB> regard to the original request. Comparing it to 0 makes no sense, because this HB> is always true except in the rare case, that the aligned address is just at HB> the end of the chunk. HB> HB> Approved by: jake (mentor) HB> HB> Revision Changes Path HB> 1.16 +1 -1 src/sys/dev/hea/eni_buffer.c HB> Ups, forgot Reviewed by: atm@freebsd.org harti -- harti brandt, http://www.fokus.gmd.de/research/cc/cats/employees/hartmut.brandt/private brandt@fokus.fraunhofer.de, harti@freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message