All of lore.kernel.org
 help / color / mirror / Atom feed
* [KJ] [PATCH][22/26] kernel/power/* - fix compile ERROR that stops
@ 2005-02-10 21:34 Stephen Biggs
  2005-02-10 23:11 ` Adrian Bunk
  2005-02-10 23:20 ` Stephen Biggs
  0 siblings, 2 replies; 3+ messages in thread
From: Stephen Biggs @ 2005-02-10 21:34 UTC (permalink / raw)
  To: kernel-janitors

[-- Attachment #1: Mail message body --]
[-- Type: text/plain, Size: 1367 bytes --]

Description: Error in Andrew Morton's 2.6.11-rc3-mm that causes my GCC to 
error out due to no static inline function body before call of that 
function

Signed-off-by: Stephen Biggs <yrgrknmxpzlk@gawab.com>

diff -Nurdp -X dontdiff-osdl linux-2.6.11-rc3-mm-original/kernel/power/swsusp.c linux-2.6.11-rc3-mm/kernel/power/swsusp.c
--- linux-2.6.11-rc3-mm-original/kernel/power/swsusp.c	2005-02-10 00:19:13.000000000 +0200
+++ linux-2.6.11-rc3-mm/kernel/power/swsusp.c	2005-02-07 12:42:09.000000000 +0200
@@ -605,7 +605,20 @@ static int calc_nr(int nr_copy)
 	return nr_copy;
 }
 
-static inline void free_pagedir(struct pbe *pblist);
+/**
+ *	free_pagedir - free pages allocated with alloc_pagedir()
+ */
+
+static inline void free_pagedir(struct pbe *pblist)
+{
+	struct pbe *pbe;
+
+	while (pblist) {
+		pbe = pblist + PB_PAGE_SKIP;
+		pblist = pbe->next;
+		free_page((unsigned long)pblist);
+	}
+}
 
 /**
  *	alloc_pagedir - Allocate the page directory.
@@ -651,21 +664,6 @@ static struct pbe * alloc_pagedir(unsign
 }
 
 /**
- *	free_pagedir - free pages allocated with alloc_pagedir()
- */
-
-static inline void free_pagedir(struct pbe *pblist)
-{
-	struct pbe *pbe;
-
-	while (pblist) {
-		pbe = pblist + PB_PAGE_SKIP;
-		pblist = pbe->next;
-		free_page((unsigned long)pblist);
-	}
-}
-
-/**
  *	free_image_pages - Free pages allocated for snapshot
  */
 




[-- Attachment #2: Type: text/plain, Size: 167 bytes --]

_______________________________________________
Kernel-janitors mailing list
Kernel-janitors@lists.osdl.org
http://lists.osdl.org/mailman/listinfo/kernel-janitors

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [KJ] [PATCH][22/26] kernel/power/* - fix compile ERROR that stops
  2005-02-10 21:34 [KJ] [PATCH][22/26] kernel/power/* - fix compile ERROR that stops Stephen Biggs
@ 2005-02-10 23:11 ` Adrian Bunk
  2005-02-10 23:20 ` Stephen Biggs
  1 sibling, 0 replies; 3+ messages in thread
From: Adrian Bunk @ 2005-02-10 23:11 UTC (permalink / raw)
  To: kernel-janitors

[-- Attachment #1: Type: text/plain, Size: 607 bytes --]

On Thu, Feb 10, 2005 at 11:34:27PM +0200, Stephen Biggs wrote:
Content-Description: Mail message body
> Description: Error in Andrew Morton's 2.6.11-rc3-mm that causes my GCC to 
> error out due to no static inline function body before call of that 
> function
>...

You should better say 2.6.11-rc3-mm1 since the fix is already in 
2.6.11-rc3-mm2.

cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed


[-- Attachment #2: Type: text/plain, Size: 167 bytes --]

_______________________________________________
Kernel-janitors mailing list
Kernel-janitors@lists.osdl.org
http://lists.osdl.org/mailman/listinfo/kernel-janitors

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [KJ] [PATCH][22/26] kernel/power/* - fix compile ERROR that stops
  2005-02-10 21:34 [KJ] [PATCH][22/26] kernel/power/* - fix compile ERROR that stops Stephen Biggs
  2005-02-10 23:11 ` Adrian Bunk
@ 2005-02-10 23:20 ` Stephen Biggs
  1 sibling, 0 replies; 3+ messages in thread
From: Stephen Biggs @ 2005-02-10 23:20 UTC (permalink / raw)
  To: kernel-janitors

[-- Attachment #1: Mail message body --]
[-- Type: text/plain, Size: 780 bytes --]

On 11 Feb 2005 at 0:11, Adrian Bunk wrote:

> On Thu, Feb 10, 2005 at 11:34:27PM +0200, Stephen Biggs wrote:
> Content-Description: Mail message body
> > Description: Error in Andrew Morton's 2.6.11-rc3-mm that causes my GCC to 
> > error out due to no static inline function body before call of that 
> > function
> >...
> 
> You should better say 2.6.11-rc3-mm1 since the fix is already in 
> 2.6.11-rc3-mm2.

Yes, thank you.  My mistake; I should have checked this better.  My 
apologies.

> 
> cu
> Adrian
> 
> -- 
> 
>        "Is there not promise of rain?" Ling Tan asked suddenly out
>         of the darkness. There had been need of rain for many days.
>        "Only a promise," Lao Er said.
>                                        Pearl S. Buck - Dragon Seed
> 
> 





[-- Attachment #2: Type: text/plain, Size: 167 bytes --]

_______________________________________________
Kernel-janitors mailing list
Kernel-janitors@lists.osdl.org
http://lists.osdl.org/mailman/listinfo/kernel-janitors

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-02-10 23:20 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-02-10 21:34 [KJ] [PATCH][22/26] kernel/power/* - fix compile ERROR that stops Stephen Biggs
2005-02-10 23:11 ` Adrian Bunk
2005-02-10 23:20 ` Stephen Biggs

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.