From: Sascha Hauer <s.hauer@pengutronix.de>
To: Alexander Aring <alex.aring@googlemail.com>
Cc: barebox@lists.infradead.org
Subject: Re: [PATCH] mtd-core: add writesize in MEMGETINFO ioctl
Date: Sat, 13 Oct 2012 14:31:08 +0200 [thread overview]
Message-ID: <20121013123108.GY27665@pengutronix.de> (raw)
In-Reply-To: <1350114328-23060-1-git-send-email-alex.aring@gmail.com>
On Sat, Oct 13, 2012 at 09:45:28AM +0200, Alexander Aring wrote:
> Add writesize in MEMGETINFO ioctl.
>
> Signed-off-by: Alexander Aring <alex.aring@gmail.com>
Applied, thanks
Sascha
> ---
> drivers/mtd/core.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/mtd/core.c b/drivers/mtd/core.c
> index 6550741..7c323a1 100644
> --- a/drivers/mtd/core.c
> +++ b/drivers/mtd/core.c
> @@ -143,6 +143,7 @@ int mtd_ioctl(struct cdev *cdev, int request, void *buf)
> user->flags = mtd->flags;
> user->size = mtd->size;
> user->erasesize = mtd->erasesize;
> + user->writesize = mtd->writesize;
> user->oobsize = mtd->oobsize;
> user->mtd = mtd;
> /* The below fields are obsolete */
> --
> 1.7.12.2
>
>
> _______________________________________________
> barebox mailing list
> barebox@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
>
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
prev parent reply other threads:[~2012-10-13 12:31 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-10-13 7:45 Alexander Aring
2012-10-13 12:31 ` Sascha Hauer [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=20121013123108.GY27665@pengutronix.de \
--to=s.hauer@pengutronix.de \
--cc=alex.aring@googlemail.com \
--cc=barebox@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