lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <175755023939.60476.3963353529532795428.b4-ty@kernel.dk>
Date: Wed, 10 Sep 2025 18:23:59 -0600
From: Jens Axboe <axboe@...nel.dk>
To: Song Liu <song@...nel.org>, Yu Kuai <yukuai3@...wei.com>, 
 Li Nan <linan122@...wei.com>, Nathan Chancellor <nathan@...nel.org>
Cc: linux-raid@...r.kernel.org, linux-block@...r.kernel.org, 
 linux-kernel@...r.kernel.org
Subject: Re: [PATCH] md/md-llbitmap: Use DIV_ROUND_UP_SECTOR_T


On Wed, 10 Sep 2025 13:47:26 -0700, Nathan Chancellor wrote:
> When building for 32-bit platforms, there are several link (if builtin)
> or modpost (if a module) errors due to dividends of type 'sector_t' in
> DIV_ROUND_UP:
> 
>   arm-linux-gnueabi-ld: drivers/md/md-llbitmap.o: in function `llbitmap_resize':
>   drivers/md/md-llbitmap.c:1017:(.text+0xae8): undefined reference to `__aeabi_uldivmod'
>   arm-linux-gnueabi-ld: drivers/md/md-llbitmap.c:1020:(.text+0xb10): undefined reference to `__aeabi_uldivmod'
>   arm-linux-gnueabi-ld: drivers/md/md-llbitmap.o: in function `llbitmap_end_discard':
>   drivers/md/md-llbitmap.c:1114:(.text+0xf14): undefined reference to `__aeabi_uldivmod'
>   arm-linux-gnueabi-ld: drivers/md/md-llbitmap.o: in function `llbitmap_start_discard':
>   drivers/md/md-llbitmap.c:1097:(.text+0x1808): undefined reference to `__aeabi_uldivmod'
>   arm-linux-gnueabi-ld: drivers/md/md-llbitmap.o: in function `llbitmap_read_sb':
>   drivers/md/md-llbitmap.c:867:(.text+0x2080): undefined reference to `__aeabi_uldivmod'
>   arm-linux-gnueabi-ld: drivers/md/md-llbitmap.o:drivers/md/md-llbitmap.c:895: more undefined references to `__aeabi_uldivmod' follow
> 
> [...]

Applied, thanks!

[1/1] md/md-llbitmap: Use DIV_ROUND_UP_SECTOR_T
      commit: 7935b843ce2184164f41c3b5c64e9f52994306f4

Best regards,
-- 
Jens Axboe




Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ