Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Nov 2008 23:54:53 +0100
From:      Joerg Sonnenberger <joerg@britannica.bec.de>
To:        svn-src-all@freebsd.org
Subject:   Re: svn commit: r184605 - head/sys/dev/usb
Message-ID:  <20081103225453.GA1509@britannica.bec.de>
In-Reply-To: <490F800E.9080201@gmx.de>
References:  <200811032209.mA3M9RhK077380@svn.freebsd.org> <490F800E.9080201@gmx.de>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20081103225453.GA1509>