Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1741236

Re: [PATCH] dmaengine: pl330: fix descriptor allocation fail

From Vinod Koul <vinod.koul@intel.com>
Newsgroups linux.kernel
Subject Re: [PATCH] dmaengine: pl330: fix descriptor allocation fail
Date 2017-09-28 09:50 +0200
Message-ID <uuBK2-68e-3@gated-at.bofh.it> (permalink)
References <unoye-5qa-7@gated-at.bofh.it> <uu1ZU-7KQ-13@gated-at.bofh.it> <uu2sV-8cl-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Tue, Sep 26, 2017 at 09:03:50PM +0300, Alexander Kochetkov wrote:
> Hello Vinod! Thanks for review!
> 
> > 26 сент. 2017 г., в 20:37, Vinod Koul <vinod.koul@intel.com> написал(а):
> > 
> > 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

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Re: [PATCH] dmaengine: pl330: fix descriptor allocation fail Vinod Koul <vinod.koul@intel.com> - 2017-09-26 19:40 +0200
  Re: [PATCH] dmaengine: pl330: fix descriptor allocation fail Alexander Kochetkov <al.kochet@gmail.com> - 2017-09-26 20:10 +0200
    Re: [PATCH] dmaengine: pl330: fix descriptor allocation fail Vinod Koul <vinod.koul@intel.com> - 2017-09-28 09:50 +0200

csiph-web