* [PATCH] make ptr_to_pide() static
@ 2008-03-10 11:43 FUJITA Tomonori
2008-03-11 20:00 ` Kyle McMartin
0 siblings, 1 reply; 3+ messages in thread
From: FUJITA Tomonori @ 2008-03-10 11:43 UTC (permalink / raw)
To: linux-parisc; +Cc: kyle
Sorry, I should have made ptr_to_pide() static.
=
From: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Subject: [PATCH] make ptr_to_pide() static
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
---
drivers/parisc/sba_iommu.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/parisc/sba_iommu.c b/drivers/parisc/sba_iommu.c
index e834127..a8b7699 100644
--- a/drivers/parisc/sba_iommu.c
+++ b/drivers/parisc/sba_iommu.c
@@ -314,8 +314,8 @@ sba_dump_sg( struct ioc *ioc, struct scatterlist *startsg, int nents)
#define RESMAP_MASK(n) (~0UL << (BITS_PER_LONG - (n)))
#define RESMAP_IDX_MASK (sizeof(unsigned long) - 1)
-unsigned long ptr_to_pide(struct ioc *ioc, unsigned long *res_ptr,
- unsigned int bitshiftcnt)
+static unsigned long ptr_to_pide(struct ioc *ioc, unsigned long *res_ptr,
+ unsigned int bitshiftcnt)
{
return (((unsigned long)res_ptr - (unsigned long)ioc->res_map) << 3)
+ bitshiftcnt;
--
1.5.3.7
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] make ptr_to_pide() static
2008-03-10 11:43 [PATCH] make ptr_to_pide() static FUJITA Tomonori
@ 2008-03-11 20:00 ` Kyle McMartin
2008-03-11 23:06 ` FUJITA Tomonori
0 siblings, 1 reply; 3+ messages in thread
From: Kyle McMartin @ 2008-03-11 20:00 UTC (permalink / raw)
To: FUJITA Tomonori; +Cc: linux-parisc, kyle, tomof
On Mon, Mar 10, 2008 at 08:43:24PM +0900, FUJITA Tomonori wrote:
> Sorry, I should have made ptr_to_pide() static.
>
np. ack.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] make ptr_to_pide() static
2008-03-11 20:00 ` Kyle McMartin
@ 2008-03-11 23:06 ` FUJITA Tomonori
0 siblings, 0 replies; 3+ messages in thread
From: FUJITA Tomonori @ 2008-03-11 23:06 UTC (permalink / raw)
To: kyle; +Cc: fujita.tomonori, linux-parisc, kyle, tomof
On Tue, 11 Mar 2008 16:00:17 -0400
Kyle McMartin <kyle@mcmartin.ca> wrote:
> On Mon, Mar 10, 2008 at 08:43:24PM +0900, FUJITA Tomonori wrote:
> > Sorry, I should have made ptr_to_pide() static.
> >
>
> np. ack.
Thanks, can you please push this via your git tree?
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-03-11 23:06 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-10 11:43 [PATCH] make ptr_to_pide() static FUJITA Tomonori
2008-03-11 20:00 ` Kyle McMartin
2008-03-11 23:06 ` FUJITA Tomonori
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.