[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <Ybs7WrAQTat5Gsjg@larwa.hq.kempniu.pl>
Date: Thu, 16 Dec 2021 14:12:58 +0100
From: Michał Kępień <kernel@...pniu.pl>
To: Boris Brezillon <boris.brezillon@...labora.com>
Cc: Miquel Raynal <miquel.raynal@...tlin.com>,
Richard Weinberger <richard@....at>,
Vignesh Raghavendra <vigneshr@...com>,
linux-mtd@...ts.infradead.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2 0/5] mtdchar: add MEMREAD ioctl
> Splitting patch 1 and 5 means you have an incompatible ABI change
> between those 2 commits, thus breaking bisectability. I'd recommend
> putting patches 2-4 first and squashing patch 1 and 5 in a single
> commit placed at the end of the series. The other options would be to
> add a way to extend ioctls in a backward compatible way (the DRM
> subsystem does that by filling the unspecified part of the struct with
> zeros, and relying on the fact that 0 values always implies 'default
> behavior' when the struct is extended [1]).
Ack, thanks. I will follow your recommendation in v3 and in the
meantime the existing split should make it easier to follow how v2
extends v1 with ECC statistics handling.
--
Best regards,
Michał Kępień
Powered by blists - more mailing lists