From: Richard Weinberger <richard@nod.at>
To: Sheng Yong <shengyong1@huawei.com>
Cc: linux-mtd@lists.infradead.org
Subject: Re: [PATCH] UBI: Remove unnecessary `\'
Date: Wed, 03 Jun 2015 09:42:33 +0200 [thread overview]
Message-ID: <556EAFE9.9080003@nod.at> (raw)
In-Reply-To: <29f5431ae885a8345034e519e8fc43fd8f67b48f.1433295361.git.shengyong1@huawei.com>
Am 03.06.2015 um 03:37 schrieb Sheng Yong:
> Signed-off-by: Sheng Yong <shengyong1@huawei.com>
> ---
> drivers/mtd/ubi/fastmap.c | 2 +-
> drivers/mtd/ubi/wl.c | 2 +-
> 2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/mtd/ubi/fastmap.c b/drivers/mtd/ubi/fastmap.c
> index 9eee904..4aa2fd8 100644
> --- a/drivers/mtd/ubi/fastmap.c
> +++ b/drivers/mtd/ubi/fastmap.c
> @@ -316,7 +316,7 @@ static int update_vol(struct ubi_device *ubi, struct ubi_attach_info *ai,
> list_add_tail(&victim->u.list, &ai->erase);
>
> if (av->highest_lnum == be32_to_cpu(new_vh->lnum))
> - av->last_data_size = \
> + av->last_data_size =
> be32_to_cpu(new_vh->data_size);
>
> dbg_bld("vol %i: AEB %i's PEB %i is the newer",
> diff --git a/drivers/mtd/ubi/wl.c b/drivers/mtd/ubi/wl.c
> index 16214d3..275d9fb 100644
> --- a/drivers/mtd/ubi/wl.c
> +++ b/drivers/mtd/ubi/wl.c
> @@ -1581,7 +1581,7 @@ int ubi_wl_init(struct ubi_device *ubi, struct ubi_attach_info *ai)
> dbg_wl("found %i PEBs", found_pebs);
>
> if (ubi->fm) {
> - ubi_assert(ubi->good_peb_count == \
> + ubi_assert(ubi->good_peb_count ==
> found_pebs + ubi->fm->used_blocks);
>
> for (i = 0; i < ubi->fm->used_blocks; i++) {
Applied.
Thanks,
//richard
prev parent reply other threads:[~2015-06-03 7:43 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-26 10:07 [RFC PATCH v2 0/6] UBI: Some cleanup and check if a vol exists when fastmap attaching Sheng Yong
2015-05-26 10:07 ` [RFC PATCH v2 1/6] UBI: Fastmap: Use max() to get the larger value Sheng Yong
2015-05-26 10:07 ` [RFC PATCH v2 2/6] UBI: Fastmap: Remove unnecessary `\' Sheng Yong
2015-05-26 10:07 ` [RFC PATCH v2 3/6] UBI: Fastmap: Rename variables to make them meaningful Sheng Yong
2015-05-26 10:07 ` [RFC PATCH v2 4/6] UBI: Init vol->reserved_pebs by assignment Sheng Yong
2015-05-26 10:07 ` [RFC PATCH v2 5/6] UBI: Fastmap: Do not add vol if it already exists Sheng Yong
2015-05-26 10:07 ` [RFC PATCH v2 6/6] UBI: add a helper function for updatting on-flash layout volumes Sheng Yong
2015-06-02 0:38 ` [RFC PATCH v2 0/6] UBI: Some cleanup and check if a vol exists when fastmap attaching Sheng Yong
2015-06-02 10:01 ` Richard Weinberger
2015-06-03 1:37 ` [PATCH] UBI: Remove unnecessary `\' Sheng Yong
2015-06-03 7:42 ` Richard Weinberger [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=556EAFE9.9080003@nod.at \
--to=richard@nod.at \
--cc=linux-mtd@lists.infradead.org \
--cc=shengyong1@huawei.com \
/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 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.