Re: 2.6.13-rc2-mm1

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <[email protected]>

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;

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]
  Powered by Linux