linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* linux-next: build failure after merge of the libata tree
@ 2022-01-06 14:08 Stephen Rothwell
  2022-01-06 23:58 ` Damien Le Moal
  0 siblings, 1 reply; 22+ messages in thread
From: Stephen Rothwell @ 2022-01-06 14:08 UTC (permalink / raw)
  To: Damien Le Moal
  Cc: Hannes Reinecke, Linux Kernel Mailing List, Linux Next Mailing List

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

Hi all,

After merging the libata tree, today's linux-next build (powerpc
allyesconfig) failed like this:

drivers/ata/pata_cs5535.c:26:10: fatal error: asm/msr.h: No such file or directory
   26 | #include <asm/msr.h>
      |          ^~~~~~~~~~~

Caused by commit

  39d0a5fc445a ("ata: pata_cs5535: add compile test support")

I have reverted that commit for today.

-- 
Cheers,
Stephen Rothwell

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

^ permalink raw reply	[flat|nested] 22+ messages in thread
* linux-next: build failure after merge of the libata tree
@ 2016-05-09  0:14 Stephen Rothwell
  0 siblings, 0 replies; 22+ messages in thread
From: Stephen Rothwell @ 2016-05-09  0:14 UTC (permalink / raw)
  To: Tejun Heo; +Cc: linux-next, linux-kernel, Mans Rullgard, Christian Lamparter

Hi Tejun,

After merging the libata tree, today's linux-next build (x86_64
allmodconfig) failed like this:

drivers/ata/sata_dwc_460ex.c:203:2: error: unknown field 'm_master' specified in initializer
  .m_master = 1,
  ^
/home/sfr/next/next/drivers/ata/sata_dwc_460ex.c:204:2: error: unknown field 'p_master' specified in initializer
  .p_master = 0,
  ^
/home/sfr/next/next/drivers/ata/sata_dwc_460ex.c: In function 'sata_dwc_dma_init_old':
/home/sfr/next/next/drivers/ata/sata_dwc_460ex.c:269:9: error: too few arguments to function 'dw_dma_probe'
  return dw_dma_probe(hsdev->dma);
         ^

Caused by commit

  30ee9d52f7a7 ("ata: sata_dwc_460ex: use "dmas" DT property to find dma channel")

I have used the libata tree from next-20160506 for today.

-- 
Cheers,
Stephen Rothwell

^ permalink raw reply	[flat|nested] 22+ messages in thread
* linux-next: build failure after merge of the libata tree
@ 2015-09-17  4:03 Stephen Rothwell
  2015-09-17 11:14 ` Luis de Bethencourt
  0 siblings, 1 reply; 22+ messages in thread
From: Stephen Rothwell @ 2015-09-17  4:03 UTC (permalink / raw)
  To: Tejun Heo; +Cc: linux-next, linux-kernel, Luis de Bethencourt

Hi Tejun,

After merging the libata tree, today's linux-next build (powercp
allmodconfig) failed like this:

drivers/ata/pata_macio.c:1347:1: error: 'pata_macio_patch' undeclared here (not in a function)
drivers/ata/pata_macio.c:1347:1: error: '__mod_of__pata_macio_patch_device_table' aliased to undefined symbol 'pata_macio_patch'

Caused by commit

  5d8619769cf5 ("ata: pata_macio: Fix module autoload for OF platform driver")

A simple typo ("patch" v "match"), but clearly never build tested.

Only found after the release.

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

^ permalink raw reply	[flat|nested] 22+ messages in thread
* linux-next: build failure after merge of the libata tree
@ 2014-04-24  1:17 Stephen Rothwell
  2014-04-24 12:25 ` Tejun Heo
  0 siblings, 1 reply; 22+ messages in thread
From: Stephen Rothwell @ 2014-04-24  1:17 UTC (permalink / raw)
  To: Tejun Heo; +Cc: linux-next, linux-kernel, Kefeng Wang, Hans de Goede

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

Hi Tejun,

After merging the libata tree, today's linux-next build (x86_64
allmodconfig) failed like this:

drivers/ata/libahci_platform.c: In function 'ahci_platform_init_host':
drivers/ata/libahci_platform.c:317:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  pi.private_data = (void *)host_flags
                    ^
drivers/ata/libahci_platform.c:318:2: error: expected ';' before 'hpriv'
  hpriv->flags |= host_flags;
  ^

Please test build this stuff ...

Caused by commit ac795a7ec2d2 ("libahci_platform: add host_flags parameter
in ahci_platform_init_host()").

I have used the libata tree from next-20140423 for today.
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au

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

^ permalink raw reply	[flat|nested] 22+ messages in thread
* linux-next: build failure after merge of the libata tree
@ 2014-02-26  2:55 Stephen Rothwell
  2014-02-26 13:49 ` Tejun Heo
  0 siblings, 1 reply; 22+ messages in thread
From: Stephen Rothwell @ 2014-02-26  2:55 UTC (permalink / raw)
  To: Tejun Heo; +Cc: linux-next, linux-kernel, Lee Jones

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

Hi Tejun,

After merging the libata tree, today's linux-next build (x86_64
allmodconfig) failed like this:

drivers/ata/ahci_st.c: In function 'st_ahci_probe':
drivers/ata/ahci_st.c:159:8: error: implicit declaration of function 'ahci_platform_put_resources' [-Werror=implicit-function-declaration]
        ahci_platform_put_resources(&pdev->dev, hpriv);
        ^

Caused by commit 0d8d213703ff ("ahci: st: Add support for ST's SATA
IP").  That function is defined as "static" in another file ...

I have used the version of the libata tree from next-20140225 for today.
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au

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

^ permalink raw reply	[flat|nested] 22+ messages in thread
* linux-next: build failure after merge of the libata tree
@ 2013-08-27  2:50 Stephen Rothwell
  2013-08-27  5:52 ` Aaron Lu
  0 siblings, 1 reply; 22+ messages in thread
From: Stephen Rothwell @ 2013-08-27  2:50 UTC (permalink / raw)
  To: Tejun Heo; +Cc: linux-next, linux-kernel, Aaron Lu

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

Hi Tejun,

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

In file included from drivers/ata/libata-pmp.c:14:0:
drivers/ata/libata.h:136:1: error: unknown type name 'acpi_handle'
 static inline acpi_handle ata_dev_acpi_handle(struct ata_device *dev) { return NULL; }
 ^

And several others.

Caused by commit f1bc1e4c44b1 ("ata: acpi: rework the ata acpi bind
support").  All the world does not have the ACPI include files
included via some other path ... nor wants them, I suspect.

I have used the libata tree from next-20130822 for today.

P.S. drivers/ata/libata.h seems to assume that a lot of other stuff is
included that it does not include explicitly ...
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au

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

^ permalink raw reply	[flat|nested] 22+ messages in thread
* linux-next: build failure after merge of the libata tree
@ 2013-08-19  1:54 Stephen Rothwell
  2013-08-19  3:18 ` Terry Suereth
  0 siblings, 1 reply; 22+ messages in thread
From: Stephen Rothwell @ 2013-08-19  1:54 UTC (permalink / raw)
  To: Tejun Heo; +Cc: linux-next, linux-kernel, Terry Suereth, stable

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

Hi Tejun,

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

drivers/ata/libata-pmp.c: In function 'sata_pmp_quirks':
drivers/ata/libata-pmp.c:386:36: error: invalid suffix "x26" on integer constant
  if (vendor == 0x1095 && (devid == 0x3x26 || devid == 0x3826)) {
                                    ^

Caused by commit f1a313ad86b9 ("libata: apply behavioral quirks to sil3826 PMP").

I have used the libata tree from next-20130816 for today.
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au

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

^ permalink raw reply	[flat|nested] 22+ messages in thread
* linux-next: build failure after merge of the libata tree
@ 2012-07-02  2:10 Stephen Rothwell
  2012-07-02  2:19 ` huang ying
  0 siblings, 1 reply; 22+ messages in thread
From: Stephen Rothwell @ 2012-07-02  2:10 UTC (permalink / raw)
  To: Jeff Garzik; +Cc: linux-next, linux-kernel, Lin Ming, Huang Ying, Bjorn Helgaas

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

Hi Jeff,

After merging the libata tree, today's linux-next build (x86_64
allmodconfig) failed like this:

drivers/ata/libata-acpi.c: In function 'ata_acpi_set_state':
drivers/ata/libata-acpi.c:872:5: error: too few arguments to function 'acpi_pm_device_sleep_state'
include/acpi/acpi_bus.h:418:5: note: declared here

Caused by commit 3bd46600a7a7 ("libata-acpi: add ata port runtime D3Cold
support") from the libata tree interacting with commit ee85f543710d
("ACPI/PM: specify lowest allowed state for device sleep state") from the
pci tree.

I added the following merge fix patch (and can carry it as necessary):

From: Stephen Rothwell <sfr@canb.auug.org.au>
Date: Mon, 2 Jul 2012 12:07:25 +1000
Subject: [PATCH] libata-acpi: fix up for acpi_pm_device_sleep_state API
 change

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
---
 drivers/ata/libata-acpi.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/ata/libata-acpi.c b/drivers/ata/libata-acpi.c
index 4112eaa..a2b16c9 100644
--- a/drivers/ata/libata-acpi.c
+++ b/drivers/ata/libata-acpi.c
@@ -869,7 +869,7 @@ void ata_acpi_set_state(struct ata_port *ap, pm_message_t state)
 
 		if (state.event != PM_EVENT_ON) {
 			acpi_state = acpi_pm_device_sleep_state(
-				&dev->sdev->sdev_gendev, NULL);
+				&dev->sdev->sdev_gendev, NULL, ACPI_STATE_D3);
 			if (acpi_state > 0)
 				acpi_bus_set_power(handle, acpi_state);
 			/* TBD: need to check if it's runtime pm request */
-- 
1.7.10.280.gaa39

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

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

^ permalink raw reply related	[flat|nested] 22+ messages in thread
* linux-next: build failure after merge of the libata tree
@ 2010-08-18  0:40 Stephen Rothwell
  2010-08-18  0:46 ` Gwendal Grignou
  0 siblings, 1 reply; 22+ messages in thread
From: Stephen Rothwell @ 2010-08-18  0:40 UTC (permalink / raw)
  To: Jeff Garzik; +Cc: linux-next, linux-kernel, Gwendal Grignou, Grant Grundler

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

Hi Jeff,

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

drivers/ata/libata-transport.c: In function 'ata_attach_transport':
drivers/ata/libata-transport.c:678: error: implicit declaration of function 'kzalloc'
drivers/ata/libata-transport.c:678: warning: assignment makes pointer from integer without a cast
drivers/ata/libata-transport.c: In function 'ata_release_transport':
drivers/ata/libata-transport.c:741: error: implicit declaration of function 'kfree'

Caused by commit 97395d39931160a171959ac2e1fbff1caba3374b ("[libata] Add
ATA transport class") neglecting to include linux/slab.h.   See Rule 1 in
Documentation/SubmitChecklist.

I have used the libata tree form next-20100817 for today.
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

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

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

end of thread, other threads:[~2022-01-07  1:28 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-06 14:08 linux-next: build failure after merge of the libata tree Stephen Rothwell
2022-01-06 23:58 ` Damien Le Moal
2022-01-07  0:17   ` Stephen Rothwell
2022-01-07  1:28     ` Damien Le Moal
  -- strict thread matches above, loose matches on Subject: below --
2016-05-09  0:14 Stephen Rothwell
2015-09-17  4:03 Stephen Rothwell
2015-09-17 11:14 ` Luis de Bethencourt
2014-04-24  1:17 Stephen Rothwell
2014-04-24 12:25 ` Tejun Heo
2014-02-26  2:55 Stephen Rothwell
2014-02-26 13:49 ` Tejun Heo
2013-08-27  2:50 Stephen Rothwell
2013-08-27  5:52 ` Aaron Lu
2013-08-27 18:09   ` Tejun Heo
2013-08-19  1:54 Stephen Rothwell
2013-08-19  3:18 ` Terry Suereth
2013-08-19 13:40   ` Tejun Heo
2012-07-02  2:10 Stephen Rothwell
2012-07-02  2:19 ` huang ying
2010-08-18  0:40 Stephen Rothwell
2010-08-18  0:46 ` Gwendal Grignou
2010-08-19 20:15   ` 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).