* [PATCH] [MTD] slram: Invalid checking of absolute end address [not found] <CAHODtZT6UP4BCHuugpSr6q2=KoTDiGuW_hG_fqjWG7cXcTE35A@mail.gmail.com> @ 2012-09-20 14:49 ` Jiri Engelthaler 2012-10-04 15:43 ` Artem Bityutskiy 0 siblings, 1 reply; 2+ messages in thread From: Jiri Engelthaler @ 2012-09-20 14:49 UTC (permalink / raw) To: linux-mtd Fixed parsing end absolute address Signed-off-by: Jiri Engelthaler <engycz@gmail.com> --- --- linux-3.2.28/drivers/mtd/devices/slram.c 2012-08-19 19:15:38.000000000 +0200 +++ linux-3.2.28.mod/drivers/mtd/devices/slram.c 2012-09-19 18:29:28.012740703 +0200 @@ -266,7 +266,7 @@ static int parse_cmdline(char *devname, if (*(szlength) != '+') { devlength = simple_strtoul(szlength, &buffer, 0); - devlength = handle_unit(devlength, buffer) - devstart; + devlength = handle_unit(devlength, buffer); if (devlength < devstart) goto err_out; ^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] [MTD] slram: Invalid checking of absolute end address 2012-09-20 14:49 ` [PATCH] [MTD] slram: Invalid checking of absolute end address Jiri Engelthaler @ 2012-10-04 15:43 ` Artem Bityutskiy 0 siblings, 0 replies; 2+ messages in thread From: Artem Bityutskiy @ 2012-10-04 15:43 UTC (permalink / raw) To: Jiri Engelthaler; +Cc: linux-mtd [-- Attachment #1: Type: text/plain, Size: 725 bytes --] On Thu, 2012-09-20 at 16:49 +0200, Jiri Engelthaler wrote: > Fixed parsing end absolute address > Signed-off-by: Jiri Engelthaler <engycz@gmail.com> > --- > --- linux-3.2.28/drivers/mtd/devices/slram.c 2012-08-19 19:15:38.000000000 +0200 > +++ linux-3.2.28.mod/drivers/mtd/devices/slram.c 2012-09-19 > 18:29:28.012740703 +0200 > @@ -266,7 +266,7 @@ static int parse_cmdline(char *devname, > > if (*(szlength) != '+') { > devlength = simple_strtoul(szlength, &buffer, 0); > - devlength = handle_unit(devlength, buffer) - devstart; > + devlength = handle_unit(devlength, buffer); > if (devlength < devstart) > goto err_out; Pushed to l2-mtd.git, thanks! -- Best Regards, Artem Bityutskiy [-- Attachment #2: This is a digitally signed message part --] [-- Type: application/pgp-signature, Size: 836 bytes --] ^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-10-04 15:43 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <CAHODtZT6UP4BCHuugpSr6q2=KoTDiGuW_hG_fqjWG7cXcTE35A@mail.gmail.com>
2012-09-20 14:49 ` [PATCH] [MTD] slram: Invalid checking of absolute end address Jiri Engelthaler
2012-10-04 15:43 ` Artem Bityutskiy
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox