[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20210817114857.2784825-1-chengzhihao1@huawei.com>
Date: Tue, 17 Aug 2021 19:48:55 +0800
From: Zhihao Cheng <chengzhihao1@...wei.com>
To: <miquel.raynal@...tlin.com>, <richard@....at>, <vigneshr@...com>,
<bbrezillon@...nel.org>
CC: <linux-mtd@...ts.infradead.org>, <linux-kernel@...r.kernel.org>,
<chengzhihao1@...wei.com>, <yukuai3@...wei.com>
Subject: [PATCH v2 0/2] mtd: mtdconcat: Fix callback functions check
Patch 1: Check subdev's master mtd device's callback function while
making concatenated device.
Patch 2: Check existence of _read|_write callback before assigning
them to concatenated device.
v1->v2:
Shorten two commit titles.
Patch 1: Add comment to explain why datamember checks for subdev
but callbacks checks for master device
Patch 1: Fix misspelled word, "comnoine fail" -> "combine failed"
Patch 2: Fix wrong commit message, "Since ... time. We should"
Patch 2: Check against the existence of _read|_read_oob callbacks
by master, no removing concat_{read|write}_oob.
Zhihao Cheng (2):
mtd: mtdconcat: Judge callback existence based on the master
mtd: mtdconcat: Check _read,_write callbacks existence before
assignment
drivers/mtd/mtdconcat.c | 33 +++++++++++++++++++++++----------
1 file changed, 23 insertions(+), 10 deletions(-)
--
2.31.1
Powered by blists - more mailing lists