Revert "kernel: mtdsplit_fit: always return 0 when partition can't be split"
authorChristian Marangi <[email protected]>
Tue, 18 Nov 2025 11:53:24 +0000 (12:53 +0100)
committerChristian Marangi <[email protected]>
Tue, 18 Nov 2025 11:53:29 +0000 (12:53 +0100)
commit1db7ed390db47267461c338530025d5ed00d6192
treed2964cf4f0ae52cbf8b2dbbe64fcbd681c58990c
parent39aa7c77f931b62a923dd5678bfe9bb706d7cce9
Revert "kernel: mtdsplit_fit: always return 0 when partition can't be split"

This reverts commit 627a0e7da0c84de6744c6453ef2ce8f5b4bf41dc.

A better solution has been accepted upstream that doesn't hide all
unexpected error.

Signed-off-by: Christian Marangi <[email protected]>
target/linux/generic/files/drivers/mtd/mtdsplit/mtdsplit_fit.c