linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* linux-next: build warnings after merge of the libata tree
@ 2012-07-02  3:19 Stephen Rothwell
  2012-07-02  3:21 ` Lin Ming
  0 siblings, 1 reply; 9+ messages in thread
From: Stephen Rothwell @ 2012-07-02  3:19 UTC (permalink / raw)
  To: Jeff Garzik
  Cc: linux-next, linux-kernel, Lin Ming, Matthew Garrett, Holger Macht

[-- Attachment #1: Type: text/plain, Size: 1882 bytes --]

Hi Jeff,

After merging the libata tree, today's linux-next build (powerpc
ppc64_defconfig) produced these warnings:

drivers/ata/libata.h:134:13: warning: 'ata_acpi_unregister' defined but not used [-Wunused-function]
drivers/ata/libata.h:135:13: warning: 'ata_acpi_bind' defined but not used [-Wunused-function]
drivers/ata/libata.h:136:13: warning: 'ata_acpi_unbind' defined but not used [-Wunused-function]
drivers/ata/libata.h:134:13: warning: 'ata_acpi_unregister' defined but not used [-Wunused-function]
drivers/ata/libata.h:134:13: warning: 'ata_acpi_unregister' defined but not used [-Wunused-function]
drivers/ata/libata.h:135:13: warning: 'ata_acpi_bind' defined but not used [-Wunused-function]
drivers/ata/libata.h:136:13: warning: 'ata_acpi_unbind' defined but not used [-Wunused-function]
drivers/ata/libata.h:135:13: warning: 'ata_acpi_bind' defined but not used [-Wunused-function]
drivers/ata/libata.h:136:13: warning: 'ata_acpi_unbind' defined but not used [-Wunused-function]
drivers/ata/libata.h:134:13: warning: 'ata_acpi_unregister' defined but not used [-Wunused-function]
drivers/ata/libata.h:135:13: warning: 'ata_acpi_bind' defined but not used [-Wunused-function]
drivers/ata/libata.h:136:13: warning: 'ata_acpi_unbind' defined but not used [-Wunused-function]
drivers/ata/libata.h:134:13: warning: 'ata_acpi_unregister' defined but not used [-Wunused-function]
drivers/ata/libata.h:135:13: warning: 'ata_acpi_bind' defined but not used [-Wunused-function]
drivers/ata/libata.h:136:13: warning: 'ata_acpi_unbind' defined but not used [-Wunused-function]

Introduced by commits 6b66d95895c1 ("libata: bind the Linux device tree
to the ACPI device tree") and 3bd46600a7a7 ("libata-acpi: add ata port
runtime D3Cold support").  Several "inline"s missing ...

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au

[-- Attachment #2: Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread
* linux-next: build warnings after merge of the libata tree
@ 2016-07-21  5:26 Stephen Rothwell
  2016-07-21 14:44 ` Tejun Heo
  0 siblings, 1 reply; 9+ messages in thread
From: Stephen Rothwell @ 2016-07-21  5:26 UTC (permalink / raw)
  To: Tejun Heo; +Cc: linux-next, linux-kernel, Tom Yan

Hi Tejun,

After merging the libata tree, today's linux-next build (arm
multi_v7_defconfig) produced these warning:

drivers/ata/libata-scsi.c: In function 'ata_mselect_caching':
drivers/ata/libata-scsi.c:3637:28: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses]
    if (mpage[i + 2] & 0xfb != buf[i] & 0xfb) {
                            ^
drivers/ata/libata-scsi.c: In function 'ata_mselect_control':
drivers/ata/libata-scsi.c:3702:28: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses]
    if (mpage[i + 2] & 0xfb != buf[i] & 0xfb) {
                            ^

Introduced by commit

  9b7844a8c34a ("libata-scsi: fix read-only bits checking in ata_mselect_*()")

-- 
Cheers,
Stephen Rothwell

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2016-07-27 17:33 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-02  3:19 linux-next: build warnings after merge of the libata tree Stephen Rothwell
2012-07-02  3:21 ` Lin Ming
2012-07-02  3:54   ` Stephen Rothwell
2012-07-02  4:31     ` Lin Ming
2012-07-02  6:11       ` Jeff Garzik
  -- strict thread matches above, loose matches on Subject: below --
2016-07-21  5:26 Stephen Rothwell
2016-07-21 14:44 ` Tejun Heo
2016-07-27  6:32   ` Stephen Rothwell
2016-07-27 17:33     ` Tejun Heo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).