Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S969844AbdIZSD4 (ORCPT ); Tue, 26 Sep 2017 14:03:56 -0400 Received: from mail-lf0-f66.google.com ([209.85.215.66]:34508 "EHLO mail-lf0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S966985AbdIZSDx (ORCPT ); Tue, 26 Sep 2017 14:03:53 -0400 X-Google-Smtp-Source: AOwi7QCMVDdIZ0iBLA1VT+K2zmlNM61y57Xqb3nWXfgXeJDJxGYO3SzZiz8vw6ExvNTBijlPeBv5UA== Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Subject: Re: [PATCH] dmaengine: pl330: fix descriptor allocation fail From: Alexander Kochetkov In-Reply-To: <20170926173741.GT30097@localhost> Date: Tue, 26 Sep 2017 21:03:50 +0300 Cc: Marek Szyprowski , Krzysztof Kozlowski , Dan Williams , dmaengine@vger.kernel.org, linux-kernel@vger.kernel.org Message-Id: References: <1504864826-14202-1-git-send-email-al.kochet@gmail.com> <20170926173741.GT30097@localhost> To: Vinod Koul X-Mailer: Apple Mail (2.3124) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by nfs id v8QI44JC003625 Content-Length: 910 Lines: 30 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) Regards, Alexander.