From nobody Sat Apr 22 10:44:53 2023 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Q3ShR1LGyz46YQY; Sat, 22 Apr 2023 10:44:55 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Q3ShQ2gnhz3tVR; Sat, 22 Apr 2023 10:44:54 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1682160294; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=o4IbztKUbSP6raRA6dRR2HzPmBSSHRwK0RSuDWPESJI=; b=L08y07rJ5mpWtM/q3MR9kDoxmanneQAqmKJeG91WR2V0+WwaBrx374QkPlrp93P/acc8uZ 5T3/htwuEG4x09wbjBY9NuzKxm6kRwwy6N8U4/DR7RFs1T02mY0eV5lyJ8qIPxrhUttHGY kJm21eKmu3WWXoi4onehDU54nXRFS0HrmkReX/PN3OLO0hZ9OuAJygO6YX94IjER6oeUrF UxRe7FuHch6rYjf/IryguZyzYOYYnwPdzGqvEXnkgTjKE9M6xk7wKDjddUEU708zY2LsZb LVh6BrM+rYKSNrxcaTO2lZUu/2sMChPK9/lnSvvUwIUwKf0Rl6cxl6FnFPz2kw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1682160294; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=o4IbztKUbSP6raRA6dRR2HzPmBSSHRwK0RSuDWPESJI=; b=BumlDmXWU5R00Y/fHdjuq6gvCvMsaqwTEfIdi6OPIl7dThsTSNZMiEoom+kb5/8c/HOvbW wZYKJ5VvqhlZ/jYkTxqkq9tQE/i1trqSD0PrQ8GgnTrHRQTL/w/Yge8O+M6HaQ8k81c8Yx xohcrfduUgArfNb7/0BB9F43tF8xpNGpwwnuhrTqJ+fK0qwiedjLYssL5y7p8RP5wuJvLR wNfXW9VQuRWaLUJzidNMr1VeQrEbcxY/8ocks1krQnh3Hg8VUI/Nfm4X0rfZCaAQpSI1UC tWv0KBHMQL3Tby2+lb0EYkfTqTw0Y3hY4kJDQSkA60EHDRBfHhy2PN67rd57Iw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1682160294; a=rsa-sha256; cv=none; b=rKuCV0g4CphgDmewNZWDFcV0zAWvKJFekz1unmpXQlt0cBW8jk9A8/bZ7bqFRMATWPioob tW1rGnLq2YWElIwmGw+VAS1pzYod50ePfx/oI5kTeVEaq5jORhYa9jNydtMUPcjHJgMfGI bj5Ec4mfUMlVdIF35wrICobAlz4H89Tyn4hFjMw9tRuomAMXyyvxX3CDJryWvGObs+QKN4 vkw1B+L3C/uBBPvs4gppzs+XwR94NXz/EzpluQYL0FJ+vHTunqBtxGTsLipXaIMiKZVXH7 q4C6db4CNSFJ3EBzLS7TiG+xxXE6ePJgw6M90eBCOKq00f67sXOAAZlZ8k3zIQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Q3ShQ0h9Yzy4V; Sat, 22 Apr 2023 10:44:54 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 33MAirIS044799; Sat, 22 Apr 2023 10:44:53 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 33MAirTg044798; Sat, 22 Apr 2023 10:44:53 GMT (envelope-from git) Date: Sat, 22 Apr 2023 10:44:53 GMT Message-Id: <202304221044.33MAirTg044798@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Vladimir Kondratyev Subject: git: 06c844e175ed - main - LinuxKPI: Fix building on 32bit archs List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: wulf X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 06c844e175ed5dbad96a1a84b3fdb74c03626900 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by wulf: URL: https://cgit.FreeBSD.org/src/commit/?id=06c844e175ed5dbad96a1a84b3fdb74c03626900 commit 06c844e175ed5dbad96a1a84b3fdb74c03626900 Author: Vladimir Kondratyev AuthorDate: 2023-04-22 10:24:40 +0000 Commit: Vladimir Kondratyev CommitDate: 2023-04-22 10:25:49 +0000 LinuxKPI: Fix building on 32bit archs Reported by: Jenkins Fixes: e5cf9deb61fd ("LinuxKPI: Add bitmap_to_arr32() to ") --- sys/compat/linuxkpi/common/include/linux/bitmap.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/compat/linuxkpi/common/include/linux/bitmap.h b/sys/compat/linuxkpi/common/include/linux/bitmap.h index 4e156377cdaf..98e13dbb55d3 100644 --- a/sys/compat/linuxkpi/common/include/linux/bitmap.h +++ b/sys/compat/linuxkpi/common/include/linux/bitmap.h @@ -302,7 +302,7 @@ bitmap_to_arr32(uint32_t *dst, const unsigned long *src, unsigned int size) src++; } #else - bitmap_copy(dst, src, size); + bitmap_copy((unsigned long *)dst, src, size); #endif if ((size % 32) != 0) /* Linux uses BITS_PER_LONG. Seems to be a bug */ dst[end - 1] &= (uint32_t)(UINT_MAX >> (32 - (size % 32)));