archive mirror
 help / color / mirror / Atom feed
From: Herbert Xu <>
To: Nicolas Iooss <>
Cc: "David S. Miller" <>,,
Subject: Re: [PATCH 1/1] crypto: img-hash - use dma_data_direction when calling dma_map_sg
Date: Mon, 23 Jan 2017 22:58:09 +0800	[thread overview]
Message-ID: <> (raw)
In-Reply-To: <>

On Sun, Jan 15, 2017 at 01:37:50PM +0100, Nicolas Iooss wrote:
> The fourth argument of dma_map_sg() and dma_unmap_sg() is an item of
> dma_data_direction enum. Function img_hash_xmit_dma() wrongly used
> DMA_MEM_TO_DEV, which is an item of dma_transfer_direction enum.
> Replace DMA_MEM_TO_DEV (which value is 1) with DMA_TO_DEVICE (which
> value is fortunately also 1) when calling dma_map_sg() and
> dma_unmap_sg().
> Signed-off-by: Nicolas Iooss <>

Patch applied.  Thanks.
Email: Herbert Xu <>
Home Page:
PGP Key:

      reply	other threads:[~2017-01-23 14:58 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-15 12:37 Nicolas Iooss
2017-01-23 14:58 ` Herbert Xu [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \ \ \ \
    --subject='Re: [PATCH 1/1] crypto: img-hash - use dma_data_direction when calling dma_map_sg' \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).