linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* linux-next: build failure after merge of the l2-mtd tree
@ 2017-02-09  1:08 Stephen Rothwell
  2017-02-09  1:59 ` Brian Norris
  0 siblings, 1 reply; 23+ messages in thread
From: Stephen Rothwell @ 2017-02-09  1:08 UTC (permalink / raw)
  To: Brian Norris; +Cc: linux-next, linux-kernel, Linus Walleij

Hi Brian,

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

ERROR: "of_flash_probe_versatile" [drivers/mtd/maps/physmap_of.ko] undefined!
ERROR: "of_flash_probe_gemini" [drivers/mtd/maps/physmap_of.ko] undefined!

Probably caused by commit

  56ff337ea433 ("mtd: physmap_of: add a hook for Gemini flash probing")

The config has:

CONFIG_MTD_PHYSMAP=m
CONFIG_MTD_PHYSMAP_COMPAT=y
CONFIG_MTD_PHYSMAP_OF=m
CONFIG_MTD_PHYSMAP_OF_VERSATILE=y
CONFIG_MTD_PHYSMAP_OF_GEMINI=y

I am not sure why this is a problem, but previously physmap_of_versatile.o
would have been in obj-m and it is now in obj-y.

I have used the version fo the l2-mtd tree from next-20170208 for today.

-- 
Cheers,
Stephen Rothwell

^ permalink raw reply	[flat|nested] 23+ messages in thread
* linux-next: build failure after merge of the l2-mtd tree
@ 2017-08-28  2:19 Stephen Rothwell
  2017-08-28 22:06 ` Brian Norris
  0 siblings, 1 reply; 23+ messages in thread
From: Stephen Rothwell @ 2017-08-28  2:19 UTC (permalink / raw)
  To: Brian Norris
  Cc: Linux-Next Mailing List, Linux Kernel Mailing List,
	Mario Rugiero, Uwe Kleine-König

Hi Brian,

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

drivers/mtd/nand/nandsim.c: In function 'ns_init_module':
drivers/mtd/nand/nandsim.c:2353:2: error: implicit declaration of function 'nandsim_debugfs_remove' [-Werror=implicit-function-declaration]
  nandsim_debugfs_remove(nand);
  ^

Caused by commit

  e8e3edb95ce6 ("mtd: create per-device and module-scope debugfs entries")

interacting with commit

  b974696da1cf ("mtd: nandsim: remove debugfs entries in error path")

from Linus' tree.

I applied the following merge fix patch ... please check.

From: Stephen Rothwell <sfr@canb.auug.org.au>
Date: Mon, 28 Aug 2017 12:13:42 +1000
Subject: [PATCH] fix merge of l2-mtd tree

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
---
 drivers/mtd/nand/nandsim.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/mtd/nand/nandsim.c b/drivers/mtd/nand/nandsim.c
index 00635fd738f6..1ddf0b73c246 100644
--- a/drivers/mtd/nand/nandsim.c
+++ b/drivers/mtd/nand/nandsim.c
@@ -2350,7 +2350,6 @@ static int __init ns_init_module(void)
         return 0;
 
 err_exit:
-	nandsim_debugfs_remove(nand);
 	free_nandsim(nand);
 	nand_release(nsmtd);
 	for (i = 0;i < ARRAY_SIZE(nand->partitions); ++i)
-- 
2.13.2




-- 
Cheers,
Stephen Rothwell

^ permalink raw reply related	[flat|nested] 23+ messages in thread
* linux-next: build failure after merge of the l2-mtd tree
@ 2016-07-19  0:59 Stephen Rothwell
  2016-07-19  1:20 ` Brian Norris
  0 siblings, 1 reply; 23+ messages in thread
From: Stephen Rothwell @ 2016-07-19  0:59 UTC (permalink / raw)
  To: Brian Norris; +Cc: linux-next, linux-kernel, Graham Moore, Marek Vasut

Hi Brian,

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

drivers/mtd/spi-nor/cadence-quadspi.c: In function 'cqspi_indirect_read_execute':
drivers/mtd/spi-nor/cadence-quadspi.c:529:4: error: implicit declaration of function 'readsl' [-Werror=implicit-function-declaration]
    readsl(ahb_base, rxbuf, DIV_ROUND_UP(bytes_to_read, 4));
    ^
drivers/mtd/spi-nor/cadence-quadspi.c: In function 'cqspi_indirect_write_execute':
drivers/mtd/spi-nor/cadence-quadspi.c:613:3: error: implicit declaration of function 'writesl' [-Werror=implicit-function-declaration]
   writesl(cqspi->ahb_base, txbuf, DIV_ROUND_UP(write_bytes, 4));
   ^

Caused by commit

  140623410536 ("mtd: spi-nor: Add driver for Cadence Quad SPI Flash Controller")

Missing include of linux/io.h ...

I have used the l2-mtd tree from next-20160718 for today.

-- 
Cheers,
Stephen Rothwell

^ permalink raw reply	[flat|nested] 23+ messages in thread
* linux-next: build failure after merge of the l2-mtd tree
@ 2015-12-21  5:47 Stephen Rothwell
  0 siblings, 0 replies; 23+ messages in thread
From: Stephen Rothwell @ 2015-12-21  5:47 UTC (permalink / raw)
  To: Brian Norris; +Cc: linux-next, linux-kernel

Hi Brian,

After merging the l2-mtd tree, today's linux-next build (powerpc
ppc44x_defconfig) failed like this:

drivers/mtd/nand/ndfc.c: In function 'ndfc_chip_init':
drivers/mtd/nand/ndfc.c:177:2: error: 'ppdata' undeclared (first use in this function)
  ppdata.of_node = flash_np;
  ^

Caused by commit

  a61ae81a1907 ("mtd: nand: drop unnecessary partition parser data")

I applied this fix patch for today:

From: Stephen Rothwell <sfr@canb.auug.org.au>
Date: Mon, 21 Dec 2015 16:44:57 +1100
Subject: [PATCH] mtd: nand: fix for drop unnecessary partition parser data

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
---
 drivers/mtd/nand/ndfc.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/mtd/nand/ndfc.c b/drivers/mtd/nand/ndfc.c
index 0709ea9dd8ed..7d72f4fe06a1 100644
--- a/drivers/mtd/nand/ndfc.c
+++ b/drivers/mtd/nand/ndfc.c
@@ -174,7 +174,6 @@ static int ndfc_chip_init(struct ndfc_controller *ndfc,
 		return -ENODEV;
 	nand_set_flash_node(chip, flash_np);
 
-	ppdata.of_node = flash_np;
 	mtd->name = kasprintf(GFP_KERNEL, "%s.%s", dev_name(&ndfc->ofdev->dev),
 			      flash_np->name);
 	if (!mtd->name) {
-- 
2.6.2

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

^ permalink raw reply related	[flat|nested] 23+ messages in thread
* linux-next: build failure after merge of the l2-mtd tree
@ 2015-09-30  5:16 Stephen Rothwell
  0 siblings, 0 replies; 23+ messages in thread
From: Stephen Rothwell @ 2015-09-30  5:16 UTC (permalink / raw)
  To: Brian Norris; +Cc: linux-next, linux-kernel, Stefan Agner

Hi Brian,

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

drivers/mtd/nand/vf610_nfc.c: In function 'vf610_nfc_resume':
drivers/mtd/nand/vf610_nfc.c:859:2: error: implicit declaration of function 'pinctrl_pm_select_default_state' [-Werror=implicit-function-declaration]
  pinctrl_pm_select_default_state(dev);
  ^

Caused by commit

  456930d80a2d ("mtd: nand: vf610_nfc: Freescale NFC for VF610, MPC5125 and others")

I have reverted that commit (and the following one) for today.

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

^ permalink raw reply	[flat|nested] 23+ messages in thread
* linux-next: build failure after merge of the l2-mtd tree
@ 2014-05-22  5:30 Stephen Rothwell
  2014-05-26 17:42 ` Brian Norris
  0 siblings, 1 reply; 23+ messages in thread
From: Stephen Rothwell @ 2014-05-22  5:30 UTC (permalink / raw)
  To: Artem Bityutskiy
  Cc: linux-next, linux-kernel, Vincenzo Aliberti, Brian Norris

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

Hi Artem,

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

drivers/mtd/lpddr/lpddr2_nvm.c: In function 'ow_enable':
drivers/mtd/lpddr/lpddr2_nvm.c:149:2: error: implicit declaration of function 'writel_relaxed' [-Werror=implicit-function-declaration]
  writel_relaxed(build_mr_cfgmask(pcm_data->bus_width) | 0x18,
  ^

Caused by commit 96ba9dd65788 ("mtd: lpddr: add driver for LPDDR2-NVM
PCM memories").

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

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

^ permalink raw reply	[flat|nested] 23+ messages in thread
* linux-next: build failure after merge of the l2-mtd tree
@ 2012-10-12  0:14 Stephen Rothwell
  2012-10-12  4:51 ` Dinh Nguyen
  2012-10-18  0:28 ` Stephen Rothwell
  0 siblings, 2 replies; 23+ messages in thread
From: Stephen Rothwell @ 2012-10-12  0:14 UTC (permalink / raw)
  To: Artem Bityutskiy; +Cc: linux-next, linux-kernel, Dinh Nguyen

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

Hi Artem,

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

ERROR: "denali_init" [drivers/mtd/nand/denali_pci.ko] undefined!
ERROR: "denali_remove" [drivers/mtd/nand/denali_pci.ko] undefined!

Probably caused by commit 305b1ee29c8e ("mtd: denali: split the generic
driver and PCI layer").

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

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

^ permalink raw reply	[flat|nested] 23+ messages in thread
* linux-next: build failure after merge of the l2-mtd tree
@ 2012-02-07  2:58 Stephen Rothwell
  2012-02-07  8:02 ` Artem Bityutskiy
  0 siblings, 1 reply; 23+ messages in thread
From: Stephen Rothwell @ 2012-02-07  2:58 UTC (permalink / raw)
  To: Artem Bityutskiy; +Cc: linux-next, linux-kernel

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

Hi Artem,

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

drivers/mtd/devices/pmc551.c: In function 'pmc551_erase':
drivers/mtd/devices/pmc551.c:157:2: error: implicit declaration of function 'pmc551_point' [-Werror=implicit-function-declaration]
drivers/mtd/devices/pmc551.c: At top level:
drivers/mtd/devices/pmc551.c:194:12: error: static declaration of 'pmc551_point' follows non-static declaration
drivers/mtd/devices/pmc551.c:157:2: note: previous implicit declaration of 'pmc551_point' was here
drivers/mtd/devices/pmc551.c: In function 'pmc551_unpoint':
drivers/mtd/devices/pmc551.c:229:1: warning: no return statement in function returning non-void [-Wreturn-type]

Caused by commit 1e43e2c68ec0 ("mtd: remove junk pmc551.h").  The last
warning was already there.  Please try to build test this stuff before
publishing ...

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

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

^ permalink raw reply	[flat|nested] 23+ messages in thread
* linux-next: build failure after merge of the l2-mtd tree
@ 2012-02-06  1:07 Stephen Rothwell
  2012-02-06  9:14 ` Artem Bityutskiy
  0 siblings, 1 reply; 23+ messages in thread
From: Stephen Rothwell @ 2012-02-06  1:07 UTC (permalink / raw)
  To: Artem Bityutskiy; +Cc: linux-next, linux-kernel, linux-mtd, David Woodhouse

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

Hi Artem,

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

drivers/mtd/devices/pmc551.c:191:12: error: conflicting types for 'pmc551_unpoint'
include/linux/mtd/pmc551.h:37:13: note: previous declaration of 'pmc551_unpoint' was here
drivers/mtd/devices/pmc551.c: In function 'pmc551_unpoint':
drivers/mtd/devices/pmc551.c:196:1: warning: no return statement in function returning non-void [-Wreturn-type]

Caused by commit 753c57f84b57 ("mtd: return error code from
mtd_unpoint").  [Mind you, I don't understand why those static functions
would be declared in a header file ...]

I have used the l2-mtd tree from next-20120203 for today.
-- 
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	[flat|nested] 23+ messages in thread

end of thread, other threads:[~2017-08-28 22:06 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-02-09  1:08 linux-next: build failure after merge of the l2-mtd tree Stephen Rothwell
2017-02-09  1:59 ` Brian Norris
  -- strict thread matches above, loose matches on Subject: below --
2017-08-28  2:19 Stephen Rothwell
2017-08-28 22:06 ` Brian Norris
2016-07-19  0:59 Stephen Rothwell
2016-07-19  1:20 ` Brian Norris
2016-07-19  1:46   ` Stephen Rothwell
2015-12-21  5:47 Stephen Rothwell
2015-09-30  5:16 Stephen Rothwell
2014-05-22  5:30 Stephen Rothwell
2014-05-26 17:42 ` Brian Norris
2014-05-26 23:59   ` Stephen Rothwell
2014-05-27 10:40     ` Artem Bityutskiy
2014-05-27 22:49       ` Stephen Rothwell
2012-10-12  0:14 Stephen Rothwell
2012-10-12  4:51 ` Dinh Nguyen
2012-10-18  0:28 ` Stephen Rothwell
2012-10-18  9:26   ` Artem Bityutskiy
2012-02-07  2:58 Stephen Rothwell
2012-02-07  8:02 ` Artem Bityutskiy
2012-02-06  1:07 Stephen Rothwell
2012-02-06  9:14 ` Artem Bityutskiy
2012-02-06 21:10   ` Stephen Rothwell

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