Re: Linux 2.6.9-rc4

From: J.A. Magallon
Date: Mon Oct 11 2004 - 09:22:06 EST


Hi...

Lets polish it... I get this warnings on build:

CC fs/binfmt_elf.o
fs/binfmt_elf.c: In function `padzero':
fs/binfmt_elf.c:113: warning: ignoring return value of `clear_user', declared with attribute warn_unused_result
include/asm/uaccess.h: In function `create_elf_tables':
fs/binfmt_elf.c:175: warning: ignoring return value of `__copy_to_user', declared with attribute warn_unused_result
fs/binfmt_elf.c:273: warning: ignoring return value of `copy_to_user', declared with attribute warn_unused_result
fs/binfmt_elf.c: In function `load_elf_binary':
fs/binfmt_elf.c:758: warning: ignoring return value of `clear_user', declared with attribute warn_unused_result
fs/binfmt_elf.c: In function `fill_psinfo':
fs/binfmt_elf.c:1226: warning: ignoring return value of `copy_from_user', declared with attribute warn_unused_result

CC [M] drivers/ieee1394/raw1394.o
include/asm/uaccess.h: In function `raw1394_read':
drivers/ieee1394/raw1394.c:446: warning: ignoring return value of `__copy_to_user', declared with attribute warn_unused_result

CC drivers/pci/msi.o
drivers/pci/msi.c: In function `msi_set_mask_bit':
drivers/pci/msi.c:80: warning: passing arg 2 of `writel' makes pointer from integer without a cast
drivers/pci/msi.c: In function `set_msi_affinity':
drivers/pci/msi.c:121: warning: passing arg 1 of `readl' makes pointer from integer without a cast
drivers/pci/msi.c:126: warning: passing arg 2 of `writel' makes pointer from integer without a cast
drivers/pci/msi.c: In function `msi_free_vector':
drivers/pci/msi.c:838: warning: passing arg 2 of `writel' makes pointer from integer without a cast
drivers/pci/msi.c: In function `reroute_msix_table':
drivers/pci/msi.c:901: warning: passing arg 1 of `readl' makes pointer from integer without a cast
drivers/pci/msi.c:903: warning: passing arg 2 of `writel' makes pointer from integer without a cast
drivers/pci/msi.c:905: warning: passing arg 1 of `readl' makes pointer from integer without a cast
drivers/pci/msi.c:907: warning: passing arg 2 of `writel' makes pointer from integer without a cast
drivers/pci/msi.c:909: warning: passing arg 1 of `readl' makes pointer from integer without a cast
drivers/pci/msi.c:911: warning: passing arg 2 of `writel' makes pointer from integer without a cast

CC drivers/scsi/aic7xxx/aic7xxx_osm.o
drivers/scsi/aic7xxx/aic7xxx_osm.c:440: warning: 'aic7xxx' defined but not used
drivers/scsi/aic7xxx/aic7xxx_osm.c:446: warning: 'dummy_buffer' defined but not used

CC [M] net/ipv4/netfilter/ip_tables.o
net/ipv4/netfilter/ip_tables.c: In function `do_replace':
net/ipv4/netfilter/ip_tables.c:1133: warning: ignoring return value of `copy_to_user', declared with attribute warn_unused_result


--
J.A. Magallon <jamagallon()able!es> \ Software is like sex:
werewolf!able!es \ It's better when it's free
Mandrakelinux release 10.1 (Community) for i586
Linux 2.6.9-rc4-mm1 (gcc 3.4.1 (Mandrakelinux 10.1 3.4.1-4mdk)) #1


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/