]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit - drivers/dma/ste_dma40.c
dmaengine: ste_dma40: Cleanup scatterlist layering violations
authorLogan Gunthorpe <logang@deltatee.com>
Tue, 30 May 2017 22:39:17 +0000 (16:39 -0600)
committerVinod Koul <vinod.koul@intel.com>
Thu, 1 Jun 2017 16:39:12 +0000 (22:09 +0530)
commit838b56adab18040657ec40322fd01d6ebf312ee7
treef7199170ab7ffe8b2e243eb07dab12c83562b784
parentce81801372313805aa649ea18d27b2fb5f6c16b5
dmaengine: ste_dma40: Cleanup scatterlist layering violations

This dma engine driver directly accesses page_link assuming knowledge
that should be contained only in scatterlist.h.

We replace this access with a call to sg_chain which is equivalent.

Signed-off-by: Logan Gunthorpe <logang@deltatee.com>
Signed-off-by: Stephen Bates <sbates@raithlin.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Cc: Dan Williams <dan.j.williams@intel.com>
Cc: Vinod Koul <vinod.koul@intel.com>
Cc: Per Förlin <per.forlin@axis.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/ste_dma40.c