mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Adam Turk <bofh1234@hotmail.com>
To: <linux-kernel@vger.kernel.org>
Subject: warnings during compile and boot
Date: Sat, 22 Mar 2008 21:43:00 -0400	[thread overview]
Message-ID: <BAY101-W56F344A741AF8E16D0E80AC8030@phx.gbl> (raw)


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

                 reply	other threads:[~2008-03-23  1:43 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=BAY101-W56F344A741AF8E16D0E80AC8030@phx.gbl \
    --to=bofh1234@hotmail.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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®