From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-il1-f169.google.com (mail-il1-f169.google.com [209.85.166.169]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B157B184 for ; Thu, 11 Sep 2025 00:24:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.166.169 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1757550249; cv=none; b=BDpM8aYOENxXghIzI/z2b8XJP1ubosdw1kuQXcV75VBEG/uWY2Y+AicVn1/pDdX1N6vazI2aCixnCP7qYIPD4Avuf4yHez6vmn370l7wpkM+Mkm8NeoJ3BkqSPwDkz4jAQgFltI66Ob3nxxhviLo8e59JH2FRBMjHxxIupT9SaM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1757550249; c=relaxed/simple; bh=qUdeIgHd1H/gRzOkRxjDb083t96xp1CDvpLuyVz7iCE=; h=From:To:Cc:In-Reply-To:References:Subject:Message-Id:Date: MIME-Version:Content-Type; b=K9bcgfo723o2+lYWY+7xzgRNOWW+BQD82XrNsfqJxQyJ0uBjjjJVMBLo3jUEI39qttGdFCHdf9Lp3ALURpeebY3Ek9MF6yeqVLqh9f4Q680+LMBAFn/wtl+Gm+WypZVOE8vAXTQVNUoy54PjzfBq3mndK90p+vPJ3hVAmQoiyPI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=kernel.dk; spf=pass smtp.mailfrom=kernel.dk; dkim=pass (2048-bit key) header.d=kernel-dk.20230601.gappssmtp.com header.i=@kernel-dk.20230601.gappssmtp.com header.b=HG3VRjGj; arc=none smtp.client-ip=209.85.166.169 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=kernel.dk Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=kernel.dk Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel-dk.20230601.gappssmtp.com header.i=@kernel-dk.20230601.gappssmtp.com header.b="HG3VRjGj" Received: by mail-il1-f169.google.com with SMTP id e9e14a558f8ab-41310b1ebc5so8009705ab.1 for ; Wed, 10 Sep 2025 17:24:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel-dk.20230601.gappssmtp.com; s=20230601; t=1757550246; x=1758155046; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:date:message-id:subject :references:in-reply-to:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=qqQF9ujtoYtNLZ3rwwE148hM4Ro9xnZ4FQwRMaFPQTI=; b=HG3VRjGjfTQ1pdJ8AC+iaDKdAHagZ5L++24d4JJlSePTBnTS/JlIwws0we3wKmiZJS 0MTqgk1yc1DYpb9XShumTDBoQNKGzA62AjZn9NrK1QVWcTelsu4D2rbYv59YhJ1SKt9j +R7s7n7595uszBq0LyJG6BicKc8Wv46rGMijMUEDeEtLsxdPfDNQU57MJC/LvCXTBKIg TDcqxBIDjcxPj8zdTA9pKKYah301iX29qXo7z694af2yTtnNMTibjAFShoUXKvRkfySK 3fc6MRbtB/hWBuk5sEXaVNz3XjaHxX1XktuJuhzaCJTWxjCHz0X9KTN95pckpLnNaFeB UHZQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1757550246; x=1758155046; h=content-transfer-encoding:mime-version:date:message-id:subject :references:in-reply-to:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=qqQF9ujtoYtNLZ3rwwE148hM4Ro9xnZ4FQwRMaFPQTI=; b=hquwkO4ypsjxESLW5YrwxexBCnwigf7HSnFhDq1S79BQgi7lVEl4Pp+xPS08rhJEAD ia94FrDXraYVUU1Kz3e46OdWDdl9KT9qEXFaGKT/McJVnuoZuiHPq+esf9JGj6RqXK3y 04tZlYU0H324IPtF4slv5D8LEJ/m8885GR4U2U+RvJkIEnhovUYIU3TlO4CKQ2OLDhZP wF50euehKeL3XCEwAr405/uj6HwvZiTRPdh32RHOlsl8+j1YLBXaAP/X+h+1RyY3VfAj YwpwV2eRKx9Gbgk6Ipr/u9fdvatI+wNdWO9UQtjao2MzIzcHNv+kYnK7OXYG5tAkSFHg 2d8w== X-Forwarded-Encrypted: i=1; AJvYcCUYTGv98WbKunVOg0hcntzvFC8FOW0eBK4zc5MTFniRILWg6TdQ1LEY3Xh1wmOWPT8WVVmjEi20LVyIFA==@vger.kernel.org X-Gm-Message-State: AOJu0YxePPuiQKztb/TaJA74ScsDCQ4SObHO4LQyOgC8C9tEagxtVCg2 QFM8TNcAwCIjt52NGdA031bxS/kaI6T1ebFYgMfXwIvCWiY8jxgxoTNZ+878synJwTY= X-Gm-Gg: ASbGncuGagx2t0ulC+1VNpMsWwgLLpV3q6UP6GYFCf6xMfJ7W6OzELShX9K8xv1vBHp IXqDwiw4p6Bnzrk2zDP7x4ofUE78897tsVrPCDwKEVaUUGbzhGe6c7mMTuqU99dXcguqLr42r8l snQItmxK9zkZnOBrx/jc1Lg1FBRWZnHR2AEzONUBFF0rqvUyG6j+vgzWJXFNTCUP7ACOzXCXV3m 9GX7hIQweGnaruZyOMLE4dXirn86wZAt0K31sLxEgxv17zJypqYQxwMa1eJz/nxVroplrW4K5Mq 0bo9s0iFcuM/N2wBvZ4zL6D1bl/CL/1KbCjEGDcH5J1O0IDoL0MJypdv4Wj74vzD6CXyEbHg X-Google-Smtp-Source: AGHT+IHOpts6PVtb95Al/bNQQ1qhB8ljPd6T6n47gEgj2bnO6EB5y7aCVxDcocz/y27CAZKkBJJjjA== X-Received: by 2002:a5d:9496:0:b0:887:56c3:e6d8 with SMTP id ca18e2360f4ac-88ec3362a7emr225090439f.8.1757550246549; Wed, 10 Sep 2025 17:24:06 -0700 (PDT) Received: from [127.0.0.1] ([99.196.129.100]) by smtp.gmail.com with ESMTPSA id ca18e2360f4ac-88f2f0f9a03sm5557039f.17.2025.09.10.17.24.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Sep 2025 17:24:06 -0700 (PDT) From: Jens Axboe To: Song Liu , Yu Kuai , Li Nan , Nathan Chancellor Cc: linux-raid@vger.kernel.org, linux-block@vger.kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20250910-llbitmap-fix-64-div-for-32-bit-v1-1-453a5c8e3e00@kernel.org> References: <20250910-llbitmap-fix-64-div-for-32-bit-v1-1-453a5c8e3e00@kernel.org> Subject: Re: [PATCH] md/md-llbitmap: Use DIV_ROUND_UP_SECTOR_T Message-Id: <175755023939.60476.3963353529532795428.b4-ty@kernel.dk> Date: Wed, 10 Sep 2025 18:23:59 -0600 Precedence: bulk X-Mailing-List: linux-block@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Mailer: b4 0.14.3-dev-2ce6c 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