Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751880AbdI1Hnz (ORCPT ); Thu, 28 Sep 2017 03:43:55 -0400 Received: from mga01.intel.com ([192.55.52.88]:60381 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750943AbdI1Hnx (ORCPT ); Thu, 28 Sep 2017 03:43:53 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.42,449,1500966000"; d="scan'208";a="156459743" Date: Thu, 28 Sep 2017 13:17:50 +0530 From: Vinod Koul To: Alexander Kochetkov Cc: Marek Szyprowski , Krzysztof Kozlowski , Dan Williams , dmaengine@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] dmaengine: pl330: fix descriptor allocation fail Message-ID: <20170928074750.GZ30097@localhost> References: <1504864826-14202-1-git-send-email-al.kochet@gmail.com> <20170926173741.GT30097@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1144 Lines: 35 On Tue, Sep 26, 2017 at 09:03:50PM +0300, Alexander Kochetkov wrote: > Hello Vinod! Thanks for review! > > > 26 сент. 2017 г., в 20:37, Vinod Koul написал(а): > > > > Tested-by please... > > In order to test the patch the driver should be rebuild with NR_DEFAULT_DESC defined to 1 > and with some trace code included. Is it OK if I provide second patch I used for testing > with trace showing how change work? > > > one more wrapper why, we dont have any logic here! > The idea was to keep rest of driver code intact. Ok, I’ll send v2 with no wrappers. > > > right justifed please > > > Some functions has two tabs on second line, some has alignment to beginning of > argument declaration. How correct? > > 1) or like this (two tabs) > static int add_desc(struct list_head *pool, spinlock_t *lock, > gfp_t flg, int count) > > 2) Like this: > static int add_desc(struct list_head *pool, spinlock_t *lock, > gfp_t flg, int count) Second one with one more tab :) See Section 2 Breaking long lines and strings in Documentation/process/coding-style.rst -- ~Vinod