From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from relay.sgi.com (relay2.corp.sgi.com [137.38.102.29]) by oss.sgi.com (Postfix) with ESMTP id AE2C37F3F for ; Fri, 25 Oct 2013 10:06:13 -0500 (CDT) Date: Fri, 25 Oct 2013 10:06:09 -0500 From: Ben Myers Subject: Re: [PATCH v2] xfs:xfs_dir2_node.c: pointer use before check for null Message-ID: <20131025150609.GB10553@sgi.com> References: <20131022203322.GA2797@dastard> <1382702005-32245-1-git-send-email-yefremov.denis@gmail.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1382702005-32245-1-git-send-email-yefremov.denis@gmail.com> List-Id: XFS Filesystem from SGI List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: xfs-bounces@oss.sgi.com Sender: xfs-bounces@oss.sgi.com To: Denis Efremov Cc: ldv-project@linuxtesting.org, Alex Elder , linux-kernel@vger.kernel.org, xfs@oss.sgi.com On Fri, Oct 25, 2013 at 03:53:25PM +0400, Denis Efremov wrote: > ASSERT on args takes place after args dereference. > This assertion is redundant since we are going to panic anyway. > > Found by Linux Driver Verification project (linuxtesting.org) - > PVS-Studio analyzer. > > Signed-off-by: Denis Efremov Looks good. Reviewed-by: Ben Myers _______________________________________________ xfs mailing list xfs@oss.sgi.com http://oss.sgi.com/mailman/listinfo/xfs