Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Jan 2026 11:31:30 +0000
From:      Olivier Certner <olce@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: a9f7074e858f - main - ahc(4): Fix a warning on i386 compilation
Message-ID:  <6979f392.42d2f.51107974@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by olce:

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

commit a9f7074e858fd7c8e07c164fc365afc0d0077735
Author:     Olivier Certner <olce@FreeBSD.org>
AuthorDate: 2026-01-28 09:31:21 +0000
Commit:     Olivier Certner <olce@FreeBSD.org>
CommitDate: 2026-01-28 11:26:33 +0000

    ahc(4): Fix a warning on i386 compilation
    
    Fixes:          cd036e891a35 ("ahc_pci.c: If bus_dma...")
    MFC after:      3 days
    Sponsored by:   The FreeBSD Foundation
---
 sys/dev/aic7xxx/ahc_pci.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/dev/aic7xxx/ahc_pci.c b/sys/dev/aic7xxx/ahc_pci.c
index 8109a6714814..7f8fbe140237 100644
--- a/sys/dev/aic7xxx/ahc_pci.c
+++ b/sys/dev/aic7xxx/ahc_pci.c
@@ -105,7 +105,7 @@ ahc_pci_attach(device_t dev)
 	error = aic_dma_tag_create(ahc, /*parent*/bus_get_dma_tag(dev),
 				   /*alignment*/1, /*boundary*/0,
 				   (ahc->flags & AHC_39BIT_ADDRESSING)
-				   ? 0x7FFFFFFFFFLL
+				   ? (bus_addr_t)0x7FFFFFFFFFLL
 				   : BUS_SPACE_MAXADDR_32BIT,
 				   /*highaddr*/BUS_SPACE_MAXADDR,
 				   /*filter*/NULL, /*filterarg*/NULL,


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6979f392.42d2f.51107974>