[lkml]   [2019]   [Jul]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Subject[PATCH v2 0/2] dma-contiguous: two bug fixes for dma_{alloc,free}_contiguous()
There are two obvious bugs in these two functions. So having
two patches to fix them.

* PATCH-1: Confine cma_align inside the if-condition.
* PATCH-1: Updated commit message to be precise for the corner case.
* PATCH-2: Added Reviewed-by from Christoph.

Nicolin Chen (2):
dma-contiguous: do not overwrite align in dma_alloc_contiguous()
dma-contiguous: page-align the size in dma_free_contiguous()

kernel/dma/contiguous.c | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)


 \ /
  Last update: 2019-07-26 21:35    [W:0.035 / U:9.600 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site