cvs commit: src/sys/dev/ata ata-raid.c

Marcel Moolenaar marcel at FreeBSD.org
Sat Jun 11 03:21:21 GMT 2005


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


More information about the cvs-src mailing list