[PATCH v2 5/5] mtd: rfd_ftl: use container_of() rather than cast

Miquel Raynal miquel.raynal at bootlin.com
Mon Aug 16 07:26:50 PDT 2021


On Sat, 2021-08-07 at 21:45:38 UTC, Sean Young wrote:
> The container_of() is much more readable and also safer.
> 
> Signed-off-by: Sean Young <sean at mess.org>

Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git mtd/next, thanks.

Miquel



More information about the linux-mtd mailing list