Re: [PATCH] dmaengine: zxdma: fix memset that is currently doing nothing

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

 



On Thu, Oct 08, 2015 at 06:01:34PM +0100, Colin King wrote:
> From: Colin Ian King <colin.king@xxxxxxxxxxxxx>
> 
> The size and value arguments are swapped in the call to memset
> effectively making it a no-op because of the zero size.  Swap
> these arguments around to do the memset correctly.

Sorry you are late! You should always sync to target tree before generating
a patch

commit 1a492ac2b87b05c8a175478e79d3c74511c74921
Author: Vinod Koul <vinod.koul@xxxxxxxxx>
Date:   Thu Oct 1 07:11:48 2015 +0530

    dmaengine: zxdma: fix memset call
    
    Fix the call to memset in this driver
    [linux-4.2-next-20150911/drivers/dma/zx296702_dma.c:444]: (warning)
    memset() called to fill 0 bytes of 'ds'.
    
    Reported-by: David Binderman <dcb314@xxxxxxxxxxx>
    Signed-off-by: Vinod Koul <vinod.koul@xxxxxxxxx>

-- 
~Vinod
--
To unsubscribe from this list: send the line "unsubscribe dmaengine" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[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