[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20230102111737.85778-1-miquel.raynal@bootlin.com>
Date: Mon, 2 Jan 2023 12:17:37 +0100
From: Miquel Raynal <miquel.raynal@...tlin.com>
To: Mikhail Zhilkin <csharper2005@...il.com>,
Miquel Raynal <miquel.raynal@...tlin.com>,
Richard Weinberger <richard@....at>,
Vignesh Raghavendra <vigneshr@...com>
Cc: Nathan Chancellor <nathan@...nel.org>,
Arnd Bergmann <arnd@...db.de>,
Nick Desaulniers <ndesaulniers@...gle.com>,
Tom Rix <trix@...hat.com>,
Yang Yingliang <yangyingliang@...wei.com>,
NOGUCHI Hiroshi <drvlabo@...il.com>,
linux-mtd@...ts.infradead.org, linux-kernel@...r.kernel.org,
llvm@...ts.linux.dev
Subject: Re: [PATCH v2] mtd: parsers: scpart: fix __udivdi3 undefined on mips
On Thu, 2022-12-08 at 20:28:29 UTC, Mikhail Zhilkin wrote:
> 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: 9b78ef0c7997 ("mtd: parsers: add support for Sercomm partitions")
> Reported-by: kernel test robot <lkp@...el.com>
> Suggested-by: Arnd Bergmann <arnd@...db.de>
> Signed-off-by: Mikhail Zhilkin <csharper2005@...il.com>
Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git mtd/fixes, thanks.
Miquel
Powered by blists - more mailing lists