[PATCH v2 0/1] dma-mapping: to avoid oops when parameter cpu_addr is null

From: Zhen Lei
Date: Wed Mar 09 2016 - 04:31:15 EST


Changelog:
v1 -> v2:
1. move the check of (!cpu_addr) into dma_free_attrs.
2. add patch description(oops printed information)

Zhen Lei (1):
dma-mapping: to avoid oops when parameter cpu_addr is null

include/linux/dma-mapping.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

--
2.5.0