Re: [V2 PATCH 1/3] dmaengine: dmatest: wrap src & dst data into a struct

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 12-02-19, 17:11, Alexandru Ardelean wrote:
> This change wraps the data for the source & destination buffers into a
> `struct dmatest_data`. The rename patterns are:
>  * src_cnt -> src->cnt
>  * dst_cnt -> dst->cnt
>  * src_off -> src->off
>  * dst_off -> dst->off
>  * thread->srcs -> src->aligned
>  * thread->usrcs -> src->raw
>  * thread->dsts -> dst->aligned
>  * thread->udsts -> dst->raw
> 
> The intent is to make a function that moves duplicate parts of the code
> into common alloc & free functions, which will unclutter the
> `dmatest_func()` function.

Applied all 3, thanks
-- 
~Vinod



[Index of Archives]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux PCI]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux