Received: from list by lists.gnu.org with archive (Exim 4.71) id 1fTncv-0007IN-EC for mharc-grub-devel@gnu.org; Fri, 15 Jun 2018 08:14:49 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58058) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fTnct-0007H6-CY for grub-devel@gnu.org; Fri, 15 Jun 2018 08:14:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fTncq-0001xi-6O for grub-devel@gnu.org; Fri, 15 Jun 2018 08:14:47 -0400 Received: from userp2130.oracle.com ([156.151.31.86]:52546) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fTncp-0001wz-SP for grub-devel@gnu.org; Fri, 15 Jun 2018 08:14:44 -0400 Received: from pps.filterd (userp2130.oracle.com [127.0.0.1]) by userp2130.oracle.com (8.16.0.22/8.16.0.22) with SMTP id w5FCDfHq174686; Fri, 15 Jun 2018 12:14:42 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=date : from : to : cc : subject : message-id : references : mime-version : content-type : in-reply-to; s=corp-2017-10-26; bh=8xz4eJWNkh3itgFq3ygfQ3Qat4JrgOHtuWBeP6mtrsw=; b=ZWKJhmhj0ODIQL+jCfg4iD8mzc0EhbczCXLnbGzr73ObgtuEtBvQBPnfKsPynSxvfekB wc21Agixk9MEiSbafWA/xGJmizlKGwatJTZT+STjwOmxwC9IKkN4SSNZ/4m9K/OOnr7S 6HRtJNqyS2WnBCUvbZds8SkBRmA51zv9vHYZsHDb4tqHYcIE0JxqHui+LEkCZY1knJQE gMfox7v8rDYptIq9u/duZ/7mWKs9uIfmq5d+0zxwXOXgal8omiR8Mhd7PCgXnBDeWWDv t8m1zDgPk+alkyAnakDu/2HTmyHeDswqt/tc+WlU5NbGvQ0ojNm9RDEi4kS2uYsR0xmf kg== Received: from userv0021.oracle.com (userv0021.oracle.com [156.151.31.71]) by userp2130.oracle.com with ESMTP id 2jk0xrgu5c-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 15 Jun 2018 12:14:41 +0000 Received: from userv0121.oracle.com (userv0121.oracle.com [156.151.31.72]) by userv0021.oracle.com (8.14.4/8.14.4) with ESMTP id w5FCEfG4019611 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 15 Jun 2018 12:14:41 GMT Received: from abhmp0002.oracle.com (abhmp0002.oracle.com [141.146.116.8]) by userv0121.oracle.com (8.14.4/8.13.8) with ESMTP id w5FCEeSL013169; Fri, 15 Jun 2018 12:14:41 GMT Received: from olila.local.net-space.pl (/10.175.219.132) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Fri, 15 Jun 2018 05:14:40 -0700 Date: Fri, 15 Jun 2018 14:14:36 +0200 From: Daniel Kiper To: John Paul Adrian Glaubitz Cc: Eric Snowberg , grub-devel@gnu.org Subject: Re: [PATCH v2] ieee1275: obdisk driver Message-ID: <20180615121436.GP20016@olila.local.net-space.pl> References: <1527724522-32305-1-git-send-email-eric.snowberg@oracle.com> <20180615120218.GO20016@olila.local.net-space.pl> <1cec6d2c-38cf-7e8f-5e72-fe5e74b2a061@physik.fu-berlin.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1cec6d2c-38cf-7e8f-5e72-fe5e74b2a061@physik.fu-berlin.de> User-Agent: Mutt/1.5.21 (2010-09-15) X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=8924 signatures=668702 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=951 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1805220000 definitions=main-1806150132 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic] [fuzzy] X-Received-From: 156.151.31.86 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Jun 2018 12:14:48 -0000 On Fri, Jun 15, 2018 at 02:05:32PM +0200, John Paul Adrian Glaubitz wrote: > On 06/15/2018 02:02 PM, Daniel Kiper wrote: > >> +static int disks_enumerated = 0; > >> +static struct disk_dev *disk_devs = NULL; > >> +static struct parent_dev *parent_devs = NULL; > > > > I would drop all these 0/NULL initializations. > > Compiler will do work for you. I asked about > > that in earlier comments. > > Not sure about that though. I seem to remember that newer gcc versions > were quite nitpicky about that when building with -Werror and I had > to add a NULL initialization to get it to build. If this is true I am not going to insist. Sadly I have asked about that in the earlier comments and I have not seen any reply WRT nor changes to the code. So, that is why I am repeating my question. Daniel