commit | ffd18c97fcb6bf37bb749cfc53c5e698017cbc95 | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Mon Aug 23 09:33:54 2021 +0200 |
committer | Miquel Raynal <miquel.raynal@bootlin.com> | Mon Aug 23 10:01:04 2021 +0200 |
tree | d5001007564dcb61c36ca976dbacc3e917708cf9 | |
parent | f214eebf8de4d2e412a35ff140687d88f056143a [diff] |
mtd/ftl: don't cast away the type when calling add_mtd_blktrans_dev Pass the actual mtd_blktrans_dev instead of casting the containing structure to void *. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> Link: https://lore.kernel.org/linux-mtd/20210823073359.705281-4-hch@lst.de