summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/megaraid.c
diff options
context:
space:
mode:
authorRuchika Gupta <ruchika.gupta@freescale.com>2014-06-23 19:50:26 +0530
committerHerbert Xu <herbert@gondor.apana.org.au>2014-06-25 21:38:41 +0800
commit1da2be33ad4c30a2b1d5fe3053b5b7f63e6e2baa (patch)
treeae35138a3ce41c356e893589cce3720a6ee0bc5c /drivers/scsi/megaraid.c
parentef94b1d834aace7101de77c3a7c2631b9ae9c5f6 (diff)
crypto: caam - Correct the dma mapping for sg table
At few places in caamhash and caamalg, after allocating a dmable buffer for sg table , the buffer was being modified. As per definition of DMA_FROM_DEVICE ,afer allocation the memory should be treated as read-only by the driver. This patch shifts the allocation of dmable buffer for sg table after it is populated by the driver, making it read-only as per the DMA API's requirement. Signed-off-by: Ruchika Gupta <ruchika.gupta@freescale.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/scsi/megaraid.c')
0 files changed, 0 insertions, 0 deletions