linux-next.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* linux-next: mtd tree build failure
@ 2008-10-20  5:35 Stephen Rothwell
  2008-10-20  7:24 ` David Woodhouse
  0 siblings, 1 reply; 11+ messages in thread
From: Stephen Rothwell @ 2008-10-20  5:35 UTC (permalink / raw)
  To: David Woodhouse; +Cc: linux-next, Mike Rapoport, Russell King

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

Hi David,

Today's linux-next build (x86_64 allmodconfig) failed like this:

drivers/mtd/nand/gpio.c: In function 'gpio_nand_writebuf':
drivers/mtd/nand/gpio.c:90: error: implicit declaration of function 'writesb'
drivers/mtd/nand/gpio.c: In function 'gpio_nand_readbuf':
drivers/mtd/nand/gpio.c:97: error: implicit declaration of function 'readsb'
drivers/mtd/nand/gpio.c: In function 'gpio_nand_writebuf16':
drivers/mtd/nand/gpio.c:123: error: implicit declaration of function 'writesw'
drivers/mtd/nand/gpio.c: In function 'gpio_nand_readbuf16':
drivers/mtd/nand/gpio.c:138: error: implicit declaration of function 'readsw'

Caused by commit aaf7ea20000436df3cbb397ccb734ad1e2e5164d ("[MTD] [NAND]
GPIO NAND flash driver").  I assume this needs to depend on some
architecture/platform so I reverted it for now.
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

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

^ permalink raw reply	[flat|nested] 11+ messages in thread
* linux-next: mtd tree build failure
@ 2009-05-27  3:40 Stephen Rothwell
  0 siblings, 0 replies; 11+ messages in thread
From: Stephen Rothwell @ 2009-05-27  3:40 UTC (permalink / raw)
  To: David Woodhouse; +Cc: linux-next, linux-kernel

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

Hi David,

Today's linux-next build (x86_64 allmodconfig) failed like this:

drivers/mtd/maps/dilnetpc.c: In function 'init_dnpc':
drivers/mtd/maps/dilnetpc.c:448: error: 'struct mtd_partition' has no member named 'mtdp'
drivers/mtd/maps/dilnetpc.c:449: error: 'struct mtd_partition' has no member named 'mtdp'
drivers/mtd/maps/dilnetpc.c:450: error: 'struct mtd_partition' has no member named 'mtdp'
drivers/mtd/maps/dilnetpc.c:451: error: 'struct mtd_partition' has no member named 'mtdp'

Caused by commit b90cf6681f4f6263920616e7ca2fd09130e4143a ("[MTD] Remove
option for add_mtd_partitions() to not register partitions.").  The
comment in that commit even says that it will cause this breakage, so why
hasn't this been fixed?

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

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

^ permalink raw reply	[flat|nested] 11+ messages in thread
* linux-next: mtd tree build failure
@ 2008-08-07  3:30 Stephen Rothwell
  2008-08-07 14:19 ` Stephen Rothwell
  0 siblings, 1 reply; 11+ messages in thread
From: Stephen Rothwell @ 2008-08-07  3:30 UTC (permalink / raw)
  To: David Woodhouse; +Cc: linux-next, Alexey Korolev

Hi Dave,

Today's linux-next build (x86_64 allmodconfig) failed like this:

ERROR: "qry_present" [drivers/mtd/chips/cfi_probe.ko] undefined!
ERROR: "qry_mode_off" [drivers/mtd/chips/cfi_probe.ko] undefined!
ERROR: "qry_mode_on" [drivers/mtd/chips/cfi_probe.ko] undefined!

Caused by commit 2e489e077a6ad118c4f247faedf330117b107cce ("[MTD] [NOR]
Add qry_mode_on()/qry_omde_off() to deal with odd chips").

I added the following patch.

Those names are very generic for kernel global symbols ...
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

>From 6e7b82917d1b8621c6520581c3e036956d16f8ab Mon Sep 17 00:00:00 2001
From: Stephen Rothwell <sfr@canb.auug.org.au>
Date: Thu, 7 Aug 2008 13:28:04 +1000
Subject: [PATCH] mtd: export qry_{preset,mode_on,mode_off}

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
---
 drivers/mtd/chips/cfi_util.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/drivers/mtd/chips/cfi_util.c b/drivers/mtd/chips/cfi_util.c
index 8d75536..4a60408 100644
--- a/drivers/mtd/chips/cfi_util.c
+++ b/drivers/mtd/chips/cfi_util.c
@@ -50,6 +50,7 @@ int __xipram qry_present(struct map_info *map, __u32 base,
 
 	return 1; 	/* "QRY" found */
 }
+EXPORT_SYMBOL_GPL(qry_present);
 
 int __xipram qry_mode_on(uint32_t base, struct map_info *map,
 				struct cfi_private *cfi)
@@ -73,12 +74,15 @@ int __xipram qry_mode_on(uint32_t base, struct map_info *map,
 	/* QRY not found */
 	return 0;
 }
+EXPORT_SYMBOL_GPL(qry_mode_on);
+
 void __xipram qry_mode_off(uint32_t base, struct map_info *map,
 				struct cfi_private *cfi)
 {
 	cfi_send_gen_cmd(0xF0, 0, base, map, cfi, cfi->device_type, NULL);
 	cfi_send_gen_cmd(0xFF, 0, base, map, cfi, cfi->device_type, NULL);
 }
+EXPORT_SYMBOL_GPL(qry_mode_off);
 
 struct cfi_extquery *
 __xipram cfi_read_pri(struct map_info *map, __u16 adr, __u16 size, const char* name)
-- 
1.5.6.3

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

end of thread, other threads:[~2009-05-27  3:40 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-20  5:35 linux-next: mtd tree build failure Stephen Rothwell
2008-10-20  7:24 ` David Woodhouse
2008-10-20  8:33   ` Mike Rapoport
2008-10-20  8:48     ` David Woodhouse
2008-11-16  7:39       ` [PATCH] MTD: NAND: make gpio_nand use io{read,write}{8,16}_rep (was: Re: linux-next: mtd tree build failure) Mike Rapoport
  -- strict thread matches above, loose matches on Subject: below --
2009-05-27  3:40 linux-next: mtd tree build failure Stephen Rothwell
2008-08-07  3:30 Stephen Rothwell
2008-08-07 14:19 ` Stephen Rothwell
2008-08-09 20:41   ` Alexey Korolev
2008-08-09 21:33     ` David Woodhouse
2008-08-11  8:30       ` Alexey Korolev

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