From: Dongsheng Yang <dongsheng.yang@easystack.cn>
To: Yaowei Bai <baiyaowei@cmss.chinamobile.com>,
dwmw2@infradead.org, computersforpeace@gmail.com, richard@nod.at,
boris.brezillon@free-electrons.com
Cc: linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org,
Richard Weinberger <richard@nod.at>,
computersforpeace@gmail.com
Subject: Re: [PATCH 0/5] drivers/mtd: make several functions return bool
Date: Fri, 25 Mar 2016 10:54:51 +0800 [thread overview]
Message-ID: <56F4A87B.5090100@easystack.cn> (raw)
In-Reply-To: <1458873715-3670-1-git-send-email-baiyaowei@cmss.chinamobile.com>
ccing: Brian and Richard
Hi Yao,
Is that really necessary? I am not sure how much benefit we can
achieve from this change.
Could you explain more?
Yang
On 03/25/2016 10:41 AM, Yaowei Bai wrote:
> This series only make several funcitons return bool to improve
> readability, no other funcitonal changes.
>
> Yaowei Bai (5):
> drivers/mtd: mtd_is_partition can be boolean
> drivers/mtd: cfi_interleave_supported can be boolean
> drivers/mtd: map_bankwidth_supported can be boolean
> drivers/mtd: mtd_nand_has_bch can be boolean
> drivers/mtd/nand: nand_opcode_8bits can be boolean
>
> drivers/mtd/mtdpart.c | 6 +++---
> include/linux/mtd/cfi.h | 6 +++---
> include/linux/mtd/map.h | 6 +++---
> include/linux/mtd/nand.h | 6 +++---
> include/linux/mtd/nand_bch.h | 4 ++--
> include/linux/mtd/partitions.h | 2 +-
> 6 files changed, 15 insertions(+), 15 deletions(-)
>
next prev parent reply other threads:[~2016-03-25 2:54 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-03-25 2:41 [PATCH 0/5] drivers/mtd: make several functions return bool Yaowei Bai
2016-03-25 2:41 ` [PATCH 1/5] drivers/mtd: mtd_is_partition can be boolean Yaowei Bai
2016-03-25 2:41 ` [PATCH 2/5] drivers/mtd: cfi_interleave_supported " Yaowei Bai
2016-03-25 2:41 ` [PATCH 3/5] drivers/mtd: map_bankwidth_supported " Yaowei Bai
2016-03-25 2:41 ` [PATCH 4/5] drivers/mtd: mtd_nand_has_bch " Yaowei Bai
2016-03-25 2:41 ` [PATCH 5/5] drivers/mtd/nand: nand_opcode_8bits " Yaowei Bai
2016-03-25 2:54 ` Dongsheng Yang [this message]
2016-03-25 6:31 ` [PATCH 0/5] drivers/mtd: make several functions return bool Yaowei Bai
2016-03-25 7:51 ` Boris Brezillon
2016-03-25 8:42 ` Yaowei Bai
2016-03-25 7:57 ` Richard Weinberger
2016-03-25 8:41 ` Yaowei Bai
2016-03-25 8:58 ` Boris Brezillon
2016-03-25 9:24 ` Yaowei Bai
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=56F4A87B.5090100@easystack.cn \
--to=dongsheng.yang@easystack.cn \
--cc=baiyaowei@cmss.chinamobile.com \
--cc=boris.brezillon@free-electrons.com \
--cc=computersforpeace@gmail.com \
--cc=dwmw2@infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mtd@lists.infradead.org \
--cc=richard@nod.at \
/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