* [2.6 patch] drivers/dma/iovlock.c: make num_pages_spanned() static
@ 2006-06-21 21:57 Adrian Bunk
0 siblings, 0 replies; 2+ messages in thread
From: Adrian Bunk @ 2006-06-21 21:57 UTC (permalink / raw)
To: Chris Leech; +Cc: davem, linux-kernel
This patch makes the needlessly global num_pages_spanned() static.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
--- linux-2.6.17-mm1-full/drivers/dma/iovlock.c.old 2006-06-21 22:49:48.000000000 +0200
+++ linux-2.6.17-mm1-full/drivers/dma/iovlock.c 2006-06-21 22:50:01.000000000 +0200
@@ -31,7 +31,7 @@
#include <asm/io.h>
#include <asm/uaccess.h>
-int num_pages_spanned(struct iovec *iov)
+static int num_pages_spanned(struct iovec *iov)
{
return
((PAGE_ALIGN((unsigned long)iov->iov_base + iov->iov_len) -
^ permalink raw reply [flat|nested] 2+ messages in thread* [2.6 patch] drivers/dma/iovlock.c: make num_pages_spanned() static
@ 2006-06-28 16:54 Adrian Bunk
0 siblings, 0 replies; 2+ messages in thread
From: Adrian Bunk @ 2006-06-28 16:54 UTC (permalink / raw)
To: Andrew Morton; +Cc: Chris Leech, davem, linux-kernel
This patch makes the needlessly global num_pages_spanned() static.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
---
This patch was already sent on:
- 21 Jun 2006
--- linux-2.6.17-mm1-full/drivers/dma/iovlock.c.old 2006-06-21 22:49:48.000000000 +0200
+++ linux-2.6.17-mm1-full/drivers/dma/iovlock.c 2006-06-21 22:50:01.000000000 +0200
@@ -31,7 +31,7 @@
#include <asm/io.h>
#include <asm/uaccess.h>
-int num_pages_spanned(struct iovec *iov)
+static int num_pages_spanned(struct iovec *iov)
{
return
((PAGE_ALIGN((unsigned long)iov->iov_base + iov->iov_len) -
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-06-28 16:59 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-21 21:57 [2.6 patch] drivers/dma/iovlock.c: make num_pages_spanned() static Adrian Bunk
-- strict thread matches above, loose matches on Subject: below --
2006-06-28 16:54 Adrian Bunk
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox