[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20190726193433.12000-1-nicoleotsuka@gmail.com>
Date: Fri, 26 Jul 2019 12:34:31 -0700
From: Nicolin Chen <nicoleotsuka@...il.com>
To: dafna.hirschfeld@...labora.com, hch@....de,
m.szyprowski@...sung.com, robin.murphy@....com
Cc: iommu@...ts.linux-foundation.org, linux-kernel@...r.kernel.org
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.
Changlog
v1->v2:
* 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(-)
--
2.17.1
Powered by blists - more mailing lists