cvs commit: src/sys/dev/ata ata-raid.c
Stefan Farfeleder
stefanf at FreeBSD.org
Sat Jun 11 07:25:43 GMT 2005
On Sat, Jun 11, 2005 at 03:21:20AM +0000, Marcel Moolenaar wrote:
> Avoid GCC optimizations from injecting a call to memset(?) in order
> to initialize the buffer array in ata_raid_attach() by removing the
> initializer. There's no memset(?) in the kernel. Instead, assign
> '\0' to the first element. The buffer array holds strings only, so
> this is functionally equivalent.
Maybe GCC should be taught to generate a bzero call instead?
Stefan
More information about the cvs-src
mailing list