diff options
author | Sean Young <sean@mess.org> | 2021-08-07 23:45:38 +0200 |
---|---|---|
committer | Miquel Raynal <miquel.raynal@bootlin.com> | 2021-08-17 18:42:58 +0200 |
commit | fa451399d65a06747379ab1e246faf0b28e1c05f (patch) | |
tree | 8568584dbc3dc53fe52e9442a3a89880e1cf9523 /kernel/kexec_file.c | |
parent | mtd: rfd_ftl: fix use-after-free (diff) | |
download | linux-fa451399d65a06747379ab1e246faf0b28e1c05f.tar.xz linux-fa451399d65a06747379ab1e246faf0b28e1c05f.zip |
mtd: rfd_ftl: use container_of() rather than cast
The container_of() is much more readable and also safer.
Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20210807214538.14484-6-sean@mess.org
Diffstat (limited to 'kernel/kexec_file.c')
0 files changed, 0 insertions, 0 deletions