From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S942628AbcJSOgB (ORCPT ); Wed, 19 Oct 2016 10:36:01 -0400 Received: from mga03.intel.com ([134.134.136.65]:62281 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S942606AbcJSOf5 (ORCPT ); Wed, 19 Oct 2016 10:35:57 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.31,514,1473145200"; d="scan'208";a="21655263" Date: Wed, 19 Oct 2016 18:48:12 +0530 From: Vinod Koul To: Colin King Cc: Dan Williams , dmaengine@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] dmaengine: omap-dma: initialize can_pause to false Message-ID: <20161019131812.GL2467@localhost> References: <20161019110553.26168-1-colin.king@canonical.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20161019110553.26168-1-colin.king@canonical.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Oct 19, 2016 at 12:05:53PM +0100, Colin King wrote: > From: Colin Ian King > > can_pause is not initialized so it contains garbage. Fix this > by setting it to false. > > Found using static analysis with cppcheck. It is usuallu helpful to show the warning generated by static tools. Applied, anyway -- ~Vinod