[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAOMZO5ARsRj_M_sX4dNk1039e+NG8C65asx2PG-kVzibQWfBZQ@mail.gmail.com>
Date: Wed, 25 May 2022 21:55:20 -0300
From: Fabio Estevam <festevam@...il.com>
To: Nathan Chancellor <nathan@...nel.org>
Cc: kernel test robot <lkp@...el.com>, llvm@...ts.linux.dev,
kbuild-all@...ts.01.org,
linux-kernel <linux-kernel@...r.kernel.org>,
Vinod Koul <vkoul@...nel.org>
Subject: Re: drivers/dma/imx-dma.c:1048:20: warning: cast to smaller integer
type 'enum imx_dma_type' from 'const void *'
Hi Nathan,
On Wed, May 25, 2022 at 9:38 PM Nathan Chancellor <nathan@...nel.org> wrote:
> Either an intermediate cast to uintptr_t or unsigned long or replacing
> the enum cast with one of those should work. See commits:
>
> 2602dc10f9d9 ("memory: renesas-rpc-if: Silence clang warning")
> 10462b3558d4 ("can: mcp251x: mcp251x_can_probe(): silence clang warning")
> 83415669d8d8 ("can: hi311x: hi3110_can_probe(): silence clang warning")
> be5aeee30e45 ("scsi: fcoe: Suppress a compiler warning")
Thanks for sharing these commits.
I have submitted a patch.
Cheers
Powered by blists - more mailing lists