Re: [PATCH 08/10] dmaengine: mcf-edma: fix wrong BIT() usage on u64
From: Frank Li
Date: Wed Dec 02 2026 - 11:46:57 EST
On Tue, Dec 01, 2026 at 11:40:19PM +0100, Angelo Dureghello wrote:
> [You don't often get email from angelo@xxxxxxxxxxxxxxxx. Learn why this is important at https://aka.ms/LearnAboutSenderIdentification ]
>
> Fix wrong BIT() macro usage on u64.
>
> Reported-by: Sashiko AI Review <sashiko-bot@xxxxxxxxxx>
> Link: https://sashiko.dev/#/patchset/20260907134037.1855408-4-gerg@xxxxxxxxxxxxxx?part=1
> Fixes: e7a3ff92eaf1 ("dmaengine: fsl-edma: add ColdFire mcf5441x edma support")
> Signed-off-by: Angelo Dureghello <angelo@xxxxxxxxxxxxxxxx>
> ---
Reviewed-by: Frank Li <Frank.Li@xxxxxxx>
> drivers/dma/mcf-edma-main.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/dma/mcf-edma-main.c b/drivers/dma/mcf-edma-main.c
> index 4e46110a2a98..281919f59612 100644
> --- a/drivers/dma/mcf-edma-main.c
> +++ b/drivers/dma/mcf-edma-main.c
> @@ -29,7 +29,7 @@ static irqreturn_t mcf_edma_tx_handler(int irq, void *dev_id)
> return IRQ_NONE;
>
> for (ch = 0; ch < mcf_edma->n_chans; ch++) {
> - if (intmap & BIT(ch)) {
> + if (intmap & BIT_U64(ch)) {
> iowrite8(EDMA_MASK_CH(ch), regs->cint);
> fsl_edma_tx_chan_handler(&mcf_edma->chans[ch]);
> }
>
> --
> 2.56.1
>