The branch main has been updated by jhb:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=8bf0d2d3e39a728440f6a41cb9f5855f32c6e21b

commit 8bf0d2d3e39a728440f6a41cb9f5855f32c6e21b
Author:     John Baldwin <[email protected]>
AuthorDate: 2022-04-13 23:08:23 +0000
Commit:     John Baldwin <[email protected]>
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;

Reply via email to