lkml.org 
[lkml]   [2005]   [Jul]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: 2.6.13-rc2-mm1
Le 07.07.2005 13:00, Andrew Morton a écrit :
> ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.13-rc2/2.6.13-rc2-mm1/
>
> (kernel.org seems to be stuck again - there's a copy at
> http://www.zip.com.au/~akpm/linux/patches/stuff/2.6.13-rc2-mm1.gz)

CC kernel/power/disk.o
kernel/power/disk.c: Dans la fonction « software_resume »:
kernel/power/disk.c:242: attention : implicit declaration of function
`name_to_dev_t'

The attached patch adds an extern declaration in disk.c as it's
already done in swsusp.c

Signed-off-by: Brice Goglin <Brice.Goglin@ens-lyon.org>

Regards,
Brice
--- linux-mm/kernel/power/disk.c.old 2005-07-07 13:28:52.000000000 +0200
+++ linux-mm/kernel/power/disk.c 2005-07-07 13:30:02.000000000 +0200
@@ -30,6 +30,7 @@ extern void swsusp_close(void);
extern int swsusp_resume(void);
extern int swsusp_free(void);

+extern dev_t name_to_dev_t(const char *line);

static int noresume = 0;
char resume_file[256] = CONFIG_PM_STD_PARTITION;
\
 
 \ /
  Last update: 2005-07-07 13:41    [W:0.085 / U:0.008 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site