Re: [syzbot] [mtd?] divide error in block2mtd_setup2
From: Jörn Engel
Date: Mon Aug 10 2026 - 13:08:57 EST
On Sun, Aug 09, 2026 at 07:03:22PM -0700, Jörn Engel wrote:
>
> Best guess would be this:
>
> if ((long)size % erase_size) {
While at it, what purpose does the cast to (long) serve?
As far as I can see, it is useless and should be removed. Fabian, do
you remember why it was necessary?
Jörn
--
The real voyage of discovery consists not in seeking new landscapes,
but in having new eyes.
-- Marcel Proust