Skip to contentSkip to conversation

make ptr_to_pide() static

PATCH In review FUJITA Tomonori 2 participants 3 messages Mar 10, 2008 – Mar 11, 2008 PA-RISC architecture

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 make ptr_to_pide() static

Sorry, I should have made ptr_to_pide() static.

=
From: FUJITA Tomonori <[email protected]>
Subject: [PATCH] make ptr_to_pide() static

---
 drivers/parisc/sba_iommu.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
drivers/parisc/sba_iommu.c +2 -2
index e834127..a8b7699 100644
@@ -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;
Signature · 1 line
1.5.3.7
#1 lore raw
Quoted 2 lines · FUJITA Tomonori

Sorry, I should have made ptr_to_pide() static.

np. ack.

#2 lore raw
Quoted 5 lines · On Tue, 11 Mar 2008 16:00:17 -0400 Kyle McMartin <[email protected]> wrote:
Quoted 2 lines · FUJITA Tomonori

Sorry, I should have made ptr_to_pide() static.

np. ack.

Thanks, can you please push this via your git tree?