lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Message-Id: <1513063721-13688-1-git-send-email-venkat.prashanth2498@gmail.com> Date: Tue, 12 Dec 2017 12:58:41 +0530 From: venkat.prashanth2498@...il.com To: vinod.koul@...el.com, dan.j.williams@...el.com Cc: dmaengine@...r.kernel.org, linux-kernel@...r.kernel.org, Venkat Prashanth B U <venkat.prashanth2498@...il.com> Subject: [PATCH v1] DMA:omap-dma:Avoid build error by changing the function name From: Venkat Prashanth B U <venkat.prashanth2498@...il.com> Change the name of the function omap_dma_filter_fn to avoid the following build error in linux kernel version 4.4 : drivers/dma/dma-omap.c:1273:6: error: redefinition of 'omap_dma_filter_fn' Signed-off-by: Venkat Prashanth B U <venkat.prashanth2498@...il.com> Changes for v1: - Edited subject and description of the patch to fit with the change done in the code base, as suggested by Vinod Koul. - In order to avoid issues like backporting on stable the checkpatch.pl issues are dropped as suggested by Vinod Koul. --- drivers/dma/omap-dma.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/dma/omap-dma.c b/drivers/dma/omap-dma.c index 1dfc71c..8545dda 100644 --- a/drivers/dma/omap-dma.c +++ b/drivers/dma/omap-dma.c @@ -1269,7 +1269,7 @@ static struct platform_driver omap_dma_driver = { }, }; -bool omap_dma_filter_fn(struct dma_chan *chan, void *param) +bool omap_dma_filter_func(struct dma_chan *chan, void *param) { if (chan->device->dev->driver == &omap_dma_driver.driver) { struct omap_dmadev *od = to_omap_dma_dev(chan->device); -- 1.9.1
Powered by blists - more mailing lists