All of lore.kernel.org
 help / color / mirror / Atom feed
From: Miquel Raynal <miquel.raynal@bootlin.com>
To: Yu Kuai <yukuai3@huawei.com>,
	joern@lazybastard.org, miquel.raynal@bootlin.com, richard@nod.at,
	vigneshr@ti.com
Cc: linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org,
	yi.zhang@huawei.com
Subject: Re: [PATCH V2] mtd: phram: Fix error return code in phram_setup()
Date: Mon, 10 May 2021 11:10:00 +0200	[thread overview]
Message-ID: <20210510091000.4036-1-miquel.raynal@bootlin.com> (raw)
In-Reply-To: <20210408133812.1209798-1-yukuai3@huawei.com>

On Thu, 2021-04-08 at 13:38:12 UTC, Yu Kuai wrote:
> Return a negative error code from the error handling case instead
> of 0, as done elsewhere in this function.
> 
> Reported-by: Hulk Robot <hulkci@huawei.com>
> Signed-off-by: Yu Kuai <yukuai3@huawei.com>

Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git mtd/next, thanks.

Miquel

WARNING: multiple messages have this Message-ID (diff)
From: Miquel Raynal <miquel.raynal@bootlin.com>
To: Yu Kuai <yukuai3@huawei.com>,
	joern@lazybastard.org, miquel.raynal@bootlin.com, richard@nod.at,
	vigneshr@ti.com
Cc: linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org,
	yi.zhang@huawei.com
Subject: Re: [PATCH V2] mtd: phram: Fix error return code in phram_setup()
Date: Mon, 10 May 2021 11:10:00 +0200	[thread overview]
Message-ID: <20210510091000.4036-1-miquel.raynal@bootlin.com> (raw)
In-Reply-To: <20210408133812.1209798-1-yukuai3@huawei.com>

On Thu, 2021-04-08 at 13:38:12 UTC, Yu Kuai wrote:
> Return a negative error code from the error handling case instead
> of 0, as done elsewhere in this function.
> 
> Reported-by: Hulk Robot <hulkci@huawei.com>
> Signed-off-by: Yu Kuai <yukuai3@huawei.com>

Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git mtd/next, thanks.

Miquel

______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/

  parent reply	other threads:[~2021-05-10  9:10 UTC|newest]

Thread overview: 38+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-08 11:15 [PATCH 0/3] code optimization for mtd Yu Kuai
2021-04-08 11:15 ` Yu Kuai
2021-04-08 11:15 ` Yu Kuai
2021-04-08 11:15 ` Yu Kuai
2021-04-08 11:15 ` [PATCH 1/3] mtd: rawnand: mtk: remove redundant dev_err call in mtk_ecc_probe() Yu Kuai
2021-04-08 11:15   ` Yu Kuai
2021-04-08 11:15   ` Yu Kuai
2021-04-08 11:15   ` Yu Kuai
2021-05-10  9:10   ` Miquel Raynal
2021-05-10  9:10     ` Miquel Raynal
2021-05-10  9:10     ` Miquel Raynal
2021-05-10  9:10     ` Miquel Raynal
2021-04-08 11:15 ` [PATCH 2/3] mtd: plat-ram: remove redundant dev_err call in platram_probe() Yu Kuai
2021-04-08 11:15   ` Yu Kuai
2021-04-08 11:15   ` Yu Kuai
2021-04-08 11:15   ` Yu Kuai
2021-05-10  9:10   ` Miquel Raynal
2021-05-10  9:10     ` Miquel Raynal
2021-05-10  9:10     ` Miquel Raynal
2021-05-10  9:10     ` Miquel Raynal
2021-04-08 11:15 ` [PATCH 3/3] mtd: phram: Fix error return code in phram_setup() Yu Kuai
2021-04-08 11:15   ` Yu Kuai
2021-04-08 11:15   ` Yu Kuai
2021-04-08 11:15   ` Yu Kuai
2021-04-08 12:46   ` Miquel Raynal
2021-04-08 12:46     ` Miquel Raynal
2021-04-08 12:46     ` Miquel Raynal
2021-04-08 12:46     ` Miquel Raynal
2021-04-08 13:26     ` yukuai (C)
2021-04-08 13:26       ` yukuai (C)
2021-04-08 13:26       ` yukuai (C)
2021-04-08 13:26       ` yukuai (C)
2021-04-08 13:38     ` [PATCH V2] " Yu Kuai
2021-04-08 13:38       ` Yu Kuai
2021-04-08 13:33       ` Miquel Raynal
2021-04-08 13:33         ` Miquel Raynal
2021-05-10  9:10       ` Miquel Raynal [this message]
2021-05-10  9:10         ` Miquel Raynal

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=20210510091000.4036-1-miquel.raynal@bootlin.com \
    --to=miquel.raynal@bootlin.com \
    --cc=joern@lazybastard.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mtd@lists.infradead.org \
    --cc=richard@nod.at \
    --cc=vigneshr@ti.com \
    --cc=yi.zhang@huawei.com \
    --cc=yukuai3@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.