diff options
| author | Florian Fuchs <fuchsfl@gmail.com> | 2026-05-18 13:45:20 +0200 |
|---|---|---|
| committer | Miquel Raynal <miquel.raynal@bootlin.com> | 2026-05-27 11:07:59 +0200 |
| commit | 79d1661502c6e4b6f626185cef72cf2fa78116e1 (patch) | |
| tree | 0df176e107fb8dca7bdff384129db30bf6d87f9f /include/linux/timerqueue.h | |
| parent | f4aeb151b8b025202a3cc55fabc45234700ed470 (diff) | |
mtd: maps: vmu-flash: fix fault in unaligned fixup
Use kzalloc_obj() / kzalloc_objs() to allocate the memcard structs,
instead of kmalloc_obj() / kmalloc_objs() to prevent access to
uninitialized data.
Fixes runtime error: Fault in unaligned fixup: 0000 [#1] at
mtd_get_fact_prot_info.
Fixes: 47a72688fae7 ("mtd: flash mapping support for Dreamcast VMU.")
Cc: stable@vger.kernel.org
Signed-off-by: Florian Fuchs <fuchsfl@gmail.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions
