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
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1314079058-24601-1-git-send-email-boojin.kim@samsung.com>
Date:	Tue, 23 Aug 2011 14:57:38 +0900
From:	Boojin Kim <boojin.kim@...sung.com>
To:	linux-kernel@...r.kernel.org
Cc:	Vinod Koul <vinod.koul@...el.com>,
	Kukjin Kim <kgene.kim@...sung.com>,
	Boojin Kim <boojin.kim@...sung.com>
Subject: [PATCH] DMA: PL330: add missing header

This patch fixup below build error

drivers/dma/pl330.c: In function 'pl330_prep_slave_sg':
drivers/dma/pl330.c:603: error: implicit declaration of function 'for_each_sg'
drivers/dma/pl330.c:603: error: expected ';' before '{' token
drivers/dma/pl330.c:581: warning: unused variable 'flags'
drivers/dma/pl330.c: In function 'pl330_probe':
drivers/dma/pl330.c:720: warning: comparison of distinct pointer types lacks a cast
make[2]: *** [drivers/dma/pl330.o] Error 1

Signed-off-by: Boojin Kim <boojin.kim@...sung.com>
---
 drivers/dma/pl330.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/drivers/dma/pl330.c b/drivers/dma/pl330.c
index 00eee59..fcad90c 100644
--- a/drivers/dma/pl330.c
+++ b/drivers/dma/pl330.c
@@ -17,6 +17,7 @@
 #include <linux/interrupt.h>
 #include <linux/amba/bus.h>
 #include <linux/amba/pl330.h>
+#include <linux/scatterlist.h>
 
 #define NR_DEFAULT_DESC	16
 
-- 
1.7.1

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ