Re: 2.6.18-rc1-mm1

Cedric Le Goater
2006-07-11T06:00:32Z

Randy.Dunlap wrote:
> On Mon, 10 Jul 2006 22:58:50 -0400 Chuck Ebbert wrote:
>
>> On Sun, 9 Jul 2006 02:11:06 -0700, Andrew morton wrote:
>>
>>> ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.18-rc1/2.6.18-rc1-mm1/
>> Warnings(?) during build:
>>
>> /home/me/linux/2.6.18-rc1-mm1-64/scripts/Kbuild.klibc:315: target `usr/kinit/ipconfig' given more than once in the same rule.
>> /home/me/linux/2.6.18-rc1-mm1-64/scripts/Kbuild.klibc:315: target `usr/kinit/nfsmount' given more than once in the same rule.
>> /home/me/linux/2.6.18-rc1-mm1-64/scripts/Kbuild.klibc:315: target `usr/kinit/run-init' given more than once in the same rule.
>> /home/me/linux/2.6.18-rc1-mm1-64/scripts/Kbuild.klibc:315: target `usr/kinit/fstype' given more than once in the same rule.
>
> Yes, and these:
>
> fs/ecryptfs/main.c:327: warning: format ‘%d’ expects type ‘int’, but argument 3 has type ‘size_t’
> fs/ecryptfs/crypto.c:1599: warning: format ‘%d’ expects type ‘int’, but argument 2 has type ‘size_t’
> fs/ecryptfs/crypto.c:1621: warning: format ‘%d’ expects type ‘int’, but argument 2 has type ‘size_t’
> fs/ecryptfs/crypto.c:1628: warning: format ‘%d’ expects type ‘int’, but argument 2 has type ‘size_t’
> fs/ecryptfs/crypto.c:1635: warning: format ‘%d’ expects type ‘int’, but argument 2 has type ‘size_t’
> fs/ecryptfs/crypto.c:1642: warning: format ‘%d’ expects type ‘int’, but argument 2 has type ‘size_t’
> fs/ecryptfs/crypto.c:1649: warning: format ‘%d’ expects type ‘int’, but argument 2 has type ‘size_t’
> fs/ecryptfs/crypto.c:1656: warning: format ‘%d’ expects type ‘int’, but argument 2 has type ‘size_t’
> drivers/acpi/executer/exmutex.c:268: warning: format ‘%X’ expects type ‘unsigned int’, but argument 4 has type ‘struct task_struct *’
> drivers/acpi/executer/exmutex.c:268: warning: format ‘%X’ expects type ‘unsigned int’, but argument 6 has type ‘struct task_struct *’

and these :

arch/i386/kernel/io_apic.c:2431: warning: 'vector' might be used
uninitialized in this function
drivers/scsi/libata-core.c:3055: warning: unused variable `i'
drivers/acpi/utilities/utmutex.c:260: warning: cast from pointer to integer
of different size
arch/s390/hypfs/inode.c:432: warning: initialization from incompatible
pointer type
arch/s390/hypfs/inode.c:433: warning: initialization from incompatible
pointer type

C.

---
drivers/scsi/libata-core.c | 1 -
1 file changed, 1 deletion(-)

Index: 2.6.18-rc1-mm1/drivers/scsi/libata-core.c
===================================================================
--- 2.6.18-rc1-mm1.orig/drivers/scsi/libata-core.c
+++ 2.6.18-rc1-mm1/drivers/scsi/libata-core.c
@@ -3052,7 +3052,6 @@ static void ata_dev_xfermask(struct ata_
struct ata_port *ap = dev->ap;
struct ata_host_set *hs = ap->host_set;
unsigned long xfer_mask;
- int i;

/* Controller modes available */
xfer_mask = ata_pack_xfermask(ap->pio_mask,