linux/drivers/mtd/parsers
Mikhail Zhilkin 105c14b84d mtd: parsers: scpart: fix __udivdi3 undefined on mips
This fixes the following compile error on mips architecture with clang
version 16.0.0 reported by the 0-DAY CI Kernel Test Service:
   ld.lld: error: undefined symbol: __udivdi3
   referenced by scpart.c
   mtd/parsers/scpart.o:(scpart_parse) in archive drivers/built-in.a

As a workaround this makes 'offs' a 32-bit type. This is enough, because
the mtd containing partition table practically does not exceed 1 MB. We
can revert this when the [Link] has been resolved.

Link: https://github.com/ClangBuiltLinux/linux/issues/1635
Fixes: 9b78ef0c79 ("mtd: parsers: add support for Sercomm partitions")
Reported-by: kernel test robot <lkp@intel.com>
Suggested-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Mikhail Zhilkin <csharper2005@gmail.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/805fe58e-690f-6a3f-5ebf-2f6f6e6e4599@gmail.com
2023-01-02 12:08:51 +01:00
..
afs.c mtd: parsers: afs: Fix freeing the part name memory in failure 2021-02-01 18:58:38 +01:00
ar7part.c mtd: parsers: Move TI AR7 parser 2019-09-15 23:50:48 +02:00
bcm47xxpart.c mtd: parsers: bcm47xxpart: Fix halfblock reads 2022-10-18 11:20:12 +02:00
bcm63xxpart.c mtd: parsers: bcm63xx: simplify CFE detection 2020-06-26 08:35:10 +02:00
brcm_u-boot.c mtd: parsers: add Broadcom's U-Boot parser 2022-09-19 18:13:08 +02:00
cmdlinepart.c mtd: move from strlcpy with unused retval to strscpy 2022-09-19 18:14:53 +02:00
Kconfig mtd: parsers: refer to ARCH_BCMBCA instead of ARCH_BCM4908 2022-11-17 22:02:44 +01:00
Makefile mtd: parsers: add TP-Link SafeLoader partitions table parser 2022-11-07 17:08:00 +01:00
ofpart_bcm4908.c mtd: parsers: ofpart: Fix refcount leak in bcm4908_partitions_fw_offset 2022-06-09 15:03:32 +02:00
ofpart_bcm4908.h mtd: parsers: ofpart: support BCM4908 fixed partitions 2021-03-11 09:37:49 +01:00
ofpart_core.c mtd: parsers: ofpart: fix parsing subpartitions 2021-05-10 18:34:30 +02:00
ofpart_linksys_ns.c mtd: parsers: ofpart: support Linksys Northstar partitions 2021-03-28 19:27:02 +02:00
ofpart_linksys_ns.h mtd: parsers: ofpart: support Linksys Northstar partitions 2021-03-28 19:27:02 +02:00
parser_imagetag.c mtd: parser: imagetag: fix error codes in bcm963xx_parse_imagetag_partitions() 2021-01-28 22:24:54 +01:00
parser_trx.c mtd: parsers: trx: Allow to specify brcm, trx-magic in DT 2021-05-10 12:11:50 +02:00
qcomsmempart.c mtd: parsers: qcom: Fix missing free for pparts in cleanup 2022-01-25 10:32:07 +01:00
redboot.c mtd: partitions: Fix refcount leak in parse_redboot_of 2022-06-09 15:03:32 +02:00
scpart.c mtd: parsers: scpart: fix __udivdi3 undefined on mips 2023-01-02 12:08:51 +01:00
sharpslpart.c mtd: sharpslpart: Fix unsigned comparison to zero 2020-01-21 20:00:34 +01:00
tplink_safeloader.c mtd: parsers: Fix potential memory leak in mtd_parser_tplink_safeloader_parse() 2023-01-02 12:08:50 +01:00