From: Artem Bityutskiy <dedekind1@gmail.com>
To: Jiri Engelthaler <engycz@gmail.com>
Cc: linux-mtd@lists.infradead.org
Subject: Re: [PATCH] [MTD] slram: Invalid checking of absolute end address
Date: Thu, 04 Oct 2012 18:43:09 +0300 [thread overview]
Message-ID: <1349365389.20373.72.camel@sauron.fi.intel.com> (raw)
In-Reply-To: <CAHODtZQEbc8d-U+MWY=dkZUfAJ-z0xOXMUXSWgg8Zotmicz0Ww@mail.gmail.com>
[-- 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 --]
prev parent reply other threads:[~2012-10-04 15:43 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[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 message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1349365389.20373.72.camel@sauron.fi.intel.com \
--to=dedekind1@gmail.com \
--cc=engycz@gmail.com \
--cc=linux-mtd@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox