From owner-svn-src-all@FreeBSD.ORG Mon Nov 3 22:57:07 2008 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C40CE1065678 for ; Mon, 3 Nov 2008 22:57:07 +0000 (UTC) (envelope-from joerg@britannica.bec.de) Received: from www.sonnenberger.org (www.ostsee-abc.de [62.206.222.50]) by mx1.freebsd.org (Postfix) with ESMTP id 836088FC17 for ; Mon, 3 Nov 2008 22:57:07 +0000 (UTC) (envelope-from joerg@britannica.bec.de) Received: from britannica.bec.de (localhost [IPv6:::1]) by www.sonnenberger.org (Postfix) with ESMTP id 83BFD6E788 for ; Mon, 3 Nov 2008 23:57:01 +0100 (CET) Received: by britannica.bec.de (Postfix, from userid 1000) id CC2A893BF8; Mon, 3 Nov 2008 23:54:53 +0100 (CET) Date: Mon, 3 Nov 2008 23:54:53 +0100 From: Joerg Sonnenberger To: svn-src-all@freebsd.org Message-ID: <20081103225453.GA1509@britannica.bec.de> References: <200811032209.mA3M9RhK077380@svn.freebsd.org> <490F800E.9080201@gmx.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <490F800E.9080201@gmx.de> User-Agent: Mutt/1.5.18 (2008-05-17) Subject: Re: svn commit: r184605 - head/sys/dev/usb 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 22:57:07 -0000 On Mon, Nov 03, 2008 at 11:49:50PM +0100, Christoph Mallon wrote: > You may want to make cmd[] static and/or const, so the compiler really > just puts the bytes in the data section instead of generating code, > which pretty much is the same as the assignments you just removed. I didn't make it const originally as I am not sure if the USB stack will never modify the buffer. Joerg