mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* warnings during compile and boot
@ 2008-03-23  1:43 Adam Turk
  0 siblings, 0 replies; only message in thread
From: Adam Turk @ 2008-03-23  1:43 UTC (permalink / raw)
  To: linux-kernel


Hello,

I just compiled 2.6.25-rc6 and got a bunch of warnings which are annoying.  I also see new informational warnings during boot:
driver 'sd' needs updating - please use bus_type methods
driver 'sr' needs updating - please use bus_type methods

warnings:
  CC      kernel/power/pm.o
kernel/power/pm.c:203: warning: 'pm_register' is deprecated (declared at kernel/power/pm.c:62)
kernel/power/pm.c:203: warning: 'pm_register' is deprecated (declared at kernel/power/pm.c:62)
kernel/power/pm.c:204: warning: 'pm_send_all' is deprecated (declared at kernel/power/pm.c:178)
kernel/power/pm.c:204: warning: 'pm_send_all' is deprecated (declared at kernel/power/pm.c:178)
  CC      kernel/power/process.o


 CC [M]  fs/cifs/connect.o
  CC [M]  fs/cifs/dir.o
fs/cifs/dir.c: In function 'cifs_ci_compare':
fs/cifs/dir.c:582: warning: passing argument 1 of '__constant_memcpy' discards qualifiers from pointer target type
fs/cifs/dir.c:582: warning: passing argument 1 of '__memcpy' discards qualifiers from pointer target type
  CC [M]  fs/cifs/file.o

  CC      fs/partitions/check.o
fs/partitions/check.c: In function 'add_partition':
fs/partitions/check.c:381: warning: ignoring return value of 'device_add', declared with attribute warn_unused_result

 CC      drivers/message/i2o/device.o
drivers/message/i2o/device.c: In function 'i2o_device_add':
drivers/message/i2o/device.c:247: warning: ignoring return value of 'sysfs_create_link', declared with attribute warn_unused_result
drivers/message/i2o/device.c:254: warning: ignoring return value of 'sysfs_create_link', declared with attribute warn_unused_result
drivers/message/i2o/device.c:260: warning: ignoring return value of 'sysfs_create_link', declared with attribute warn_unused_result
drivers/message/i2o/device.c:267: warning: ignoring return value of 'sysfs_create_link', declared with attribute warn_unused_result


  CC      drivers/pci/search.o
drivers/pci/search.c: In function 'pci_find_slot':
drivers/pci/search.c:135: warning: 'pci_find_device' is deprecated (declared at include/linux/pci.h:506)
drivers/pci/search.c: At top level:
drivers/pci/search.c:478: warning: 'pci_find_device' is deprecated (declared at drivers/pci/search.c:283)
drivers/pci/search.c:478: warning: 'pci_find_device' is deprecated (declared at drivers/pci/search.c:283)
drivers/pci/search.c:479: warning: 'pci_find_slot' is deprecated (declared at drivers/pci/search.c:132)
drivers/pci/search.c:479: warning: 'pci_find_slot' is deprecated (declared at drivers/pci/search.c:132)

Just an FYI,

_________________________________________________________________
How well do you know your celebrity gossip?
http://originals.msn.com/thebigdebate?ocid=T002MSN03N0707A

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-03-23  1:43 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-03-23  1:43 warnings during compile and boot Adam Turk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®