svn commit: r184605 - head/sys/dev/usb

Joerg Sonnenberger joerg at britannica.bec.de
Mon Nov 3 14:57:07 PST 2008


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


More information about the svn-src-all mailing list