Date: Wed, 13 Apr 2022 23:10:03 GMT From: John Baldwin <jhb@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: 8bf0d2d3e39a - main - arm64 rk_pcie: Use __diagused for a variable only used in KASSERT(). Message-ID: <202204132310.23DNA3Xp077184@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=8bf0d2d3e39a728440f6a41cb9f5855f32c6e21b commit 8bf0d2d3e39a728440f6a41cb9f5855f32c6e21b Author: John Baldwin <jhb@FreeBSD.org> AuthorDate: 2022-04-13 23:08:23 +0000 Commit: John Baldwin <jhb@FreeBSD.org> CommitDate: 2022-04-13 23:08:23 +0000 arm64 rk_pcie: Use __diagused for a variable only used in KASSERT(). --- sys/arm64/rockchip/rk_pcie.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/arm64/rockchip/rk_pcie.c b/sys/arm64/rockchip/rk_pcie.c index dabd7931e442..b9dc640efb8b 100644 --- a/sys/arm64/rockchip/rk_pcie.c +++ b/sys/arm64/rockchip/rk_pcie.c @@ -336,7 +336,7 @@ rk_pcie_map_out_atu(struct rk_pcie_softc *sc, int idx, int type, int num_bits, uint64_t pa) { uint32_t addr0; - uint64_t max_size; + uint64_t max_size __diagused; /* Check HW constrains */ max_size = idx == 0 ? ATU_OB_REGION_0_SIZE: ATU_OB_REGION_SIZE;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202204132310.23DNA3Xp077184>