From: akpm@osdl.org
To: davem@davemloft.net
Cc: netdev@vger.kernel.org, akpm@osdl.org, bunk@stusta.de
Subject: [patch 4/5] drivers/dma/iovlock.c: make num_pages_spanned() static
Date: Fri, 30 Jun 2006 02:27:22 -0700 [thread overview]
Message-ID: <200606300927.k5U9RMob001465@shell0.pdx.osdl.net> (raw)
From: Adrian Bunk <bunk@stusta.de>
This patch makes the needlessly global num_pages_spanned() static.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
---
drivers/dma/iovlock.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff -puN drivers/dma/iovlock.c~drivers-dma-iovlockc-make-num_pages_spanned-static drivers/dma/iovlock.c
--- a/drivers/dma/iovlock.c~drivers-dma-iovlockc-make-num_pages_spanned-static
+++ a/drivers/dma/iovlock.c
@@ -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) -
_
next reply other threads:[~2006-06-30 9:49 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-06-30 9:27 akpm [this message]
2006-07-04 2:27 ` [patch 4/5] drivers/dma/iovlock.c: make num_pages_spanned() static David Miller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200606300927.k5U9RMob001465@shell0.pdx.osdl.net \
--to=akpm@osdl.org \
--cc=bunk@stusta.de \
--cc=davem@davemloft.net \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox