linux-sh.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] mtd: maps: vmu-flash: Fix build and runtime errors
@ 2025-11-17 22:44 Florian Fuchs
  2025-11-17 22:44 ` [PATCH 1/3] sh: maple: Fix build error due to missing include of linux/device.h Florian Fuchs
                   ` (3 more replies)
  0 siblings, 4 replies; 10+ messages in thread
From: Florian Fuchs @ 2025-11-17 22:44 UTC (permalink / raw)
  To: Miquel Raynal, Richard Weinberger, Vignesh Raghavendra, linux-mtd
  Cc: linux-sh, linux-kernel, Rich Felker, John Paul Adrian Glaubitz,
	Florian Fuchs

Hi all,

This small series fixes build and runtime errors in the vmu-flash driver
(enabled by CONFIG_MTD_VMU) and the included maple.h. These changes were
verified on real Dreamcast hardware with a physical VMU. The VMU can now
be successfully probed, read and written with MTD tools like mtd_info and
mtd_debug. Previously, the driver failed to build or crashed during
probing.

	bash-5.3# mtdinfo /dev/mtd0
	mtd0
	Name:                           vmu2.1.0
	Type:                           mlc-nand
	Eraseblock size:                512 bytes
	Amount of eraseblocks:          256 (131072 bytes, 128.0 KiB)
	Minimum input/output unit size: 512 bytes
	Sub-page size:                  512 bytes
	Character device major/minor:   90:0
	Bad blocks are allowed:         true
	Device is writable:             true

Thanks,
Florian

Florian Fuchs (3):
  sh: maple: Fix build error due to missing include of linux/device.h
  mtd: maps: vmu-flash: Fix fault in unaligned fixup
  mtd: maps: vmu-flash: Fix NULL pointer dereference in initialization

 drivers/mtd/maps/vmu-flash.c | 8 +++++---
 include/linux/maple.h        | 2 --
 2 files changed, 5 insertions(+), 5 deletions(-)


base-commit: 97315e7c901a1de60e8ca9b11e0e96d0f9253e18
-- 
2.43.0


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

end of thread, other threads:[~2025-11-20  9:09 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-11-17 22:44 [PATCH 0/3] mtd: maps: vmu-flash: Fix build and runtime errors Florian Fuchs
2025-11-17 22:44 ` [PATCH 1/3] sh: maple: Fix build error due to missing include of linux/device.h Florian Fuchs
2025-11-17 22:44 ` [PATCH 2/3] mtd: maps: vmu-flash: Fix fault in unaligned fixup Florian Fuchs
2025-11-17 22:44 ` [PATCH 3/3] mtd: maps: vmu-flash: Fix NULL pointer dereference in initialization Florian Fuchs
2025-11-18  7:31 ` [PATCH 0/3] mtd: maps: vmu-flash: Fix build and runtime errors John Paul Adrian Glaubitz
2025-11-19 21:36   ` Artur Rojek
2025-11-19 21:44     ` Florian Fuchs
2025-11-19 21:54       ` Artur Rojek
2025-11-20  8:52         ` Florian Fuchs
2025-11-20  9:09           ` John Paul Adrian Glaubitz

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).