linux-next.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* linux-next: build warning after merge of the libata tree
@ 2022-06-20  0:34 Stephen Rothwell
  2022-06-20  0:43 ` Damien Le Moal
  2022-06-20  8:21 ` Stephen Rothwell
  0 siblings, 2 replies; 25+ messages in thread
From: Stephen Rothwell @ 2022-06-20  0:34 UTC (permalink / raw)
  To: Damien Le Moal
  Cc: Sergey Shtylyov, Linux Kernel Mailing List, Linux Next Mailing List

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

Hi all,

After merging the libata tree, today's linux-next build (powercp
ppc64_defconfig) produced this warning:

In file included from include/linux/device.h:15,
                 from arch/powerpc/include/asm/io.h:27,
                 from include/linux/io.h:13,
                 from include/linux/irq.h:20,
                 from arch/powerpc/include/asm/hardirq.h:6,
                 from include/linux/hardirq.h:11,
                 from include/linux/highmem.h:11,
                 from include/linux/bvec.h:10,
                 from include/linux/blk_types.h:10,
                 from include/linux/blkdev.h:9,
                 from drivers/ata/pata_macio.c:18:
drivers/ata/pata_macio.c: In function 'pmac_macio_calc_timing_masks':
drivers/ata/pata_macio.c:1031:28: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'unsigned int' [-Wformat=]
 1031 |         dev_dbg(priv->dev, "Supported masks: PIO=%lx, MWDMA=%lx, UDMA=%lx\n",
      |                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/dev_printk.h:129:41: note: in definition of macro 'dev_printk'
  129 |                 _dev_printk(level, dev, fmt, ##__VA_ARGS__);            \
      |                                         ^~~
include/linux/dev_printk.h:163:45: note: in expansion of macro 'dev_fmt'
  163 |                 dev_printk(KERN_DEBUG, dev, dev_fmt(fmt), ##__VA_ARGS__); \
      |                                             ^~~~~~~
drivers/ata/pata_macio.c:1031:9: note: in expansion of macro 'dev_dbg'
 1031 |         dev_dbg(priv->dev, "Supported masks: PIO=%lx, MWDMA=%lx, UDMA=%lx\n",
      |         ^~~~~~~
drivers/ata/pata_macio.c:1031:52: note: format string is defined here
 1031 |         dev_dbg(priv->dev, "Supported masks: PIO=%lx, MWDMA=%lx, UDMA=%lx\n",
      |                                                  ~~^
      |                                                    |
      |                                                    long unsigned int
      |                                                  %x
In file included from include/linux/device.h:15,
                 from arch/powerpc/include/asm/io.h:27,
                 from include/linux/io.h:13,
                 from include/linux/irq.h:20,
                 from arch/powerpc/include/asm/hardirq.h:6,
                 from include/linux/hardirq.h:11,
                 from include/linux/highmem.h:11,
                 from include/linux/bvec.h:10,
                 from include/linux/blk_types.h:10,
                 from include/linux/blkdev.h:9,
                 from drivers/ata/pata_macio.c:18:
drivers/ata/pata_macio.c:1031:28: warning: format '%lx' expects argument of type 'long unsigned int', but argument 5 has type 'unsigned int' [-Wformat=]
 1031 |         dev_dbg(priv->dev, "Supported masks: PIO=%lx, MWDMA=%lx, UDMA=%lx\n",
      |                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/dev_printk.h:129:41: note: in definition of macro 'dev_printk'
  129 |                 _dev_printk(level, dev, fmt, ##__VA_ARGS__);            \
      |                                         ^~~
include/linux/dev_printk.h:163:45: note: in expansion of macro 'dev_fmt'
  163 |                 dev_printk(KERN_DEBUG, dev, dev_fmt(fmt), ##__VA_ARGS__); \
      |                                             ^~~~~~~
drivers/ata/pata_macio.c:1031:9: note: in expansion of macro 'dev_dbg'
 1031 |         dev_dbg(priv->dev, "Supported masks: PIO=%lx, MWDMA=%lx, UDMA=%lx\n",
      |         ^~~~~~~
drivers/ata/pata_macio.c:1031:63: note: format string is defined here
 1031 |         dev_dbg(priv->dev, "Supported masks: PIO=%lx, MWDMA=%lx, UDMA=%lx\n",
      |                                                             ~~^
      |                                                               |
      |                                                               long unsigned int
      |                                                             %x
In file included from include/linux/device.h:15,
                 from arch/powerpc/include/asm/io.h:27,
                 from include/linux/io.h:13,
                 from include/linux/irq.h:20,
                 from arch/powerpc/include/asm/hardirq.h:6,
                 from include/linux/hardirq.h:11,
                 from include/linux/highmem.h:11,
                 from include/linux/bvec.h:10,
                 from include/linux/blk_types.h:10,
                 from include/linux/blkdev.h:9,
                 from drivers/ata/pata_macio.c:18:
drivers/ata/pata_macio.c:1031:28: warning: format '%lx' expects argument of type 'long unsigned int', but argument 6 has type 'unsigned int' [-Wformat=]
 1031 |         dev_dbg(priv->dev, "Supported masks: PIO=%lx, MWDMA=%lx, UDMA=%lx\n",
      |                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/dev_printk.h:129:41: note: in definition of macro 'dev_printk'
  129 |                 _dev_printk(level, dev, fmt, ##__VA_ARGS__);            \
      |                                         ^~~
include/linux/dev_printk.h:163:45: note: in expansion of macro 'dev_fmt'
  163 |                 dev_printk(KERN_DEBUG, dev, dev_fmt(fmt), ##__VA_ARGS__); \
      |                                             ^~~~~~~
drivers/ata/pata_macio.c:1031:9: note: in expansion of macro 'dev_dbg'
 1031 |         dev_dbg(priv->dev, "Supported masks: PIO=%lx, MWDMA=%lx, UDMA=%lx\n",
      |         ^~~~~~~
drivers/ata/pata_macio.c:1031:73: note: format string is defined here
 1031 |         dev_dbg(priv->dev, "Supported masks: PIO=%lx, MWDMA=%lx, UDMA=%lx\n",
      |                                                                       ~~^
      |                                                                         |
      |                                                                         long unsigned int
      |                                                                       %x

Introduced by commit

  f0a6d77b351c ("ata: make transfer mode masks *unsigned int*")

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 25+ messages in thread
* linux-next: build warning after merge of the libata tree
@ 2022-09-19  2:40 Stephen Rothwell
  2022-09-19  8:01 ` Damien Le Moal
  2022-09-19 23:56 ` Damien Le Moal
  0 siblings, 2 replies; 25+ messages in thread
From: Stephen Rothwell @ 2022-09-19  2:40 UTC (permalink / raw)
  To: Damien Le Moal
  Cc: Serge Semin, Linux Kernel Mailing List, Linux Next Mailing List

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

Hi all,

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

drivers/ata/ahci_st.c: In function 'st_ahci_probe':
drivers/ata/ahci_st.c:147:24: warning: unused variable 'dev' [-Wunused-variable]
  147 |         struct device *dev = &pdev->dev;
      |                        ^~~

Introduced by commit

  3f74cd046fbe ("ata: libahci_platform: Parse ports-implemented property in resources getter")

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 25+ messages in thread
* linux-next: build warning after merge of the libata tree
@ 2018-03-20  4:57 Stephen Rothwell
  2018-03-20  4:59 ` Richard Zhu
  0 siblings, 1 reply; 25+ messages in thread
From: Stephen Rothwell @ 2018-03-20  4:57 UTC (permalink / raw)
  To: Tejun Heo; +Cc: Linux-Next Mailing List, Linux Kernel Mailing List, Richard Zhu

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

Hi Tejun,

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

drivers/ata/ahci_imx.c: In function 'imx_sata_disable':
drivers/ata/ahci_imx.c:478:2: warning: enumeration value 'AHCI_IMX53' not handled in switch [-Wswitch]
  switch (imxpriv->type) {
  ^~~~~~

Introduced by commit

  e5878732a521 ("ahci: imx: add the imx6qp ahci sata support")

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 25+ messages in thread
* linux-next: build warning after merge of the libata tree
@ 2018-02-13  3:04 Stephen Rothwell
  2018-02-13 14:42 ` Tejun Heo
  0 siblings, 1 reply; 25+ messages in thread
From: Stephen Rothwell @ 2018-02-13  3:04 UTC (permalink / raw)
  To: Tejun Heo
  Cc: Linux-Next Mailing List, Linux Kernel Mailing List, Khiem Nguyen,
	Hien Dang, Yoshihiro Kaneko

Hi Tejun,

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

drivers/ata/sata_rcar.c: In function 'sata_rcar_init_controller':
drivers/ata/sata_rcar.c:821:16: warning: unused variable 'base' [-Wunused-variable]
  void __iomem *base = priv->base;
                ^~~~

Introduced by commit

  da77d76b95a0 ("sata_rcar: Reset SATA PHY when Salvator-X board resumes")

-- 
Cheers,
Stephen Rothwell

^ permalink raw reply	[flat|nested] 25+ messages in thread
* linux-next: build warning after merge of the libata tree
@ 2018-01-18  4:26 Stephen Rothwell
  0 siblings, 0 replies; 25+ messages in thread
From: Stephen Rothwell @ 2018-01-18  4:26 UTC (permalink / raw)
  To: Tejun Heo
  Cc: Linux-Next Mailing List, Linux Kernel Mailing List, Florian Fainelli

Hi Tejun,

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

drivers/phy/broadcom/phy-brcm-sata.c: In function 'brcm_stb_sata_calibrate':
drivers/phy/broadcom/phy-brcm-sata.c:514:24: warning: unused variable 'priv' [-Wunused-variable]
  struct brcm_sata_phy *priv = port->phy_priv;
                        ^~~~

Introduced by commit

  3e507769d15e ("phy: brcm-sata: Implement calibrate callback")

-- 
Cheers,
Stephen Rothwell

^ permalink raw reply	[flat|nested] 25+ messages in thread
* linux-next: build warning after merge of the libata tree
@ 2017-06-28  5:51 Stephen Rothwell
  2017-06-28 18:28 ` Tejun Heo
  0 siblings, 1 reply; 25+ messages in thread
From: Stephen Rothwell @ 2017-06-28  5:51 UTC (permalink / raw)
  To: Tejun Heo
  Cc: Linux-Next Mailing List, Linux Kernel Mailing List, Minwoo Im,
	Bart Van Assche

Hi Tejun,

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

drivers/ata/libata-scsi.c: In function 'ata_scsi_var_len_cdb_xlat':
drivers/ata/libata-scsi.c:4194:1: warning: label 'unspprt_sa' defined but not used [-Wunused-label]
 unspprt_sa:
 ^

Introduced by commit

  b1ffbf854e08 ("libata: Support for an ATA PASS-THROUGH(32) command.")

-- 
Cheers,
Stephen Rothwell

^ permalink raw reply	[flat|nested] 25+ messages in thread
* linux-next: build warning after merge of the libata tree
@ 2012-02-13  5:27 Stephen Rothwell
  2012-02-24  3:08 ` Stephen Rothwell
  0 siblings, 1 reply; 25+ messages in thread
From: Stephen Rothwell @ 2012-02-13  5:27 UTC (permalink / raw)
  To: Jeff Garzik; +Cc: linux-next, linux-kernel, Matthew Garrett

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

Hi Jeff,

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

drivers/ata/libata.h:133:13: warning: 'ata_acpi_bind_dock' defined but not used [-Wunused-function]
drivers/ata/libata.h:134:13: warning: 'ata_acpi_unbind_dock' defined but not used [-Wunused-function]
drivers/ata/libata.h:132:13: warning: 'ata_acpi_unregister' defined but not used [-Wunused-function]
drivers/ata/libata.h:132:13: warning: 'ata_acpi_unregister' defined but not used [-Wunused-function]
drivers/ata/libata.h:133:13: warning: 'ata_acpi_bind_dock' defined but not used [-Wunused-function]
drivers/ata/libata.h:134:13: warning: 'ata_acpi_unbind_dock' defined but not used [-Wunused-function]
drivers/ata/libata.h:132:13: warning: 'ata_acpi_unregister' defined but not used [-Wunused-function]
drivers/ata/libata.h:133:13: warning: 'ata_acpi_bind_dock' defined but not used [-Wunused-function]
drivers/ata/libata.h:134:13: warning: 'ata_acpi_unbind_dock' defined but not used [-Wunused-function]
drivers/ata/libata.h:132:13: warning: 'ata_acpi_unregister' defined but not used [-Wunused-function]
drivers/ata/libata.h:133:13: warning: 'ata_acpi_bind_dock' defined but not used [-Wunused-function]
drivers/ata/libata.h:134:13: warning: 'ata_acpi_unbind_dock' defined but not used [-Wunused-function]

Introduced by commits 75d22cd567ca ("libata: Bind the Linux device tree
to the ACPI device tree") and c9df614ade0e ("libata: Add links between
removable devices and docks").
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au

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

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

end of thread, other threads:[~2022-09-20 19:26 UTC | newest]

Thread overview: 25+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-20  0:34 linux-next: build warning after merge of the libata tree Stephen Rothwell
2022-06-20  0:43 ` Damien Le Moal
2022-06-20  8:21 ` Stephen Rothwell
2022-06-20  8:53   ` Damien Le Moal
2022-06-20 10:57     ` Sergey Shtylyov
2022-06-20 11:07       ` Damien Le Moal
2022-06-20 20:07         ` Sergey Shtylyov
2022-06-20 20:08         ` Sergey Shtylyov
  -- strict thread matches above, loose matches on Subject: below --
2022-09-19  2:40 Stephen Rothwell
2022-09-19  8:01 ` Damien Le Moal
2022-09-19 23:56 ` Damien Le Moal
2022-09-20 19:25   ` Serge Semin
2018-03-20  4:57 Stephen Rothwell
2018-03-20  4:59 ` Richard Zhu
2018-02-13  3:04 Stephen Rothwell
2018-02-13 14:42 ` Tejun Heo
2018-01-18  4:26 Stephen Rothwell
2017-06-28  5:51 Stephen Rothwell
2017-06-28 18:28 ` Tejun Heo
2012-02-13  5:27 Stephen Rothwell
2012-02-24  3:08 ` Stephen Rothwell
2012-02-24  4:06   ` Jeff Garzik
2012-02-24  4:14     ` Stephen Rothwell
2012-02-24 12:22       ` Stephen Rothwell
2012-02-24 17:01         ` Jeff Garzik

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).