Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752316AbdFORna (ORCPT ); Thu, 15 Jun 2017 13:43:30 -0400 Received: from mail-lf0-f51.google.com ([209.85.215.51]:36206 "EHLO mail-lf0-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752171AbdFORn1 (ORCPT ); Thu, 15 Jun 2017 13:43:27 -0400 Date: Thu, 15 Jun 2017 19:43:19 +0200 From: Dawid Kurek To: Sean Paul Cc: Daniel Vetter , Jani Nikula , David Airlie , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2] drm: Reduce scope of 'state' variable Message-ID: <20170615174319.GA8422@gmail.com> References: <20170615140436.GA9939@gmail.com> <20170615173139.fawt5c6qyyvr7qwj@art_vandelay> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170615173139.fawt5c6qyyvr7qwj@art_vandelay> User-Agent: Mutt/1.7.1 (2016-10-04) X-Antivirus: Avast (VPS 170615-0, 15/06/2017), Outbound message X-Antivirus-Status: Clean Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 470 Lines: 17 On 15/06/17, Sean Paul wrote: > On Thu, Jun 15, 2017 at 04:04:36PM +0200, Dawid Kurek wrote: > > Smaller scope reduces visibility of variable and makes usage of > > uninitialized variable less possible. > > > > Changes in v2: > > - separate declaration and initialization > > Your patch is missing Signed-off-by tag > Right... Missed it. v3 on the way. Dawid --- This email has been checked for viruses by Avast antivirus software. https://www.avast.com/antivirus