From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751592AbdBEAaS (ORCPT ); Sat, 4 Feb 2017 19:30:18 -0500 Received: from mail.linuxfoundation.org ([140.211.169.12]:56512 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750955AbdBEAaR (ORCPT ); Sat, 4 Feb 2017 19:30:17 -0500 Date: Sun, 5 Feb 2017 01:29:43 +0100 From: Greg Kroah-Hartman To: AbdAllah-MEZITI Cc: swarren@wwwdotorg.org, devel@driverdev.osuosl.org, Florian Fainelli , Scott Branden , Lee Jones , linux-kernel@vger.kernel.org, Eric Anholt , Michael Zoran , bcm-kernel-feedback-list@broadcom.com, linux-rpi-kernel@lists.infradead.org, Ray Jui , linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH] somedriver: remove the initialization of static pointers. Message-ID: <20170205002943.GA21184@kroah.com> References: <1486237182-4563-1-git-send-email-abdallah.meziti.pro@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1486237182-4563-1-git-send-email-abdallah.meziti.pro@gmail.com> User-Agent: Mutt/1.7.2 (2016-11-26) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Feb 04, 2017 at 08:39:21PM +0100, AbdAllah-MEZITI wrote: > In C a static pointer will be initialized to NULL (e.g: draft C99 standard $6.7.8): > "If an object that has static storage duration is not initialized > explicitly, then: > __ if it has pointer type, it is initialized to a null pointer;" > > Signed-off-by: AbdAllah-MEZITI Your subject is very odd :( And is that the correct spelling of your name that you use for legal documents? If not, please fix up when you resend this. Also, fix the line-wrapping of your changelog, and the C99 standard is not a "draft" anymore, it was released in 1999 :) thanks, greg k-h