All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] mtd: tmio_nand: fix build error
@ 2011-06-30  4:34 Axel Lin
  2011-06-30  8:23   ` Dmitry Eremin-Solenikov
  0 siblings, 1 reply; 7+ messages in thread
From: Axel Lin @ 2011-06-30  4:34 UTC (permalink / raw)
  To: linux-kernel
  Cc: Dmitry Eremin-Solenikov, Artem Bityutskiy, David Woodhouse, linux-mtd

Fix a mistake introduced by commit 33f4a3b
"mtd: tmio_nand.c: use mtd_device_parse_register"

  CC [M]  drivers/mtd/nand/tmio_nand.o
drivers/mtd/nand/tmio_nand.c:461:35: error: macro "mtd_device_register" passed 5 arguments, but takes just 3
drivers/mtd/nand/tmio_nand.c: In function 'tmio_probe':
drivers/mtd/nand/tmio_nand.c:459: error: 'mtd_device_register' undeclared (first use in this function)
drivers/mtd/nand/tmio_nand.c:459: error: (Each undeclared identifier is reported only once
drivers/mtd/nand/tmio_nand.c:459: error: for each function it appears in.)
make[3]: *** [drivers/mtd/nand/tmio_nand.o] Error 1
make[2]: *** [drivers/mtd/nand] Error 2
make[1]: *** [drivers/mtd] Error 2
make: *** [drivers] Error 2

Signed-off-by: Axel Lin <axel.lin@gmail.com>
---
 drivers/mtd/nand/tmio_nand.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/mtd/nand/tmio_nand.c b/drivers/mtd/nand/tmio_nand.c
index d476857..beebd95 100644
--- a/drivers/mtd/nand/tmio_nand.c
+++ b/drivers/mtd/nand/tmio_nand.c
@@ -456,7 +456,7 @@ static int tmio_probe(struct platform_device *dev)
 		goto err_scan;
 	}
 	/* Register the partitions */
-	retval = mtd_device_register(mtd, NULL, 0,
+	retval = mtd_device_parse_register(mtd, NULL, 0,
 			data ? data->partition : NULL,
 			data ? data->num_partitions : 0);
 	if (!retval)
-- 
1.7.4.1




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

* Re: [PATCH] mtd: tmio_nand: fix build error
  2011-06-30  4:34 [PATCH] mtd: tmio_nand: fix build error Axel Lin
@ 2011-06-30  8:23   ` Dmitry Eremin-Solenikov
  0 siblings, 0 replies; 7+ messages in thread
From: Dmitry Eremin-Solenikov @ 2011-06-30  8:23 UTC (permalink / raw)
  To: Axel Lin; +Cc: linux-kernel, Artem Bityutskiy, David Woodhouse, linux-mtd

On 6/30/11, Axel Lin <axel.lin@gmail.com> wrote:
> Fix a mistake introduced by commit 33f4a3b
> "mtd: tmio_nand.c: use mtd_device_parse_register"

Already sumbited 27 June 2011. Strangely Artem remains silent.

>   CC [M]  drivers/mtd/nand/tmio_nand.o
> drivers/mtd/nand/tmio_nand.c:461:35: error: macro "mtd_device_register"
> passed 5 arguments, but takes just 3
> drivers/mtd/nand/tmio_nand.c: In function 'tmio_probe':
> drivers/mtd/nand/tmio_nand.c:459: error: 'mtd_device_register' undeclared
> (first use in this function)
> drivers/mtd/nand/tmio_nand.c:459: error: (Each undeclared identifier is
> reported only once
> drivers/mtd/nand/tmio_nand.c:459: error: for each function it appears in.)
> make[3]: *** [drivers/mtd/nand/tmio_nand.o] Error 1
> make[2]: *** [drivers/mtd/nand] Error 2
> make[1]: *** [drivers/mtd] Error 2
> make: *** [drivers] Error 2

-- 
With best wishes
Dmitry

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

* Re: [PATCH] mtd: tmio_nand: fix build error
@ 2011-06-30  8:23   ` Dmitry Eremin-Solenikov
  0 siblings, 0 replies; 7+ messages in thread
From: Dmitry Eremin-Solenikov @ 2011-06-30  8:23 UTC (permalink / raw)
  To: Axel Lin; +Cc: Artem Bityutskiy, David Woodhouse, linux-kernel, linux-mtd

On 6/30/11, Axel Lin <axel.lin@gmail.com> wrote:
> Fix a mistake introduced by commit 33f4a3b
> "mtd: tmio_nand.c: use mtd_device_parse_register"

Already sumbited 27 June 2011. Strangely Artem remains silent.

>   CC [M]  drivers/mtd/nand/tmio_nand.o
> drivers/mtd/nand/tmio_nand.c:461:35: error: macro "mtd_device_register"
> passed 5 arguments, but takes just 3
> drivers/mtd/nand/tmio_nand.c: In function 'tmio_probe':
> drivers/mtd/nand/tmio_nand.c:459: error: 'mtd_device_register' undeclared
> (first use in this function)
> drivers/mtd/nand/tmio_nand.c:459: error: (Each undeclared identifier is
> reported only once
> drivers/mtd/nand/tmio_nand.c:459: error: for each function it appears in.)
> make[3]: *** [drivers/mtd/nand/tmio_nand.o] Error 1
> make[2]: *** [drivers/mtd/nand] Error 2
> make[1]: *** [drivers/mtd] Error 2
> make: *** [drivers] Error 2

-- 
With best wishes
Dmitry

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

* Re: [PATCH] mtd: tmio_nand: fix build error
  2011-06-30  8:23   ` Dmitry Eremin-Solenikov
@ 2011-06-30 12:08     ` Artem Bityutskiy
  -1 siblings, 0 replies; 7+ messages in thread
From: Artem Bityutskiy @ 2011-06-30 12:08 UTC (permalink / raw)
  To: Dmitry Eremin-Solenikov
  Cc: Axel Lin, Artem Bityutskiy, David Woodhouse, linux-kernel, linux-mtd

On Thu, 2011-06-30 at 12:23 +0400, Dmitry Eremin-Solenikov wrote:
> On 6/30/11, Axel Lin <axel.lin@gmail.com> wrote:
> > Fix a mistake introduced by commit 33f4a3b
> > "mtd: tmio_nand.c: use mtd_device_parse_register"
> 
> Already sumbited 27 June 2011. Strangely Artem remains silent.

I handle my mailbox in FIFO order (with exceptions) so I have not
reached your patch yet. Now I've merged it with one of your previous
patches to keep the kernel bisectable.

Thanks!

-- 
Best Regards,
Artem Bityutskiy


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

* Re: [PATCH] mtd: tmio_nand: fix build error
@ 2011-06-30 12:08     ` Artem Bityutskiy
  0 siblings, 0 replies; 7+ messages in thread
From: Artem Bityutskiy @ 2011-06-30 12:08 UTC (permalink / raw)
  To: Dmitry Eremin-Solenikov
  Cc: Artem Bityutskiy, Axel Lin, David Woodhouse, linux-kernel, linux-mtd

On Thu, 2011-06-30 at 12:23 +0400, Dmitry Eremin-Solenikov wrote:
> On 6/30/11, Axel Lin <axel.lin@gmail.com> wrote:
> > Fix a mistake introduced by commit 33f4a3b
> > "mtd: tmio_nand.c: use mtd_device_parse_register"
> 
> Already sumbited 27 June 2011. Strangely Artem remains silent.

I handle my mailbox in FIFO order (with exceptions) so I have not
reached your patch yet. Now I've merged it with one of your previous
patches to keep the kernel bisectable.

Thanks!

-- 
Best Regards,
Artem Bityutskiy

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

* Re: [PATCH] mtd: tmio_nand: fix build error
  2011-06-30 12:08     ` Artem Bityutskiy
@ 2011-06-30 12:41       ` Dmitry Eremin-Solenikov
  -1 siblings, 0 replies; 7+ messages in thread
From: Dmitry Eremin-Solenikov @ 2011-06-30 12:41 UTC (permalink / raw)
  To: dedekind1
  Cc: Axel Lin, Artem Bityutskiy, David Woodhouse, linux-kernel, linux-mtd

On 6/30/11, Artem Bityutskiy <dedekind1@gmail.com> wrote:
> On Thu, 2011-06-30 at 12:23 +0400, Dmitry Eremin-Solenikov wrote:
>> On 6/30/11, Axel Lin <axel.lin@gmail.com> wrote:
>> > Fix a mistake introduced by commit 33f4a3b
>> > "mtd: tmio_nand.c: use mtd_device_parse_register"
>>
>> Already sumbited 27 June 2011. Strangely Artem remains silent.
>
> I handle my mailbox in FIFO order (with exceptions) so I have not
> reached your patch yet. Now I've merged it with one of your previous
> patches to keep the kernel bisectable.

Thanks and sorry if my comment offended you! It's just I see most of
MLs/patches in threads, so I was a bit puzzled.

-- 
With best wishes
Dmitry

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

* Re: [PATCH] mtd: tmio_nand: fix build error
@ 2011-06-30 12:41       ` Dmitry Eremin-Solenikov
  0 siblings, 0 replies; 7+ messages in thread
From: Dmitry Eremin-Solenikov @ 2011-06-30 12:41 UTC (permalink / raw)
  To: dedekind1
  Cc: Artem Bityutskiy, Axel Lin, David Woodhouse, linux-kernel, linux-mtd

On 6/30/11, Artem Bityutskiy <dedekind1@gmail.com> wrote:
> On Thu, 2011-06-30 at 12:23 +0400, Dmitry Eremin-Solenikov wrote:
>> On 6/30/11, Axel Lin <axel.lin@gmail.com> wrote:
>> > Fix a mistake introduced by commit 33f4a3b
>> > "mtd: tmio_nand.c: use mtd_device_parse_register"
>>
>> Already sumbited 27 June 2011. Strangely Artem remains silent.
>
> I handle my mailbox in FIFO order (with exceptions) so I have not
> reached your patch yet. Now I've merged it with one of your previous
> patches to keep the kernel bisectable.

Thanks and sorry if my comment offended you! It's just I see most of
MLs/patches in threads, so I was a bit puzzled.

-- 
With best wishes
Dmitry

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

end of thread, other threads:[~2011-06-30 12:41 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-06-30  4:34 [PATCH] mtd: tmio_nand: fix build error Axel Lin
2011-06-30  8:23 ` Dmitry Eremin-Solenikov
2011-06-30  8:23   ` Dmitry Eremin-Solenikov
2011-06-30 12:08   ` Artem Bityutskiy
2011-06-30 12:08     ` Artem Bityutskiy
2011-06-30 12:41     ` Dmitry Eremin-Solenikov
2011-06-30 12:41       ` Dmitry Eremin-Solenikov

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.