2008-08-06 11:13:21

by David Brownell

[permalink] [raw]
Subject: Re: linux-next: Tree for August 5 (MTD build error)

On Wednesday 06 August 2008, David Brownell wrote:
> On Tuesday 05 August 2008, Randy Dunlap wrote:
> >
> > linux-next-20080805/drivers/mtd/devices/mtd_dataflash.c: In function 'add_dataflash_otp':
> > linux-next-20080805/drivers/mtd/devices/mtd_dataflash.c:670: error: too many arguments to function 'otp_setup'
>
> Bad merge somewhere?

Whoops, sorry ... I see what was going on. My bad.

--- g26.orig/drivers/mtd/devices/mtd_dataflash.c 2008-08-06 04:12:45.000000000 -0700
+++ g26/drivers/mtd/devices/mtd_dataflash.c 2008-08-06 04:11:55.000000000 -0700
@@ -616,7 +616,7 @@ static char *otp_setup(struct mtd_info *

#else

-static char *otp_setup(struct mtd_info *device)
+static char *otp_setup(struct mtd_info *device, char revision)
{
return " (OTP)";
}


2008-08-07 00:14:46

by Randy Dunlap

[permalink] [raw]
Subject: Re: linux-next: Tree for August 5 (MTD build error)

On Wed, 6 Aug 2008 04:13:08 -0700 David Brownell wrote:

> On Wednesday 06 August 2008, David Brownell wrote:
> > On Tuesday 05 August 2008, Randy Dunlap wrote:
> > >
> > > linux-next-20080805/drivers/mtd/devices/mtd_dataflash.c: In function 'add_dataflash_otp':
> > > linux-next-20080805/drivers/mtd/devices/mtd_dataflash.c:670: error: too many arguments to function 'otp_setup'
> >
> > Bad merge somewhere?
>
> Whoops, sorry ... I see what was going on. My bad.
>
> --- g26.orig/drivers/mtd/devices/mtd_dataflash.c 2008-08-06 04:12:45.000000000 -0700
> +++ g26/drivers/mtd/devices/mtd_dataflash.c 2008-08-06 04:11:55.000000000 -0700
> @@ -616,7 +616,7 @@ static char *otp_setup(struct mtd_info *
>
> #else
>
> -static char *otp_setup(struct mtd_info *device)
> +static char *otp_setup(struct mtd_info *device, char revision)
> {
> return " (OTP)";
> }
> --

Acked-by: Randy Dunlap <[email protected]>

Thanks, David.

---
~Randy
Linux Plumbers Conference, 17-19 September 2008, Portland, Oregon USA
http://linuxplumbersconf.org/

2008-08-07 05:09:41

by Stephen Rothwell

[permalink] [raw]
Subject: Re: linux-next: Tree for August 5 (MTD build error)

Hi David,

On Wed, 6 Aug 2008 04:13:08 -0700 David Brownell <[email protected]> wrote:
>
> On Wednesday 06 August 2008, David Brownell wrote:
> > On Tuesday 05 August 2008, Randy Dunlap wrote:
> > >
> > > linux-next-20080805/drivers/mtd/devices/mtd_dataflash.c: In function 'add_dataflash_otp':
> > > linux-next-20080805/drivers/mtd/devices/mtd_dataflash.c:670: error: too many arguments to function 'otp_setup'
>
> Whoops, sorry ... I see what was going on. My bad.
>
> --- g26.orig/drivers/mtd/devices/mtd_dataflash.c 2008-08-06 04:12:45.000000000 -0700
> +++ g26/drivers/mtd/devices/mtd_dataflash.c 2008-08-06 04:11:55.000000000 -0700
> @@ -616,7 +616,7 @@ static char *otp_setup(struct mtd_info *
>
> #else
>
> -static char *otp_setup(struct mtd_info *device)
> +static char *otp_setup(struct mtd_info *device, char revision)
> {
> return " (OTP)";
> }
>

I will add this patch to linux-next today in the hope it will be
integrated somewhere soon (hint, hint :-)).

--
Cheers,
Stephen Rothwell [email protected]
http://www.canb.auug.org.au/~sfr/


Attachments:
(No filename) (1.06 kB)
(No filename) (197.00 B)
Download all attachments

2008-08-07 08:27:06

by David Woodhouse

[permalink] [raw]
Subject: Re: linux-next: Tree for August 5 (MTD build error)

On Thu, 2008-08-07 at 14:40 +1000, Stephen Rothwell wrote:
>
> I will add this patch to linux-next today in the hope it will be
> integrated somewhere soon (hint, hint :-)).

Yeah, I was waiting for a version with a signed-off-by, which I have now
so I'll merge it.

--
dwmw2

2008-08-07 13:13:35

by Stephen Rothwell

[permalink] [raw]
Subject: Re: linux-next: Tree for August 5 (MTD build error)

Hi Dave,

On Thu, 07 Aug 2008 09:26:35 +0100 David Woodhouse <[email protected]> wrote:
>
> On Thu, 2008-08-07 at 14:40 +1000, Stephen Rothwell wrote:
> >
> > I will add this patch to linux-next today in the hope it will be
> > integrated somewhere soon (hint, hint :-)).
>
> Yeah, I was waiting for a version with a signed-off-by, which I have now
> so I'll merge it.

Thanks.

--
Cheers,
Stephen Rothwell [email protected]
http://www.canb.auug.org.au/~sfr/


Attachments:
(No filename) (486.00 B)
(No filename) (197.00 B)
Download all attachments