Re: [PATCH v2 3/3] mtd: maps: vmu-flash: Fix NULL pointer dereference in initialization
Miquel Raynal <[email protected]>
| Newsgroups | org.kernel.vger.linux-sh,org.infradead.lists.linux-mtd,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <[email protected]> |
On 27/04/2026 at 13:47:50 +02, Florian Fuchs <[email protected]> wrote: > The mtd_info contains a struct device, which must be linked to its > parent. Without this, the initialization of the MTD fails with a NULL > pointer dereference. > > Signed-off-by: Florian Fuchs <[email protected]> > --- For how long as this been broken? Is it really used? Anyway, also here you will need to Cc stable and add a fixes tag. Thanks, Miquèl