Re: 2.6.22-rc2 built on ppc (1)

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

 



On Sun, May 20, 2007 at 01:04:19PM +0200, Elimar Riesebieter wrote:
> Hi,
> 
> FYI, building 2.6.22-rc2 with
> gcc (GCC) 4.1.3 20070514 (prerelease) (Debian 4.1.2-7)
> on my powerbook (PPC) gives:
> 
> ...
> arch/powerpc/kernel/pci_32.c: In function 'pcibios_assign_resources':
> arch/powerpc/kernel/pci_32.c:562: warning: ignoring return value of 'pci_assign_resource', declared with attribute warn_unused_result
> arch/powerpc/kernel/pci_32.c: In function 'pcibios_add_platform_entries':
> arch/powerpc/kernel/pci_32.c:1053: warning: ignoring return value of 'device_create_file', declared with attribute warn_unused_result
> arch/powerpc/mm/mem.c: In function 'paging_init':
> arch/powerpc/mm/mem.c:313: warning: passing argument 1 of 'pmd_offset' from incompatible pointer type
> arch/powerpc/mm/mem.c:316: warning: passing argument 1 of 'pmd_offset' from incompatible pointer type
> ...
> drivers/base/core.c: In function 'device_add':
> drivers/base/core.c:714: warning: ignoring return value of 'sysfs_create_link', declared with attribute warn_unused_result
> drivers/base/core.c:719: warning: ignoring return value of 'sysfs_create_link', declared with attribute warn_unused_result
> drivers/base/core.c:722: warning: ignoring return value of 'sysfs_create_link', declared with attribute warn_unused_result
> drivers/base/core.c: In function 'device_rename':
> drivers/base/core.c:1197: warning: ignoring return value of 'sysfs_create_link', declared with attribute warn_unused_result
> drivers/base/dd.c:211: warning: 'device_probe_drivers' defined but not used
> ...
> drivers/ide/setup-pci.c: In function 'ide_scan_pcibus':
> drivers/ide/setup-pci.c:879: warning: ignoring return value of '__pci_register_driver', declared with attribute warn_unused_result
> drivers/pci/search.c: In function 'pci_find_slot':
> drivers/pci/search.c:99: warning: 'pci_find_device' is deprecated (declared at include/linux/pci.h:477)
> drivers/pci/search.c: At top level:
> drivers/pci/search.c:433: warning: 'pci_find_device' is deprecated (declared at drivers/pci/search.c:241)
> drivers/pci/search.c:433: warning: 'pci_find_device' is deprecated (declared at drivers/pci/search.c:241)
> ...
> 
> If more info is needed, please contact me via PM, as I am not
> subscribed.

I see some warnings, but no errors, right?  The pci and driver core
warnings are known and are being worked on...

thanks,

greg k-h
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

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