[PATCH v5 13/28] mtd: spi-nor: swp: Create a TB intermediate variable

Miquel Raynal miquel.raynal at bootlin.com
Fri May 22 09:06:06 PDT 2026


On 22/05/2026 at 12:39:48 +03, Tudor Ambarus <tudor.ambarus at linaro.org> wrote:

> On 5/7/26 7:46 PM, Miquel Raynal wrote:
>> Ease the future reuse of the tb (Top/Bottom) boolean by creating an
>> intermediate variable.
>
> Please squash this in the patch that needs it.

The problem with CMP addition is that it touches all functions all over
the place. I want people to be able to focus on the CMP addition, not
all the side changes which have nothing to do with the CMP addition by
itself. Most of the preparation patches are just steps in that
direction, they could also be squashed, but overall they make the final
diff much simpler. I believe every small change making that last step a
little bit easier to read goes into the right direction?



More information about the linux-mtd mailing list