Re: [PATCH -next] mtd: ftl: use container_of() rather than cast

From: Miquel Raynal
Date: Mon Sep 19 2022 - 12:16:07 EST


On Tue, 2022-08-16 at 13:59:10 UTC, Gaosheng Cui wrote:
> The container_of() is much more readable and also safer.
>
> Signed-off-by: Gaosheng Cui <cuigaosheng1@xxxxxxxxxx>

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

Miquel