From 485e0b2b797fbb1998d43bbf1bba4067f98b4163 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Thu, 8 Jan 2026 16:51:35 -0600 Subject: [PATCH] bsps/powerpc/include/bsp/VMEDMA.h: Fix function cast warnings. This changes the signature of the VMEBus DMA IRQ Callback type (BSP_VMEDmaIRQCallback) to match that expected by BSP_installVME_isr() when the callback is installed. --- bsps/powerpc/include/bsp/VMEDMA.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bsps/powerpc/include/bsp/VMEDMA.h b/bsps/powerpc/include/bsp/VMEDMA.h index 636f6d365c..e9562ee667 100644 --- a/bsps/powerpc/include/bsp/VMEDMA.h +++ b/bsps/powerpc/include/bsp/VMEDMA.h @@ -200,7 +200,7 @@ BSP_VMEDmaStatus(int channel); * RETURNS: 0 on success, nonzero on failure (IRQ in use, unsupported * channel). */ -typedef void (*BSP_VMEDmaIRQCallback)(void *usr_arg); +typedef void (*BSP_VMEDmaIRQCallback)(void *usr_arg, uint32_t vector); int BSP_VMEDmaInstallISR(int channel, BSP_VMEDmaIRQCallback cb, void *usr_arg);