LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [PATCH v2 0/2] mtd: mtdconcat: Fix callback functions check
@ 2021-08-17 11:48 Zhihao Cheng
  2021-08-17 11:48 ` [PATCH v2 1/2] mtd: mtdconcat: Judge callback existence based on the master Zhihao Cheng
  2021-08-17 11:48 ` [PATCH v2 2/2] mtd: mtdconcat: Check _read,_write callbacks existence before assignment Zhihao Cheng
  0 siblings, 2 replies; 5+ messages in thread
From: Zhihao Cheng @ 2021-08-17 11:48 UTC (permalink / raw)
  To: miquel.raynal, richard, vigneshr, bbrezillon
  Cc: linux-mtd, linux-kernel, chengzhihao1, yukuai3

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-08-17 16:49 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-17 11:48 [PATCH v2 0/2] mtd: mtdconcat: Fix callback functions check Zhihao Cheng
2021-08-17 11:48 ` [PATCH v2 1/2] mtd: mtdconcat: Judge callback existence based on the master Zhihao Cheng
2021-08-17 16:49   ` Miquel Raynal
2021-08-17 11:48 ` [PATCH v2 2/2] mtd: mtdconcat: Check _read,_write callbacks existence before assignment Zhihao Cheng
2021-08-17 16:49   ` [PATCH v2 2/2] mtd: mtdconcat: Check _read, _write " Miquel Raynal

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).