lkml.org 
[lkml]   [2023]   [Oct]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH 1/2] dmaengine: qcom: fix Wvoid-pointer-to-enum-cast warning
Date

On Thu, 10 Aug 2023 11:59:59 +0200, Krzysztof Kozlowski wrote:
> 'cap' is an enum, thus cast of pointer on 64-bit compile test with W=1
> causes:
>
> hidma.c:748:8: error: cast to smaller integer type 'enum hidma_cap' from 'const void *' [-Werror,-Wvoid-pointer-to-enum-cast]
>
>

Applied, thanks!

[1/2] dmaengine: qcom: fix Wvoid-pointer-to-enum-cast warning
commit: 9a2136b60cc1a5ba9c5878f08a41f41271c4cd17
[2/2] dmaengine: mmp: fix Wvoid-pointer-to-enum-cast warning
commit: 094f9ee5fb547c31486801a017a07d7f1c1e7881

Best regards,
--
~Vinod


\
 
 \ /
  Last update: 2023-10-04 16:30    [W:0.053 / U:0.284 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site