From owner-cvs-src@FreeBSD.ORG Sat Jun 11 03:21:21 2005 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 142CB16A41C; Sat, 11 Jun 2005 03:21:21 +0000 (GMT) (envelope-from marcel@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id D0B2543D48; Sat, 11 Jun 2005 03:21:20 +0000 (GMT) (envelope-from marcel@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id j5B3LKDg025444; Sat, 11 Jun 2005 03:21:20 GMT (envelope-from marcel@repoman.freebsd.org) Received: (from marcel@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j5B3LKi2025443; Sat, 11 Jun 2005 03:21:20 GMT (envelope-from marcel) Message-Id: <200506110321.j5B3LKi2025443@repoman.freebsd.org> From: Marcel Moolenaar Date: Sat, 11 Jun 2005 03:21:20 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/dev/ata ata-raid.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 11 Jun 2005 03:21:21 -0000 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