kernel: fix possible mtd NULL pointer dereference

Fixes: 1a9ee36734 ("kernel: backport mtd dynamic partition patch")
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
This commit is contained in:
Rafał Miłecki
2022-10-04 12:04:37 +02:00
parent 45109f69a6
commit a5265497a4
7 changed files with 65 additions and 4 deletions

View File

@@ -248,3 +248,4 @@ Submitted-by: Daniel Golle <daniel@makrotopia.org>
+ FIT_PARTITION = 0x2e, /* U-Boot uImage.FIT */
SOLARIS_X86_PARTITION = 0x82, /* also Linux swap partitions */
NEW_SOLARIS_X86_PARTITION = 0xbf,