From owner-freebsd-i386@FreeBSD.ORG Sun Dec 30 20:50:01 2007 Return-Path: Delivered-To: freebsd-i386@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9F91816A41A for ; Sun, 30 Dec 2007 20:50:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 7D63313C4E5 for ; Sun, 30 Dec 2007 20:50:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id lBUKo17M094835 for ; Sun, 30 Dec 2007 20:50:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id lBUKo1Ng094834; Sun, 30 Dec 2007 20:50:01 GMT (envelope-from gnats) Resent-Date: Sun, 30 Dec 2007 20:50:01 GMT Resent-Message-Id: <200712302050.lBUKo1Ng094834@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-i386@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Dan Lukes Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7696916A418 for ; Sun, 30 Dec 2007 20:49:36 +0000 (UTC) (envelope-from dan@kulesh.obluda.cz) Received: from smtp1.kolej.mff.cuni.cz (smtp1.kolej.mff.cuni.cz [78.128.192.10]) by mx1.freebsd.org (Postfix) with ESMTP id 0896913C4D3 for ; Sun, 30 Dec 2007 20:49:35 +0000 (UTC) (envelope-from dan@kulesh.obluda.cz) Received: from kulesh.obluda.cz (openvpn.ms.mff.cuni.cz [195.113.20.87]) by smtp1.kolej.mff.cuni.cz (8.13.8/8.13.8) with ESMTP id lBUKnJqm027679 for ; Sun, 30 Dec 2007 21:49:21 +0100 (CET) (envelope-from dan@kulesh.obluda.cz) Received: from kulesh.obluda.cz (localhost. [127.0.0.1]) by kulesh.obluda.cz (8.14.2/8.14.2) with ESMTP id lBUKmvFA044264 for ; Sun, 30 Dec 2007 21:48:57 +0100 (CET) (envelope-from dan@kulesh.obluda.cz) Received: (from root@localhost) by kulesh.obluda.cz (8.14.2/8.14.1/Submit) id lBUKmvPu044263; Sun, 30 Dec 2007 21:48:57 +0100 (CET) (envelope-from dan) Message-Id: <200712302048.lBUKmvPu044263@kulesh.obluda.cz> Date: Sun, 30 Dec 2007 21:48:57 +0100 (CET) From: Dan Lukes To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: i386/119175: Typo in bus_dmamem_alloc() X-BeenThere: freebsd-i386@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Dan Lukes List-Id: I386-specific issues for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Dec 2007 20:50:01 -0000 >Number: 119175 >Category: i386 >Synopsis: Typo in bus_dmamem_alloc() >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-i386 >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Dec 30 20:50:00 UTC 2007 >Closed-Date: >Last-Modified: >Originator: Dan Lukes >Release: FreeBSD 6.3-PRERELEASE i386 >Organization: Obludarium >Environment: src/sys/i386/i386/busdma_machdep.c,v 1.74.2.5 2007/05/02 18:48:1 but it apply to HEAD's version as well >Description: KTR record ENOMEM error message even if bus_dmamem_alloc() succesfull >How-To-Repeat: >Fix: --- sys/i386/i386/busdma_machdep.c.ORIG 2007-12-30 21:35:48.000000000 +0100 +++ sys/i386/i386/busdma_machdep.c 2007-12-30 21:37:40.000000000 +0100 @@ -529,8 +529,8 @@ if (flags & BUS_DMA_NOCACHE) pmap_change_attr((vm_offset_t)*vaddr, dmat->maxsize, PAT_UNCACHEABLE); - CTR4(KTR_BUSDMA, "%s: tag %p tag flags 0x%x error %d", - __func__, dmat, dmat->flags, ENOMEM); + CTR3(KTR_BUSDMA, "%s: tag %p tag flags 0x%x", + __func__, dmat, dmat->flags); return (0); } >Release-Note: >Audit-Trail: >Unformatted: