]> git.baikalelectronics.ru Git - kernel.git/commit
staging: ccree: fix 64 bit scatter/gather DMA ops
authorGilad Ben-Yossef <gilad@benyossef.com>
Mon, 30 Oct 2017 13:38:03 +0000 (13:38 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 2 Nov 2017 10:39:44 +0000 (11:39 +0100)
commit3d6ea4b6db38f3c870e0628ad1a506669a476e46
treed5120e155f2aeff759a717aae196848a9bc2957f
parent8e268c04fd95ecd9d9ad0fef3877bf54c0aed030
staging: ccree: fix 64 bit scatter/gather DMA ops

Fix a wrong offset used in splitting a 64 DMA address to MSB/LSB
parts needed for scatter/gather HW descriptors causing operations
relying on them to fail on 64 bit platforms.

Fixes: 51f434a3b140 ("staging: ccree: refactor LLI access macros")
Reported-by: Stuart Yoder <stuart.yoder@arm.com>
Signed-off-by: Gilad Ben-Yossef <gilad@benyossef.com>
Cc: stable@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/ccree/cc_lli_defs.h