Date: Sat, 11 Jun 2005 03:21:20 +0000 (UTC) From: Marcel Moolenaar <marcel@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/ata ata-raid.c Message-ID: <200506110321.j5B3LKi2025443@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
marcel 2005-06-11 03:21:20 UTC
FreeBSD src repository
Modified files:
sys/dev/ata ata-raid.c
Log:
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.
Applies to: ia64
Tripped over by: tinderbox
Revision Changes Path
1.98 +2 -1 src/sys/dev/ata/ata-raid.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200506110321.j5B3LKi2025443>
