lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Sat, 16 Nov 2013 12:01:47 +0530
From:	Vinod Koul <vinod.koul@...el.com>
To:	Stephen Rothwell <sfr@...b.auug.org.au>
Cc:	Dan Williams <dan.j.williams@...el.com>,
	linux-next@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: linux-next: manual merge of the dmaengine tree with the
 slave-dma tree

On Fri, Nov 15, 2013 at 12:56:04PM +1100, Stephen Rothwell wrote:
> Hi Dan,
> 
> Today's linux-next merge of the dmaengine tree got a conflict in
> drivers/dma/dmatest.c between commit 19e9f99f273b ("dmaengine: dmatest:
> use DMA_COMPLETE for dma completion status") from the slave-dma tree and
> commit 872f05c6e9a3 ("dmatest: replace stored results mechanism, with
> uniform messages") from the dmaengine tree.
> 
> I fixed it up (see below) and can carry the fix as necessary (no action
> is required).
Thanks, we are sending single PULL to linus so I am merging Dan's tree to mine
so this should vanish

--
~Vinod
> 
> -- 
> Cheers,
> Stephen Rothwell                    sfr@...b.auug.org.au
> 
> diff --cc drivers/dma/dmatest.c
> index 59e287f56dfc,329b7cf02f8e..000000000000
> --- a/drivers/dma/dmatest.c
> +++ b/drivers/dma/dmatest.c
> @@@ -735,17 -633,17 +633,17 @@@ static int dmatest_func(void *data
>   			 * free it this time?" dancing.  For now, just
>   			 * leave it dangling.
>   			 */
> - 			thread_result_add(info, result, DMATEST_ET_TIMEOUT,
> - 					  total_tests, src_off, dst_off,
> - 					  len, 0);
> + 			dmaengine_unmap_put(um);
> + 			result("test timed out", total_tests, src_off, dst_off,
> + 			       len, 0);
>   			failed_tests++;
>   			continue;
>  -		} else if (status != DMA_SUCCESS) {
>  +		} else if (status != DMA_COMPLETE) {
> - 			enum dmatest_error_type type = (status == DMA_ERROR) ?
> - 				DMATEST_ET_DMA_ERROR : DMATEST_ET_DMA_IN_PROGRESS;
> - 			thread_result_add(info, result, type,
> - 					  total_tests, src_off, dst_off,
> - 					  len, status);
> + 			dmaengine_unmap_put(um);
> + 			result(status == DMA_ERROR ?
> + 			       "completion error status" :
> + 			       "completion busy status", total_tests, src_off,
> + 			       dst_off, len, ret);
>   			failed_tests++;
>   			continue;
>   		}



-- 

Download attachment "signature.asc" of type "application/pgp-signature" (837 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ