From owner-cvs-all@FreeBSD.ORG Fri Mar 4 06:11:00 2005 Return-Path: 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 7A54816A4CE; Fri, 4 Mar 2005 06:11:00 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4B3A243D55; Fri, 4 Mar 2005 06:11:00 +0000 (GMT) (envelope-from scottl@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id j246B063044677; Fri, 4 Mar 2005 06:11:00 GMT (envelope-from scottl@repoman.freebsd.org) Received: (from scottl@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j246B0sL044676; Fri, 4 Mar 2005 06:11:00 GMT (envelope-from scottl) Message-Id: <200503040611.j246B0sL044676@repoman.freebsd.org> From: Scott Long Date: Fri, 4 Mar 2005 06:11:00 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/dev/amr amr.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Mar 2005 06:11:00 -0000 scottl 2005-03-04 06:11:00 UTC FreeBSD src repository Modified files: sys/dev/amr amr.c Log: Fix the ioctl path by ensuring that amr_start1() gets called for commands with no associated data. Also revert previous changes that allocate off of the stack instead of using malloc, as it's not needed. Many thanks to LSI for investigating and fixing these problems. Submitted by: rajeshpr @ lsil . com Revision Changes Path 1.61 +22 -18 src/sys/dev/amr/amr.c